html body[data-b3-page] #browse-form .discovery-search{grid-column:1/-1}
html body[data-b3-page] #browse-form input[type=search]{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;border:1px solid var(--btp-control);border-radius:10px;padding:12px;background:var(--btp-surface);color:var(--btp-ink);font:500 1rem/1.4 var(--btp-font-body)}
.discovery-search>span{font-weight:500;font-size:0.8125rem;line-height:1.5;color:var(--btp-ink-soft)}
.discovery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0}
html body[data-b3-page] .discovery-toolbar .btp-view-switch{margin:0}
.discovery-toolbar button,.discovery-notes :is(summary,a),#discovery-recovery :is(button,a),#discovery-map-wrap button{min-height:44px}
.discovery-guide-note{font-size:0.875rem;line-height:1.6;max-width:75ch;color:var(--btp-ink-soft)}
.discovery-notes{position:relative;z-index:2;background:var(--btp-surface);border-top:1px solid var(--btp-line);margin:0 20px 16px;color:var(--btp-ink);font-size:0.875rem;line-height:1.65}
.discovery-notes>summary{padding:12px 0;cursor:pointer;color:var(--btp-link);font-weight:700}
.discovery-notes p{margin:8px 0 12px}.discovery-notes dl{margin:0}.discovery-notes dl>div{border-top:1px solid var(--btp-line);padding-block:12px}.discovery-notes dt{font-weight:800}.discovery-notes dd{margin:0}
.discovery-notes a{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;color:var(--btp-link);padding:4px 0;margin-right:12px}
.discovery-notes .discovery-checked{padding:12px;background:var(--btp-teal-tint);border-radius:8px}
#discovery-map-wrap{margin-block:16px 24px;min-width:0}#discovery-map{height:420px;max-height:65vh;border:1px solid var(--btp-control);border-radius:14px;overflow:hidden}
#discovery-map .leaflet-control-attribution{max-width:100%;font-size:0.8125rem;line-height:1.5;white-space:normal}#discovery-map .leaflet-control-attribution a{min-height:44px;display:inline-flex;align-items:center}
#discovery-map-panel{max-width:620px;margin-top:20px}#discovery-map-picker{width:100%;min-width:0;min-height:48px;font:inherit;background:var(--btp-surface);color:var(--btp-ink);border:1px solid var(--btp-control);border-radius:10px;padding:10px}#discovery-map-status{margin-block:12px}
#discovery-recovery{padding:20px;border:1px solid var(--btp-line);border-radius:14px;background:var(--btp-surface);margin-block:16px}#discovery-recovery :is(button,a){margin:4px 8px 0 0;max-width:100%;white-space:normal}
html body[data-b3-page] #browse-form .discovery-submit{grid-column:1/-1;justify-self:start}html body[data-b3-page] #browse-status{scroll-margin-top:calc(var(--b3-header-height,65px) + 16px);line-height:1.6}
@media(max-width:767px){#discovery-map{height:340px}.discovery-notes{margin-inline:18px}.discovery-toolbar{gap:12px}}

/* Status copy can change without lifting the controls or results. No fixed card heights. */
/* The desktop title must fit before Fraunces replaces the wider fallback font. */
html body.btp-discovery-page .page-heading{max-width:none}
html body[data-b3-page] #browse-status{min-height:4.8em}
html body[data-b3-page] #browse-form[aria-busy=true] :is(input,select,button),.discovery-toolbar[aria-busy=true] button{cursor:wait}
