/* Field Scout (was Field Hunch) */
.hn-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.hn-hero {
  background: linear-gradient(135deg, #24361f 0%, #3d5a2a 55%, #8a7a3a 100%);
  color: #f6f1e3; padding: 110px 0 34px;
}
.hn-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; opacity: .8; margin: 0 0 8px; }
.hn-hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; margin: 0 0 18px; color: #fff; font-weight: 700; }
.hn-hero h1 span { color: #f3d27a; }
.hn-how { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hn-how li { counter-increment: s; max-width: 340px; font-size: .97rem; line-height: 1.45; padding-left: 30px; position: relative; }
.hn-how li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: #f3d27a; color: #24361f; font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}

.hn-app { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(340px, 1fr); gap: 22px; padding-top: 22px; padding-bottom: 50px; align-items: start; }
.hn-mapcol { position: sticky; top: 80px; }
.hn-map { height: calc(100vh - 150px); min-height: 460px; border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.hn-maptools { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.hn-search { display: flex; flex: 1; min-width: 220px; }
.hn-search input { flex: 1; padding: 9px 12px; border: 1px solid #cfd6c8; border-radius: 8px 0 0 8px; font-size: .95rem; }
.hn-search button { padding: 9px 14px; border: 0; background: #3d5a2a; color: #fff; border-radius: 0 8px 8px 0; cursor: pointer; }
.hn-legend { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 8px; font-size: .88rem; color: #444; }
.hn-ramp { display: inline-flex; align-items: center; gap: 6px; }
.hn-ramp b { width: 90px; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #d73027, #e8c83c, #1a9641); }
.hn-ramp i { font-style: normal; color: #777; font-size: .8rem; }

.hn-panel { min-width: 0; }
.hn-step { background: #fff; border: 1px solid #e3e6dc; border-radius: 12px; padding: 18px 18px 16px; margin-bottom: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.hn-step h2 { font-size: 1.12rem; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; color: #24361f; }
.hn-step h2 span { width: 26px; height: 26px; border-radius: 50%; background: #3d5a2a; color: #fff; display: grid; place-items: center; font-size: .85rem; flex: none; }
.hn-step h2 small { font-weight: 400; color: #888; font-size: .82rem; }
.hn-help { color: #5a5f55; font-size: .9rem; margin: 0 0 12px; line-height: 1.45; }
.hn-muted { color: #7a7f75; font-size: .86rem; }
.hn-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.hn-input, .hn-step input, .hn-step select, .hn-step textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #cfd6c8; border-radius: 7px; font: inherit; font-size: .93rem; background: #fdfdfb; box-sizing: border-box;
}
.hn-step input[type=checkbox] { width: auto; }
.hn-step label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: #4a4f45; font-weight: 600; }
.hn-full { margin: 10px 0; }
.hn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }

.hn-btn { padding: 9px 14px; border-radius: 8px; border: 1px solid #3d5a2a; background: #3d5a2a; color: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; }
.hn-btn:hover { filter: brightness(1.1); }
.hn-btn:disabled { opacity: .5; cursor: wait; }
.hn-btn--ghost { background: #fff; color: #3d5a2a; }
.hn-btn--go { width: 100%; padding: 13px; font-size: 1.05rem; background: #c2861a; border-color: #c2861a; }
.hn-danger { color: #b3261e; border-color: #e3b5b0; }
.hn-kinds .hn-kind { flex: 1; }
.hn-kind--bad { background: #d64533; border-color: #d64533; }
.hn-kind--patchy { background: #e0a526; border-color: #e0a526; color: #2a2205; }
.hn-kind--good { background: #2e9d4f; border-color: #2e9d4f; }
body.hn-drawing .hn-map { outline: 3px solid #f3d27a; }

.hn-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; background: #999; }
.hn-zone--bad .hn-dot, .hn-dot--bad { background: #d64533; }
.hn-zone--patchy .hn-dot, .hn-dot--patchy { background: #e0a526; }
.hn-zone--good .hn-dot, .hn-dot--good { background: #2e9d4f; }

.hn-zones { display: flex; flex-direction: column; gap: 8px; }
.hn-zone { border: 1px solid #e3e6dc; border-radius: 9px; background: #fafbf7; }
.hn-zone > summary { list-style: none; display: flex; align-items: center; gap: 9px; padding: 10px 12px; cursor: pointer; font-weight: 600; }
.hn-zone > summary::-webkit-details-marker { display: none; }
.hn-zname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-zbody { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 9px; }
.hn-diff summary { font-size: .86rem; color: #3d5a2a; cursor: pointer; margin-bottom: 8px; }

.hn-err { color: #b3261e; font-size: .9rem; margin: 8px 0 0; min-height: 1em; }
.hn-progress { margin-top: 12px; }
.hn-bar { height: 10px; background: #edf0e6; border-radius: 6px; overflow: hidden; }
.hn-bar i { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, #3d5a2a, #8fb24a); transition: width .6s; }
.hn-progress p { margin: 6px 0 0; font-size: .9rem; }

.hn-results h2 span { background: #c2861a; }
.hn-rzone { border-left: 4px solid #999; padding: 12px 0 12px 14px; margin: 14px 0; border-top: 1px solid #eee; }
.hn-rzone.hn-zone--bad { border-left-color: #d64533; }
.hn-rzone.hn-zone--patchy { border-left-color: #e0a526; }
.hn-rzone.hn-zone--good { border-left-color: #2e9d4f; }
.hn-rzone header { display: flex; align-items: center; gap: 8px; }
.hn-rzone h3 { margin: 0; font-size: 1.05rem; flex: 1; }
.hn-rzone h4 { margin: 12px 0 6px; font-size: .92rem; color: #24361f; }
.hn-pill { font-size: .78rem; padding: 2px 8px; border-radius: 10px; font-weight: 700; white-space: nowrap; }
.hn-pill--neg { background: #fbe3df; color: #a02c1e; }
.hn-pill--pos { background: #def3e3; color: #1d6b35; }
.hn-verdict { margin: 8px 0 4px; font-size: .93rem; line-height: 1.45; }
.hn-verdict--disagrees, .hn-verdict--weak { color: #7a5a10; }
.hn-causes { margin: 0; padding-left: 20px; }
.hn-causes > li { margin-bottom: 12px; }
.hn-ctitle { font-weight: 700; font-size: .96rem; }
.hn-conf { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: 1px 7px; border-radius: 8px; margin-left: 4px; vertical-align: 1px; }
.hn-conf--strong { background: #3d5a2a; color: #fff; }
.hn-conf--moderate { background: #e7d8a8; color: #4d3d07; }
.hn-conf--weak { background: #eee; color: #666; }
.hn-ev { margin: 5px 0; padding-left: 18px; font-size: .9rem; line-height: 1.45; }
.hn-against { color: #8a8a8a; list-style: '– '; }
.hn-check { font-size: .88rem; background: #f6f3e7; border-radius: 6px; padding: 7px 9px; margin: 6px 0 0; }
.hn-more summary { cursor: pointer; font-size: .86rem; color: #3d5a2a; margin-top: 6px; }
.hn-years { width: 100%; border-collapse: collapse; font-size: .85rem; margin-top: 6px; }
.hn-years th { text-align: left; font-weight: 600; color: #666; padding: 3px 4px; }
.hn-years td { padding: 3px 4px; border-top: 1px solid #f0f0f0; }
.hn-gap { display: inline-block; width: 120px; height: 10px; position: relative; background: #f3f3f0; vertical-align: middle; margin-right: 6px; border-radius: 3px; }
.hn-gap::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: #aaa; }
.hn-gap b { position: absolute; top: 0; bottom: 0; }
.hn-gap b.neg { right: 50%; background: #d64533; }
.hn-gap b.pos { left: 50%; background: #2e9d4f; }
.hn-undrawn { background: #f7f8f3; border-radius: 9px; padding: 10px 12px; margin-top: 10px; }
.hn-undrawn h4 { margin: 0 0 4px; }
.hn-undrawn ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; }

.hn-addon h2 span { background: #8a6d1e; }
.hn-addon p { font-size: .93rem; line-height: 1.5; }
.hn-tabs { display: flex; gap: 6px; margin: 10px 0 12px; }
.hn-tab { flex: 1; padding: 8px; border: 1px solid #cfd6c8; background: #fafbf7; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.hn-tab.is-on { background: #3d5a2a; color: #fff; border-color: #3d5a2a; }
.hn-labwrap { overflow-x: auto; margin-bottom: 12px; }
.hn-lab { border-collapse: collapse; font-size: .82rem; min-width: 520px; }
.hn-lab th { text-align: left; padding: 4px; font-weight: 600; color: #555; white-space: nowrap; }
.hn-lab tbody th { display: flex; align-items: center; gap: 6px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.hn-lab td { padding: 3px; }
.hn-lab input { width: 62px !important; padding: 5px !important; }
.hn-msg { font-size: .9rem; color: #3d5a2a; min-height: 1em; margin: 8px 0 0; }
.hn-fine { font-size: .78rem; color: #8a8f85; line-height: 1.5; margin: 12px 4px; }

@media (max-width: 900px) {
  .hn-hero { padding-top: 90px; }
  .hn-app { grid-template-columns: 1fr; }
  .hn-mapcol { position: static; }
  .hn-map { height: 58vh; min-height: 340px; }
  .hn-grid { grid-template-columns: 1fr; }
}

/* arrival from Territory View (?lat=&lng=&label=&q=) */
.hn-from { border: 1px solid #e0a526; background: #fdf7e8; border-radius: 9px; padding: 10px 12px; margin: 0 0 12px; }
.hn-from p { margin: 0 0 8px; font-size: .92rem; }
.hn-from p:last-child { margin-bottom: 0; }
.hn-from .hn-btn { margin-top: 2px; }
.hn-storm--lit { color: #6a5a1e; }
.hn-drop { color: #7a3b12; }
.hn-drop--storm { font-weight: 600; }
.hn-drops { border: 1px solid #e6c9a8; background: #fdf6ee; border-radius: 10px; padding: 10px 14px; margin: 0 0 16px; }
.hn-drops h4 { margin: 0 0 4px; }
.hn-drops ul { margin: 6px 0 0; padding-left: 18px; font-size: .92rem; }

/* next look (Sentinel-2 pass planner + watch email) */
.hn-look { border: 1px solid #b9cfe0; background: #f2f7fb; border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.hn-look-head { display: flex; align-items: center; gap: 10px; }
.hn-look-ic { font-size: 1.6rem; }
.hn-look-head b { display: block; font-size: 1.1rem; color: #1f3f5a; }
.hn-look-head small { color: #5b6b78; font-size: .85rem; }
.hn-look p { margin: 8px 0 0; font-size: .88rem; }
.hn-look-more span { display: inline-block; margin: 2px 6px 0 0; padding: 2px 8px; border-radius: 99px; background: #e3ebf1; font-size: .8rem; color: #44525e; }
.hn-look-more span.is-clear { background: #dcefd2; color: #2f5a1f; }
.hn-look-more i { font-style: normal; opacity: .7; }
.hn-look-form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.hn-look-form input { flex: 1 1 180px; padding: 8px 10px; border: 1px solid #cfd6c8; border-radius: 8px; font-size: .95rem; }

/* Field Scout mode strip: the three tools under one nav tab */
.sc-modes { background: #f4f1e6; border-bottom: 1px solid #ddd6bf; }
.sc-modes__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.sc-mode { display: block; padding: 12px 16px 10px; text-decoration: none; color: #3d5a2a; border-bottom: 3px solid transparent; }
.sc-mode b { display: block; font-size: .98rem; }
.sc-mode small { display: block; font-size: .8rem; color: #6b6a5c; line-height: 1.35; margin-top: 2px; }
.sc-mode:hover { background: #ebe6d4; }
.sc-mode.is-on { border-bottom-color: #c2861a; background: #fff; }
.sc-mode.is-on b { color: #24361f; }
@media (max-width: 700px) {
  .sc-modes__row { padding: 0; }
  .sc-mode { padding: 10px 8px 8px; text-align: center; }
  .sc-mode b { font-size: .86rem; }
  .sc-mode small { display: none; }
}
