/* Ranger. Lookout's sibling: warm paper and plain sentences, with forest green for anything that
   does something, wooden trail-sign labels, and cards that sit on a solid shadow like raised signs. */

:root {
  --bg: #F4EFE3;
  --card: #FFFDF7;
  --text: #1F2A22;
  --sub: #4B4F44;
  --muted: #65665A;
  --ink: #1F2A22;
  --rule: #DED6C3;
  --hat: #2D5A3D;
  --bark: #6B4426;
  --bark-edge: #84552F;
  --rivet: #C9A57A;
  --cream: #F4EFE3;
  --forest: #2D5A3D;
  --forest-deep: #1E3F2A;
  --forest-fill: #4C8A61;
  --on-forest: #FFFFFF;
  --forest-text: #2D5A3D;
  --flare: #C4461C;
  --on-flare: #FFFFFF;
  --flare-tint: #FBE3D6;
  --flare-text: #3A1A0C;
  --flare-deep: #6E230A;
  --moss-tint: #E1EBDC;
  --moss-text: #1E3F2A;
  --sand: #ECE6D7;
  --link: #1F5FAD;
  --dash: #A9A291;
  --trail: #B9B19D;
  --lamp: #FFD43B;
  --scrim: rgba(20, 28, 22, .55);
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Bricolage Grotesque", Figtree, system-ui, sans-serif;
  color-scheme: light;
}

/* Campfire mode */
:root[data-theme="dark"] {
  --bg: #131A15;
  --card: #1B231D;
  --text: #EFEADF;
  --sub: #C9C4B5;
  --muted: #A09E90;
  --ink: #D9D2C1;
  --rule: #2C352E;
  --hat: #7DB08C;
  --bark: #7A5232;
  --bark-edge: #946540;
  --forest: #3F7B54;
  --forest-deep: #0C130E;
  --forest-fill: #5C9B71;
  --forest-text: #9FD0AE;
  --flare: #F07A4E;
  --on-flare: #131A15;
  --flare-tint: #3A2218;
  --flare-text: #F5C9B5;
  --flare-deep: #F5A98A;
  --moss-tint: #24382B;
  --moss-text: #BFE0C8;
  --sand: #232B25;
  --link: #9CC7F0;
  --dash: #4A5249;
  --trail: #4A5249;
  --scrim: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--link); }
code, .mono { font-family: var(--mono); font-size: .92em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grow { flex: 1 1 auto; }
.muted { color: var(--muted); }
.strong { font-weight: 800; }

/* ---- hat ---- */
.hat .hat-fill { fill: var(--hat); }
.hat .hat-pinch { stroke: var(--bg); }
.hat .hat-band { stroke: var(--bark); }

/* ---- header & tabs ---- */
.top { padding: 14px 16px 4px; }
.top-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 23px; letter-spacing: -0.02em; }
.topnav { display: none; gap: 6px; margin-left: 18px; }
.topnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--text); font-weight: 700; text-decoration: none; }
.topnav a[aria-current="page"] { background: var(--forest); color: var(--on-forest); font-weight: 800; }
.lookout-link { display: none; font-weight: 700; font-size: 15px; margin-right: 6px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.when-light, .when-dark { display: inline-flex; }
:root[data-theme="dark"] .when-light, :root:not([data-theme="dark"]) .when-dark { display: none; }
.me { position: relative; }
.me summary { list-style: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bark); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; cursor: pointer; }
.me summary::-webkit-details-marker { display: none; }
.me-menu { position: absolute; right: 0; top: 52px; z-index: 30; min-width: 220px; padding: 14px 16px; background: var(--card); border: 2px solid var(--ink); border-radius: 14px; box-shadow: 0 5px 0 var(--ink); }
.me-menu p { margin: 0 0 10px; font-size: 15px; }
.me-menu form { margin: 0; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 2px solid var(--ink); background: var(--card);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; color: var(--sub); font-weight: 700; font-size: 13px; text-decoration: none; }
.tabbar a[aria-current="page"] { background: var(--forest); color: var(--on-forest); font-weight: 800; }
body.with-tabs { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }

