/* Sheds Experience Redesign V1 — map is the product; chrome disappears */

:root {
  --sheds-bg: #07120e;
  --sheds-surface: rgba(8, 22, 16, 0.92);
  --sheds-surface-solid: #0c1c15;
  --sheds-text: #f5f8f4;
  --sheds-muted: rgba(245, 248, 244, 0.78);
  --sheds-accent: #d8ec5c;
  --sheds-accent-deep: #9bb82e;
  --sheds-border: rgba(210, 230, 200, 0.22);
  --sheds-danger: #f0b8b0;
  --sheds-info: #8ec0ff;
  --sheds-safe-bottom: env(safe-area-inset-bottom, 0px);
  --sheds-safe-top: env(safe-area-inset-top, 0px);
  --sheds-safe-right: env(safe-area-inset-right, 0px);
  --sheds-safe-left: env(safe-area-inset-left, 0px);
  --sheds-sheet-peek: 6.35rem;
  --sheds-fab-size: 3.5rem;
  --sheds-radius: 16px;
  --sheds-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sheds-blur: saturate(140%) blur(12px);
  --wds-field-touch: 48px;
}

html, body {
  margin: 0;
  height: 100%;
  background: var(--sheds-bg);
  color: var(--sheds-text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.sheds-skip {
  position: absolute;
  left: 0.75rem;
  top: calc(0.75rem + var(--sheds-safe-top));
  z-index: 10000;
  padding: 0.55rem 0.9rem;
  background: var(--sheds-accent);
  color: #0a1410;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.sheds-skip:focus,
.sheds-skip:focus-visible {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sheds-app {
  position: relative;
  height: 100%;
  min-height: 100dvh;
  max-width: 100vw;
  overflow: hidden;
}

#sheds-map-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.sheds-map-canvas {
  position: absolute;
  inset: 0;
}

#sheds-map {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(120% 80% at 50% 20%, #2a3a32 0%, transparent 55%),
    linear-gradient(165deg, #9aa8a0 0%, #b7c0bc 45%, #8f9b94 100%);
}

#sheds-map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  background: transparent;
}

.sheds-map-loading {
  position: absolute;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(40, 70, 52, 0.55), transparent 55%),
    linear-gradient(160deg, #0c1a14 0%, #152820 50%, #0a1410 100%);
  pointer-events: none;
  transition: opacity 0.55s var(--sheds-ease);
}

.sheds-map-loading[hidden],
.sheds-map-loading.is-done {
  opacity: 0;
  visibility: hidden;
}

.sheds-map-loading__pulse {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid rgba(216, 236, 92, 0.22);
  border-top-color: var(--sheds-accent);
  animation: sheds-spin 0.95s linear infinite;
}

.sheds-map-loading__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sheds-muted);
  letter-spacing: 0.01em;
  font-weight: 500;
}

.sheds-map-offline {
  position: absolute;
  left: 50%;
  top: calc(4.25rem + var(--sheds-safe-top));
  transform: translateX(-50%);
  z-index: 520;
  max-width: min(92vw, 22rem);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: rgba(20, 16, 12, 0.9);
  border: 1px solid rgba(240, 184, 176, 0.35);
  color: var(--sheds-danger);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: var(--sheds-blur);
}

@keyframes sheds-spin {
  to { transform: rotate(360deg); }
}

@keyframes sheds-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.92); }
}

@keyframes sheds-sheet-in {
  from { transform: translateY(10%); opacity: 0.9; }
  to { transform: translateY(0); opacity: 1; }
}

/* —— Top HUD: brand only —— */
.sheds-hud-top {
  position: absolute;
  top: calc(0.5rem + var(--sheds-safe-top));
  left: calc(0.5rem + var(--sheds-safe-left));
  right: calc(0.5rem + var(--sheds-safe-right));
  z-index: 550;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}

.sheds-hud-top > * {
  pointer-events: auto;
}

