.survey-atlas{margin:28px 0 48px;border:1px solid #cbd5c9;border-radius:8px;background:#fff;scroll-margin-top:24px;overflow:hidden}
.survey-atlas [hidden]{display:none!important}
.survey-heading{padding:26px 28px 16px;background:#f1f4eb;border-bottom:1px solid #cbd5c9}
.survey-heading h2{font-size:clamp(1.6rem,3vw,2.3rem);line-height:1.15;margin:4px 0 12px;color:#253551}
.survey-heading p{max-width:75ch;line-height:1.55;margin:0 0 8px}
.survey-layout{display:grid;grid-template-columns:minmax(220px,.29fr) minmax(0,1fr);gap:0}
.survey-controls{padding:22px;border-right:1px solid #d9dfd4;background:#fbfcf8}
.survey-controls label{display:block;font-weight:600;font-size:.875rem;line-height:1.4;margin-bottom:15px}
.survey-controls input,.survey-controls select{display:block;width:100%;min-width:0;max-width:100%;font:inherit;font-weight:400;background:white;color:#263b32;border:1px solid #aab8a9;border-radius:4px;padding:10px;margin-top:6px;min-height:44px}
.survey-controls input:focus,.survey-controls select:focus,.survey-atlas button:focus-visible{outline:3px solid #a9b746;outline-offset:2px}
.survey-selected{padding-top:20px;margin-top:14px;border-top:1px solid #d9dfd4;font-size:.9rem;overflow-wrap:anywhere}
.survey-selected h3{font-size:1.25rem;margin-bottom:8px}
.survey-selected p{line-height:1.55;margin-bottom:12px}
.survey-selected a{font-size:.875rem;text-decoration:underline;text-underline-offset:3px}
.survey-small{font-size:.8rem!important;color:#526357;line-height:1.5}
.survey-status{padding:0 22px 12px;font-size:.85rem;color:#526357}
.survey-view{min-width:0;padding:20px}
.survey-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px}
.survey-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.survey-atlas button{min-height:42px;padding:8px 12px;border:1px solid #c3cec0;background:#fff;border-radius:4px;color:#253b31;font:inherit;font-size:.875rem;cursor:pointer}
.survey-atlas button:hover{background:#edf2e7}
.survey-atlas button:disabled{opacity:.4;cursor:default}
.survey-atlas output,.survey-count{font-size:.8rem;min-width:42px;text-align:center}
.survey-viewport{width:100%;max-height:70vh;min-height:100px;overflow:auto;background:#eef1e8;scrollbar-width:thin;cursor:grab;border:1px solid #c3cec0;overscroll-behavior:contain}
.survey-viewport img{width:100%;max-width:none;height:auto;display:block;user-select:none;-webkit-user-drag:none}
.survey-caption{font-weight:600;font-size:.9rem;margin:12px 0 6px;line-height:1.5}
.survey-map-links{display:flex;gap:18px;flex-wrap:wrap;font-size:.85rem;margin-bottom:18px}
.survey-map-links a{color:#275841;text-decoration:underline;text-underline-offset:3px}
.survey-sheet-plants{margin-top:22px;padding-top:18px;border-top:1px solid #d9dfd4}
.survey-sheet-plants h3{font-size:1rem;margin:0 0 8px}
.survey-sheet-plants p{font-size:.85rem;line-height:1.5;margin-bottom:12px}
.survey-chips{display:flex;flex-wrap:wrap;gap:7px}
.survey-chips button{font-size:.8rem;padding:6px 10px}
.survey-chips button.active{background:#304e39;color:#fff;border-color:#304e39}
.survey-related-title{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-top:18px}
.survey-profile-link{display:block;text-align:left;width:100%}
.survey-empty{padding:40px 28px;line-height:1.6}
.survey-methods{border-top:1px solid #d9dfd4;padding:18px 26px;font-size:.875rem;line-height:1.6;background:#fbfcf8}
.survey-methods summary{cursor:pointer;font-weight:600;min-height:32px}
.survey-methods p{max-width:90ch;margin:12px 0}
.survey-row-link{display:block;color:#295940;font-size:.85rem;font-weight:600;text-align:left;padding:8px 0;min-height:38px;text-decoration:underline;text-underline-offset:3px}
.survey-profile-evidence{border-left:3px solid #7c8e53;padding:14px 18px;background:#f3f5ed;margin:18px 0}
.survey-profile-evidence p{margin:0 0 12px}
.survey-profile-evidence a{font-size:.85rem;text-decoration:underline}
.care-intro{font-size:.95rem;color:#526357;max-width:80ch;margin:0 0 20px;line-height:1.6}
@media(max-width:900px){.survey-layout{grid-template-columns:1fr}.survey-controls{border-right:0;border-bottom:1px solid #d9dfd4;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}.survey-controls label{margin:0}.survey-selected{grid-column:1/-1;margin:0;padding-top:12px}.survey-controls>.text-button{align-self:end;justify-self:start}.survey-view{padding:16px}.survey-status{padding:12px 18px}.survey-heading{padding:22px}.survey-viewport{max-height:65vh}}
@media(max-width:540px){.survey-controls{grid-template-columns:1fr;padding:18px}.survey-heading{padding:20px 18px}.survey-selected{grid-column:auto}.survey-toolbar{gap:12px}.survey-toolbar>div{width:100%;justify-content:space-between}.survey-view{padding:12px}.survey-methods{padding:16px 18px}.survey-map-links{gap:10px}.survey-atlas{margin-top:20px}.survey-chips button{min-height:44px}.survey-viewport{max-height:55vh}}

#weed-atlas { margin:1.5rem 0 2rem; scroll-margin-top:1rem; }
#weed-atlas [hidden] { display:none!important; }
#weed-atlas h2 { margin:0 0 .65rem; }
.atlas-choices { display:flex; gap:.4rem; flex-wrap:wrap; margin:.6rem 0 1rem; }
.atlas-choices button { color:#254736; background:#fff; border:1px solid #84988a; border-radius:.4rem; padding:.6rem .9rem; font:inherit; cursor:pointer; }
.atlas-choices button[aria-pressed="true"] { background:#264c39; color:white; }
#atlas-reaches { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(14rem,.75fr); gap:1rem; align-items:start; }
#atlas-reaches #map-panel { min-width:0; width:100%; box-sizing:border-box; }
#atlas-reaches .map-viewport { height:clamp(20rem,65vh,40rem); background:#edf0e8; }
#atlas-reaches .map-canvas { min-width:0; margin:auto; }
#atlas-reaches .map-canvas>img { height:auto; }
.atlas-record { background:#f2f5ef; border:1px solid #ccd6c8; border-radius:6px; padding:1.15rem; color:#213d30; }
.atlas-record label,.atlas-record small { display:block; }
.atlas-record select { width:100%; max-width:20rem; font:inherit; padding:.45rem; margin:.4rem 0 .8rem; }
.atlas-record h3 { margin:0; }
.atlas-record p { margin:.55rem 0; }
.atlas-record small { color:#415845; }
#atlas-reaches .reach-point { min-width:18px; height:18px; line-height:15px; font-size:10px; padding:0 2px; }
#atlas-reaches .reach-point.selected,#atlas-reaches .reach-point:focus-visible { z-index:8; outline:2px solid #253e30; }
@media(max-width:740px) {
  #atlas-reaches { grid-template-columns:minmax(0,1fr); }
  .atlas-record { grid-row:1; }
  #atlas-reaches .map-viewport { height:clamp(18rem,58vh,30rem); }
}