/* ---- page ---- */
.page { width: 100%; max-width: 640px; margin: 0 auto; padding: 18px 20px 32px; display: flex; flex-direction: column; gap: 18px; flex: 1 0 auto; }
.page.wide { max-width: 1080px; }
.intro { display: flex; flex-direction: column; gap: 6px; }
.greet { margin: 0; color: var(--muted); font-weight: 600; }
.h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 9vw, 54px); line-height: 1.02; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.h1-tight { margin-top: -4px; }
.h1-big { font-size: clamp(38px, 10vw, 48px); }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.sub { margin: 0; color: var(--sub); }
.small { font-size: 14px; color: var(--muted); }
.lede { margin: 0; color: var(--sub); font-size: 17px; }
.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.notice { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--sand); color: var(--sub); font-size: 15px; }
.code { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--sand); font-family: var(--mono); font-size: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
.text-link { color: var(--link); font-weight: 700; }
.block-link { display: inline-flex; align-items: center; min-height: 44px; }
.back { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; min-height: 44px; color: var(--link); font-weight: 700; text-decoration: none; }
.title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.meta { margin: -10px 0 0; color: var(--muted); font-size: 15px; }
.meta strong, .meta code { color: var(--text); }
.links { display: flex; flex-direction: column; gap: 2px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---- trail-sign plate ---- */
.plate {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  background: var(--bark); color: var(--cream); padding: 6px 12px; border-radius: 6px;
  font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px var(--bark-edge);
}
.plate .rivet { width: 5px; height: 5px; border-radius: 50%; background: var(--rivet); }
.plate-forest { background: var(--forest); box-shadow: none; color: #fff; }
.plate-flare { background: var(--flare); box-shadow: none; color: var(--on-flare); }

/* ---- badges & chips ---- */
.badge { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.badge-crash, .badge-down { background: var(--flare); color: var(--on-flare); }
.badge-short { background: var(--bark); color: var(--cream); }
.badge-start, .badge-flaky, .badge-paused, .badge-asleep { background: var(--sand); color: var(--text); }
.badge-fine { background: var(--moss-tint); color: var(--moss-text); }
.chip { flex: none; width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; }
.chip-crash, .chip-down { background: var(--flare); color: var(--on-flare); }
.chip-short { background: var(--bark); color: var(--cream); }
.chip-fine { background: var(--moss-tint); color: var(--forest-text); }
.chip-paused, .chip-start, .chip-flaky, .chip-asleep { background: var(--rule); color: var(--text); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; border: 0;
}
.btn-go { background: var(--forest); color: var(--on-forest); box-shadow: 0 4px 0 var(--forest-deep); }
.btn-go:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--forest-deep); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--ink); font-weight: 700; }
.btn-small { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn-big { width: 100%; min-height: 58px; font-size: 18px; }

/* ---- cards (raised signs) ---- */
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 18px; box-shadow: 0 5px 0 var(--ink); }
.card + .card { margin-top: 2px; }
.card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.card-title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.card-head .badge { margin-left: auto; }
.card-says { margin: 0 0 14px; }
.tries { display: flex; flex-direction: column; gap: 10px; }
.tries .text-link { align-self: center; padding: 6px 0; }

.split { display: flex; flex-direction: column; gap: 18px; }
.split-main, .split-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lately { display: flex; gap: 12px; align-items: flex-start; color: var(--text); text-decoration: none; }
.lately-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--moss-tint); color: var(--forest-text); display: inline-flex; align-items: center; justify-content: center; }
.offlimits { margin: 4px 0 0; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.offlimits svg { flex: none; margin-top: 1px; }
.all-quiet { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--moss-tint); color: var(--moss-text); }
.all-quiet p { margin: 0; font-weight: 600; }
.all-quiet .hill-back { fill: var(--forest-fill); } .all-quiet .hill-front { fill: var(--forest); } .all-quiet .sun { fill: var(--lamp); }
.on-trail { display: none; flex-direction: column; gap: 14px; margin-top: 10px; }
.grid-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mini { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; background: var(--card); border: 2px solid var(--rule); border-radius: 14px; color: var(--text); text-decoration: none; }
.mini:hover { border-color: var(--ink); }
.mini-name { display: block; font-weight: 800; }
.mini-line, .list-line { display: block; font-size: 14px; color: var(--sub); }

/* ---- lists ---- */
.search { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--card); color: var(--sub); }
.search input { border: 0; outline: none; background: transparent; font: inherit; font-size: 17px; color: var(--text); width: 100%; min-height: 46px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--ink); color: var(--text); font-size: 15px; font-weight: 700; text-decoration: none; }
.pill-on { background: var(--ink); color: var(--bg); }
.group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.group-name { margin: 4px 0 2px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; }
.list > li + li { border-top: 1px solid var(--rule); }
.list-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; color: var(--text); text-decoration: none; }
.list-row > svg { flex: none; color: var(--muted); }
.list-text { flex: 1 1 auto; min-width: 0; }
.list-name { display: block; font-weight: 800; overflow-wrap: anywhere; }
.pod-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.pod-name { display: block; font-size: 14px; }
.dashed { padding: 14px 16px; border: 2px dashed var(--dash); border-radius: 16px; color: var(--sub); }
.dashed p { margin: 0; font-size: 15px; }
.dashed .dashed-title { display: flex; gap: 8px; align-items: center; font-weight: 800; color: var(--text); font-size: 16px; margin-bottom: 4px; }