.sheds-hud-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border-radius: 999px;
  background: var(--sheds-surface);
  border: 1px solid var(--sheds-border);
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  text-decoration: none;
  color: var(--sheds-text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  min-height: var(--wds-field-touch);
}

.sheds-hud-brand__mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 4px;
  background: var(--sheds-accent);
  box-shadow: 0 0 0 3px rgba(216, 236, 92, 0.18);
}

.sheds-hud-brand__name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.sheds-hud-chip {
  appearance: none;
  border: 1px solid var(--sheds-border);
  background: var(--sheds-surface);
  color: var(--sheds-text);
  border-radius: 999px;
  width: var(--wds-field-touch);
  height: var(--wds-field-touch);
  min-height: var(--wds-field-touch);
  padding: 0;
  font: inherit;
  cursor: pointer;
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  display: grid;
  place-items: center;
}

.sheds-hud-chip__glyph {
  font-size: 0.85rem;
  font-weight: 700;
  font-style: italic;
  font-family: "Source Serif 4", Georgia, serif;
  opacity: 0.85;
}

.sheds-hud-chip:focus-visible,
.sheds-hud-brand:focus-visible,
.sheds-fab:focus-visible,
.sheds-suggest__summary:focus-visible,
.sheds-here__chip:focus-visible {
  outline: 2px solid var(--sheds-accent);
  outline-offset: 2px;
}

/* —— You are here —— */
.sheds-here {
  position: absolute;
  top: calc(3.35rem + var(--sheds-safe-top));
  left: calc(0.5rem + var(--sheds-safe-left));
  z-index: 540;
  max-width: min(70vw, 16.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  pointer-events: none;
}

.sheds-here > * {
  pointer-events: auto;
}

.sheds-here__chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--sheds-border);
  background: var(--sheds-surface);
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  color: var(--sheds-text);
  font: inherit;
  cursor: pointer;
  text-align: left;
  min-height: 2.5rem;
}

.sheds-here__label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheds-here__track {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--sheds-info);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 22, 16, 0.72);
  border: 1px solid rgba(142, 192, 255, 0.28);
}

.sheds-here__track[hidden] {
  display: none !important;
}

.sheds-here__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  padding: 0 0.35rem;
  font-size: 0.68rem;
  color: var(--sheds-muted);
}

.sheds-here__meta[hidden] {
  display: none !important;
}

.sheds-nav-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sheds-muted);
  flex: 0 0 auto;
}

.sheds-nav-dot[data-state="finding"],
.sheds-nav-dot[data-state="available"] {
  background: var(--sheds-accent);
  animation: sheds-pulse 1.8s ease-in-out infinite;
}

.sheds-nav-dot[data-state="tracking"] {
  background: var(--sheds-info);
  animation: sheds-pulse 1.1s ease-in-out infinite;
}

.sheds-nav-dot[data-state="denied"],
.sheds-nav-dot[data-state="unavailable"],
.sheds-nav-dot[data-state="timeout"] {
  background: var(--sheds-danger);
  animation: none;
}

.sheds-status-panel {
  position: absolute;
  top: calc(3.35rem + var(--sheds-safe-top));
  right: calc(0.5rem + var(--sheds-safe-right));
  left: auto;
  z-index: 545;
  width: min(88vw, 19rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem;
  border-radius: 14px;
  background: var(--sheds-surface);
  border: 1px solid var(--sheds-border);
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  animation: sheds-sheet-in 0.28s var(--sheds-ease);
}

.sheds-status-panel[hidden] {
  display: none !important;
}

.sheds-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--sheds-border);
  background: rgba(8, 20, 16, 0.55);
  font-size: 0.7rem;
  color: var(--sheds-muted);
}

.sheds-pill[data-state="available"],
.sheds-pill[data-level="strong"] {
  color: var(--sheds-accent);
}

.sheds-pill[data-state="denied"],
.sheds-pill[data-state="unavailable"],
.sheds-pill[data-state="timeout"],
.sheds-pill[data-level="limited"] {
  color: var(--sheds-danger);
}

/* —— FAB rail: icon-only, intention-first —— */
.sheds-fab-rail {
  position: absolute;
  right: calc(0.5rem + var(--sheds-safe-right));
  bottom: calc(var(--sheds-sheet-peek) + 0.75rem + var(--sheds-safe-bottom));
  z-index: 560;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.sheds-fab-rail > * {
  pointer-events: auto;
}

.sheds-fab {
  appearance: none;
  width: var(--sheds-fab-size);
  height: var(--sheds-fab-size);
  min-height: var(--sheds-fab-size);
  border-radius: 18px;
  border: 1px solid var(--sheds-border);
  background: rgba(8, 20, 15, 0.88);
  color: var(--sheds-text);
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  transition: transform 0.18s var(--sheds-ease), background 0.18s ease, box-shadow 0.18s ease;
  font: inherit;
}

.sheds-fab:active {
  transform: scale(0.95);
}

.sheds-fab--primary,
.sheds-fab[aria-pressed="true"] {
  background: var(--sheds-accent);
  color: #0a1410;
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(180, 210, 60, 0.28);
}

.sheds-fab__icon {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.sheds-fab__label {
  display: none;
}

.sheds-fab[hidden] {
  display: none !important;
}

.sheds-legend-float {
  position: absolute;
  left: calc(0.5rem + var(--sheds-safe-left));
  bottom: calc(var(--sheds-sheet-peek) + 0.75rem + var(--sheds-safe-bottom));
  z-index: 530;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
  max-width: min(92vw, 22rem);
  padding: 0.45rem 0.7rem;
  border-radius: 14px;
  background: rgba(6, 16, 12, 0.94);
  border: 1px solid var(--sheds-border);
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  font-size: 0.68rem;
  color: var(--sheds-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.sheds-legend-float__status {
  flex: 1 1 100%;
  color: var(--sheds-muted);
  font-size: 0.62rem;
  letter-spacing: 0.01em;
}

.sheds-legend-float[hidden] {
  display: none !important;
}

.sheds-swatch {
  width: 0.85rem;
  height: 0.55rem;
  border-radius: 2px;
  display: inline-block;
  margin-right: 0.2rem;
  vertical-align: middle;
}

.sheds-swatch--low { background: rgba(90, 130, 110, 0.55); }
.sheds-swatch--mid { background: rgba(190, 150, 55, 0.65); }
.sheds-swatch--high { background: rgba(90, 150, 70, 0.75); }

/* —— Story sheet: the conversation —— */
.sheds-sheet-field,
.sheds-suggest {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 570;
  margin: 0;
  border-radius: 22px 22px 0 0;
  border: 1px solid var(--sheds-border);
  border-bottom: 0;
  background: rgba(7, 18, 13, 0.97);
  backdrop-filter: var(--sheds-blur);
  -webkit-backdrop-filter: var(--sheds-blur);
  box-shadow: 0 -18px 48px rgba(0, 0, 0, 0.42);
  max-height: var(--sheds-sheet-peek);
  overflow: hidden;
  transition: max-height 0.4s var(--sheds-ease);
  padding-bottom: var(--sheds-safe-bottom);
}

.sheds-suggest[data-expanded="true"] {
  max-height: min(60vh, 30rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

html.sheds-sheet-open .sheds-fab-rail,
html.sheds-sheet-open .sheds-legend-float {
  opacity: 0.28;
  pointer-events: none;
  transition: opacity 0.28s var(--sheds-ease);
}

.sheds-sheet-field__grab {
  width: 2.55rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(242, 246, 242, 0.26);
  margin: 0.5rem auto 0.1rem;
}

.sheds-suggest__summary {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0.12rem 0.55rem;
  text-align: left;
  padding: 0.3rem 1.1rem 0.85rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  min-height: 4.2rem;
}

.sheds-suggest__kicker {
  grid-column: 1;
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--sheds-accent);
  font-weight: 650;
}

.sheds-suggest[data-has-plan="false"] .sheds-suggest__kicker {
  color: var(--sheds-muted);
  text-transform: none;
  letter-spacing: 0;
}

.sheds-suggest__glance {
  grid-column: 1;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sheds-suggest__conf {
  grid-column: 1;
  font-size: 0.78rem;
  color: var(--sheds-muted);
  line-height: 1.3;
  margin-top: 0.05rem;
}

.sheds-suggest__stars {
  /* legacy alias if referenced */
  color: var(--sheds-muted);
}

.sheds-suggest__chev {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--sheds-muted);
  border-bottom: 2px solid var(--sheds-muted);
  transform: rotate(45deg);
  transition: transform 0.28s var(--sheds-ease);
  margin-right: 0.15rem;
  opacity: 0.7;
}

.sheds-suggest[data-expanded="true"] .sheds-suggest__chev {
  transform: rotate(-135deg);
  margin-top: 0.35rem;
}

.sheds-suggest__details {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid var(--sheds-border);
}

.sheds-suggest__details[hidden] {
  display: none !important;
}

.sheds-plan__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin: 0.85rem 0 0.35rem;
}

.sheds-plan__stats[hidden] {
  display: none !important;
}

.sheds-plan__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.4rem;
  border-radius: 12px;
  background: rgba(6, 16, 12, 0.7);
  border: 1px solid var(--sheds-border);
  font-size: 0.84rem;
  font-weight: 650;
  text-align: center;
}

.sheds-plan__stat-label {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sheds-muted);
  font-weight: 600;
}

.sheds-plan__body {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sheds-plan__why-wrap {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: var(--sheds-muted);
}

.sheds-plan__why-wrap summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--sheds-text);
  font-weight: 600;
}

.sheds-plan__why {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--sheds-muted);
}