/* ---- one app ---- */
.says { margin: 0; }
.says-bad { padding: 14px 16px; border-radius: 14px; background: var(--flare-tint); color: var(--flare-text); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 16px; min-height: 132px; background: var(--card); color: var(--text);
  border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink);
  font: inherit; text-decoration: none; cursor: pointer;
}
.tile:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }
.tile-muted { opacity: .55; cursor: default; box-shadow: none; }
.tile-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.tile-icon-quiet { background: var(--rule); color: var(--text); }
.tile-label { font-family: var(--display); font-weight: 800; font-size: 20px; }
.tile-sub { font-size: 14px; color: var(--sub); }
.tile.busy { opacity: .6; cursor: progress; }

/* ---- sheets ---- */
.behind { filter: saturate(.8); }
.scrim { position: fixed; inset: 0; z-index: 40; background: var(--scrim); }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); border-top: 2px solid var(--ink); border-radius: 26px 26px 0 0;
  padding: 12px 22px calc(26px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 14px;
}
.sheet-handle { align-self: center; width: 44px; height: 5px; border-radius: 3px; background: var(--rule); }
.sheet-body { margin: 0; }
.worth { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); color: var(--sub); font-size: 15px; }
.worth svg { flex: none; margin-top: 1px; color: var(--bark); }
.worth p { margin: 0; }
.worth strong { color: var(--text); }
.worth-warn { background: var(--flare-tint); color: var(--flare-text); }
.worth-warn strong { color: var(--flare-text); }
.kubectl { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.never { align-self: center; display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; }
.hold-hint { margin: -6px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

.hold-wrap { display: flex; flex-direction: column; gap: 8px; }
.hold {
  position: relative; overflow: hidden; width: 100%; min-height: 62px; border: 0; border-radius: 999px;
  background: var(--forest); color: #fff; font: inherit; font-weight: 800; font-size: 18px;
  cursor: pointer; box-shadow: 0 5px 0 var(--forest-deep);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none;
}
.hold-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--forest-fill); }
.hold-label { position: relative; }
.hold[disabled] { opacity: .6; cursor: not-allowed; }
.hold.busy { cursor: progress; }
.entry-foot .hold { min-height: 44px; font-size: 15px; padding: 0 16px; width: auto; background: transparent; color: var(--text); border: 2px solid var(--ink); box-shadow: none; font-weight: 700; }
.entry-foot .hold-fill { background: var(--moss-tint); }
.entry-foot .hold-wrap { align-items: flex-end; }
.hold-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--flare-tint); color: var(--flare-text); font-size: 15px; font-weight: 600; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }
.step-btn { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--text); font: inherit; font-size: 32px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.step-more { background: var(--forest); color: #fff; border-color: var(--forest); box-shadow: 0 4px 0 var(--forest-deep); }
.step-show { text-align: center; }
.step-n { display: block; font-family: var(--display); font-weight: 800; font-size: 84px; line-height: 1; letter-spacing: -0.04em; }
.step-delta { font-size: 15px; font-weight: 700; color: var(--muted); }
.step-delta.changed { color: var(--forest-text); }

.versions { display: flex; flex-direction: column; gap: 10px; }
.version { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--rule); background: var(--card); cursor: pointer; }
.version input { position: absolute; opacity: 0; pointer-events: none; }
.version-dot { flex: none; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.version:has(input:checked) { border-color: var(--forest); background: var(--moss-tint); }
.version:has(input:checked) .version-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--forest); }
.version:has(input:focus-visible) { outline: 3px solid var(--link); outline-offset: 2px; }
.version-now { opacity: .6; cursor: default; }
.version-name { display: block; font-weight: 800; }
.version-story { display: block; font-size: 14px; color: var(--sub); }

/* ---- on it: the trail ---- */
.trail { list-style: none; margin: 4px 0 0; padding: 0; }
.trail-step { display: flex; gap: 14px; position: relative; padding-bottom: 22px; }
.trail-step::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: 0; border-left: 3px dashed var(--trail); }
.trail-step:last-child::before { display: none; }
.trail-done::before { border-left-color: var(--forest); }
.trail-dot { flex: none; width: 33px; height: 33px; border-radius: 50%; border: 3px solid var(--trail); background: var(--card); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; position: relative; }
.trail-done .trail-dot { background: var(--forest); border-color: var(--forest); }
.trail-now .trail-dot { background: var(--lamp); border-color: var(--ink); }
.trail-failed .trail-dot { background: var(--flare); border-color: var(--flare); color: var(--on-flare); }
.trail-text { padding-top: 4px; }
.trail-what { display: block; font-weight: 600; }
.trail-now .trail-what { font-weight: 800; }
.trail-later .trail-what, .trail-skipped .trail-what { color: var(--muted); font-weight: 500; }
.trail-failed .trail-what { color: var(--flare-deep); font-weight: 800; }
.trail-when { display: block; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .trail-now .trail-dot { animation: glow 1.4s ease-in-out infinite; }
  @keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(255, 212, 59, .35); } }
}
.result { padding: 16px; border-radius: 16px; background: var(--sand); }
.result p { margin: 0; }
.result p + p { margin-top: 4px; }
.result-title { font-family: var(--display); font-weight: 800; font-size: 22px; }
.result-good { background: var(--moss-tint); border: 2px solid var(--forest); color: var(--moss-text); }
.result-bad { background: var(--flare-tint); border: 2px solid var(--flare); color: var(--flare-text); }
.result-bad .result-title { color: var(--flare-deep); }
.result-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.result-actions .btn-outline { color: var(--text); }

/* ---- logbook ---- */
.day { display: flex; flex-direction: column; gap: 10px; }
.entry { background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.entry-top { display: flex; gap: 12px; align-items: flex-start; color: var(--text); text-decoration: none; }
.entry-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.entry-what { display: block; font-weight: 700; }
.entry-when { display: block; font-size: 14px; color: var(--muted); }
.entry-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-chip { font-size: 13px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.result-chip-good { background: var(--moss-tint); color: var(--moss-text); }
.result-chip-bad { background: var(--flare-tint); color: var(--flare-deep); }
.result-chip-plain { background: var(--sand); color: var(--text); }

/* ---- check in ---- */
body.plain { padding-bottom: 0; }
.narrow { width: 100%; max-width: 480px; margin: 0 auto; padding: 64px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1 0 auto; font-size: 17px; }
.narrow .hat { margin-bottom: 4px; }
.narrow .hat .hat-pinch { stroke: var(--bg); }
.hat-row { display: flex; align-items: center; gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.fine { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 12px; background: var(--flare-tint); color: var(--flare-text); border: 2px solid var(--flare); }
.alert p { margin: 0; }
.alert p + p { margin-top: 4px; font-size: 15px; }
.waiting { min-height: 58px; border: 2px dashed var(--forest); border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; color: var(--forest-text); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--forest); }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: baseline; }
.step { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--forest); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.hills { display: block; width: 100%; height: 70px; }
.hill-back { fill: var(--forest); }
.hill-front { fill: var(--forest-deep); }
:root[data-theme="dark"] .hill-front { fill: #24482F; }
.badge-shield .shield { fill: var(--forest); }
.badge-shield .shield-edge { stroke: var(--rivet); }
.badge-shield .shield-check { stroke: var(--cream); }

/* ---- big screens: top nav instead of tabs, two columns on the trailhead ---- */
@media (min-width: 900px) {
  .tabbar { display: none; }
  body.with-tabs { padding-bottom: 0; }
  .top { padding: 0; border-bottom: 2px solid var(--ink); background: var(--card); }
  .top-in { padding: 12px 24px; }
  .topnav { display: flex; }
  .lookout-link { display: inline; }
  .page { padding-top: 40px; padding-bottom: 56px; }
  .split { flex-direction: row; align-items: flex-start; gap: 28px; }
  .split-main { flex: 999 1 560px; }
  .split-side { flex: 1 1 300px; }
  .tries { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .tries .text-link { margin-left: 6px; }
  .on-trail { display: flex; }
  .card { padding: 22px 24px; }
  .card-title { font-size: 26px; }
  .scrim { position: fixed; }
  .sheet { left: 50%; right: auto; bottom: auto; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100vw - 48px)); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); }
  .sheet-handle { display: none; }
  .result-actions { flex-direction: row; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .tile, .hold { transition: transform .08s, box-shadow .08s; }
  .sheet { animation: rise .22s ease-out; }
  @keyframes rise { from { transform: translateY(40px); opacity: .4; } }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .sheet { animation: pop .18s ease-out; }
  @keyframes pop { from { transform: translate(-50%, -46%); opacity: .4; } }
}