.sheds-plan__meta {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  color: var(--sheds-muted);
  line-height: 1.4;
}

.sheds-plan__meta a {
  color: var(--sheds-accent);
}

.sheds-plan__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.sheds-plan__actions[hidden] {
  display: none !important;
}

.sheds-plan__actions .sheds-btn {
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  box-shadow: none;
  flex: 1 1 calc(50% - 0.45rem);
  justify-content: center;
}

.sheds-plan__note-label {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.7rem;
  color: var(--sheds-muted);
}

.sheds-plan__note {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  min-height: 44px;
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--sheds-border);
  background: #08140f;
  color: var(--sheds-text);
  font: inherit;
  font-size: 0.88rem;
}

.sheds-plan__note:focus-visible {
  outline: 2px solid var(--sheds-accent);
  outline-offset: 2px;
}

.sheds-btn {
  appearance: none;
  border: 1px solid var(--sheds-border);
  background: rgba(14, 32, 24, 0.94);
  color: var(--sheds-text);
  border-radius: 12px;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.sheds-btn:focus-visible {
  outline: 2px solid var(--sheds-accent);
  outline-offset: 2px;
}

.sheds-btn--primary {
  background: var(--sheds-accent);
  color: #0a1410;
  border-color: transparent;
}

.sheds-btn--ghost {
  background: rgba(8, 18, 14, 0.82);
}

.sheds-sheet {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: none;
  align-items: flex-end;
  justify-content: center;
}

.sheds-sheet.is-open {
  display: flex;
}

.sheds-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 8, 0.55);
}

.sheds-sheet__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(82vh, 720px);
  overflow: auto;
  background: var(--sheds-surface-solid);
  border: 1px solid var(--sheds-border);
  border-radius: 18px 18px 0 0;
  padding: 1rem 1rem calc(1rem + var(--sheds-safe-bottom));
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
  animation: sheds-sheet-in 0.32s var(--sheds-ease);
}

.sheds-sheet__panel--tools {
  max-height: min(70vh, 520px);
}

.sheds-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.sheds-tools-grid .sheds-btn {
  box-shadow: none;
  justify-content: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-align: center;
}

.sheds-sheet__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.sheds-sheet__lede {
  margin: 0 0 0.85rem;
  color: var(--sheds-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sheds-ethics-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--sheds-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.sheds-ethics-list li { margin-bottom: 0.55rem; }
.sheds-ethics-list strong { color: var(--sheds-text); }

.sheds-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.sheds-field label {
  font-size: 0.8rem;
  color: var(--sheds-muted);
}

.sheds-field input,
.sheds-field select,
.sheds-field textarea {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--sheds-border);
  background: #08140f;
  color: var(--sheds-text);
  padding: 0.55rem 0.7rem;
  font: inherit;
}

.sheds-field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.sheds-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.sheds-error {
  color: var(--sheds-danger);
  font-size: 0.85rem;
  margin: 0.25rem 0 0.5rem;
}

.sheds-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

.sheds-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.sheds-note {
  font-size: 0.78rem;
  color: var(--sheds-muted);
  line-height: 1.4;
  margin: 0.35rem 0 0;
}

.sheds-tech {
  margin-top: 0.75rem;
  padding: 0.65rem;
  border-radius: 10px;
  background: #08140f;
  font-size: 0.7rem;
  overflow: auto;
  max-height: 8rem;
  color: var(--sheds-muted);
}

.sheds-div-icon {
  background: transparent !important;
  border: none !important;
}

.sheds-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0a1410;
  border: 2px solid #08140f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sheds-marker--shed { background: #d4e85a; border-radius: 50%; }
.sheds-marker--deer { background: #a8c4a0; }
.sheds-marker--sign { background: #e4c56d; }
.sheds-marker--trail { background: #7eb6ff; border-radius: 4px; }
.sheds-marker--bed { background: #8fbf7a; }
.sheds-marker--feed { background: #e6a15c; }
.sheds-marker--fence { background: #d9d2c5; }
.sheds-marker--winter { background: #9ec9e8; }
.sheds-marker--search { background: #888; color: #fff; }
.sheds-marker--access { background: #f0b8b0; }
.sheds-marker--note { background: #cfc6e8; }
.sheds-marker--other { background: #aeb6c2; }

.leaflet-control-attribution {
  max-width: min(50vw, 14rem);
  font-size: 0.55rem !important;
  margin-right: 0.35rem !important;
  margin-bottom: calc(var(--sheds-sheet-peek) + 0.2rem) !important;
  background: rgba(7, 18, 13, 0.65) !important;
  color: var(--sheds-muted) !important;
  border-radius: 6px !important;
}

.leaflet-bottom.leaflet-right {
  bottom: calc(var(--sheds-sheet-peek) + 0.1rem) !important;
  right: calc(var(--sheds-fab-size) + 0.85rem) !important;
}

.leaflet-top.leaflet-right {
  top: calc(3.2rem + var(--sheds-safe-top)) !important;
  right: calc(0.5rem + var(--sheds-safe-right)) !important;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: none !important;
}

.leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  font-size: 18px !important;
  background: rgba(8, 20, 15, 0.88) !important;
  color: var(--sheds-text) !important;
  border: 1px solid var(--sheds-border) !important;
}

.leaflet-control-layers {
  background: rgba(8, 20, 15, 0.92) !important;
  border: 1px solid var(--sheds-border) !important;
  border-radius: 10px !important;
  color: var(--sheds-text) !important;
}

.sheds-heat-layer {
  opacity: 0.95;
  transition: opacity 0.4s var(--sheds-ease);
  pointer-events: none;
}

.sheds-user-pulse {
  animation: sheds-pulse 2s ease-in-out infinite;
}

@media (max-width: 520px) {
  :root {
    --sheds-fab-size: 3.25rem;
    --sheds-sheet-peek: 6.15rem;
  }

  .sheds-plan__stats {
    grid-template-columns: 1fr 1fr;
  }

  .sheds-grid-2 {
    grid-template-columns: 1fr;
  }

  .sheds-here {
    max-width: min(66vw, 15rem);
  }

  .sheds-suggest__glance {
    font-size: 1.22rem;
  }
}

@media (min-width: 720px) {
  .sheds-plan__actions .sheds-btn {
    flex: 0 0 auto;
  }

  .sheds-suggest[data-expanded="true"],
  .sheds-suggest:not([data-expanded="true"]) {
    max-width: 26rem;
    left: 0.75rem;
    right: auto;
    border-radius: 20px;
    border: 1px solid var(--sheds-border);
    margin-bottom: calc(0.75rem + var(--sheds-safe-bottom));
  }

  .sheds-suggest[data-expanded="true"] {
    max-height: min(70vh, 32rem);
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  :root {
    --sheds-sheet-peek: 4.25rem;
  }

  .sheds-fab {
    min-height: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
  }

  .sheds-suggest[data-expanded="true"] { max-height: 70vh; }
  .sheds-sheet__panel { max-height: 90vh; }
  .sheds-legend-float { display: none; }
  .sheds-suggest__glance { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  .sheds-sheet__panel,
  .sheds-pill,
  .sheds-skip,
  .sheds-fab,
  .sheds-suggest,
  .sheds-nav-dot,
  .sheds-map-loading,
  .sheds-heat-layer,
  .leaflet-fade-anim .leaflet-tile {
    transition: none !important;
    animation: none !important;
  }

  .sheds-nav-dot[data-state="finding"],
  .sheds-nav-dot[data-state="available"],
  .sheds-nav-dot[data-state="tracking"] {
    animation: none;
  }
}

.reduced-motion .sheds-sheet__panel,
.reduced-motion .sheds-skip,
.reduced-motion .sheds-fab,
.reduced-motion .sheds-suggest {
  transition: none;
  animation: none;
}

/* —— Sprint 6: outdoor readability & one-handed field chrome —— */
.sheds-here__chip,
.sheds-hud-chip,
.sheds-fab {
  background: rgba(6, 16, 12, 0.94);
  border-color: rgba(220, 236, 180, 0.28);
}

.sheds-here__label {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--sheds-text);
}

.sheds-suggest__kicker {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.sheds-suggest__glance {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sheds-text);
}

.sheds-suggest__conf {
  color: var(--sheds-accent);
  font-weight: 600;
}

.sheds-obs-location {
  margin: 0 0 0.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(216, 236, 92, 0.1);
  border: 1px solid rgba(216, 236, 92, 0.22);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sheds-text);
  word-break: break-word;
}

.sheds-actions--compact {
  margin: 0 0 0.75rem;
  gap: 0.5rem;
}

.sheds-actions--compact .sheds-btn {
  min-height: var(--wds-field-touch);
  font-weight: 600;
}

.sheds-sheet__panel .sheds-field label,
.sheds-sheet__panel .sheds-check {
  font-weight: 600;
  color: var(--sheds-text);
}

.sheds-sheet__panel select,
.sheds-sheet__panel textarea,
.sheds-sheet__panel input[type="number"],
.sheds-sheet__panel input[type="text"] {
  min-height: var(--wds-field-touch);
  font-size: 1rem;
  background: #0a1812;
  color: var(--sheds-text);
  border: 1px solid rgba(210, 230, 200, 0.28);
}

.sheds-map-offline {
  font-weight: 600;
  background: rgba(12, 22, 18, 0.96);
  border: 1px solid rgba(216, 236, 92, 0.35);
  color: var(--sheds-text);
}

@media (max-width: 480px) {
  .sheds-fab-rail {
    gap: 0.45rem;
  }

  .sheds-fab {
    width: 3.35rem;
    height: 3.35rem;
    min-height: 3.35rem;
  }

  .sheds-here {
    max-width: min(78vw, 18rem);
  }
}

@media (orientation: landscape) and (max-height: 480px) {
  .sheds-suggest {
    max-height: 4.6rem;
  }

  .sheds-suggest[data-expanded="true"] {
    max-height: min(88vh, 22rem);
  }

  .sheds-fab-rail {
    bottom: calc(5.1rem + var(--sheds-safe-bottom));
  }
}
