#branchExplorer{position:absolute;z-index:16;right:clamp(16px,4vw,64px);top:clamp(155px,20vh,195px);width:min(360px,calc(100% - 32px));max-height:calc(100% - 215px);display:flex;flex-direction:column;align-items:stretch;pointer-events:none;font:400 15px/1.4 system-ui;color:#edf7f2}
#branchExplorer>*{pointer-events:auto}#branchExplorer [hidden]{display:none!important}
#branchExplorer button,#branchExplorer select,#branchExplorer input,#branchExplorer a{font:inherit}
#branchExplorer button,.branch-actions a{cursor:pointer}
#branchExplorer .filter-trigger{align-self:flex-end;padding:8px 16px;border-radius:24px;background:#10251f;color:white;border:1px solid #74978a;min-height:40px}
.branch-controls,.branch-results,.selected-branch{background:#10231f;border:1px solid #567469;padding:14px;border-radius:16px;box-sizing:border-box}
.branch-controls{display:none}.filters-open .branch-controls,#branchExplorer[data-list=true] .branch-controls{display:grid;gap:8px}
.branch-controls label{display:grid;gap:3px;font-weight:650;font-size:13px}.branch-controls input,.branch-controls select{width:100%;min-width:0;padding:7px;border:1px solid #577769;border-radius:8px;color:#f1f8f4;background:#1d3830}.filter-line{display:grid;grid-template-columns:1fr 1fr;gap:8px}.match-count{margin:0;color:#aed7c5}
#branchExplorer[data-list=true] .filter-trigger,#branchExplorer[data-list=false] .branch-results,.explorer-list #networkPanel,.has-selection .branch-controls{display:none!important}
.branch-results{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.branch-result{display:grid;gap:3px;width:100%;text-align:left;color:inherit;background:transparent;border:0;border-bottom:1px solid #375248;padding:12px 2px}.branch-result strong{font-size:17px}.branch-result small,.branch-result span{color:#c6dacf}.branch-result:hover,.branch-result:focus-visible{background:#214035}
.selected-branch{overflow:auto}.selected-branch h3{font-size:24px;margin:10px 0}.selected-branch p{margin:6px 0}.selected-branch img{width:100%;height:115px;object-fit:cover;border-radius:9px;margin-top:8px}.selected-branch button,.clear-filters,.branch-actions a{border:1px solid #567469;border-radius:8px;padding:8px;color:#edf7f2;background:#18372c}.branch-actions{display:flex;gap:5px;flex-wrap:wrap;margin-top:12px}.branch-actions a{text-decoration:none}
#branchExplorer.has-selection .branch-results{display:none}#mapBeacons .map-beacon span{white-space:normal;max-width:155px;line-height:1.13}
@media(max-width:700px){#branchExplorer{top:135px;right:12px;width:calc(100% - 24px);max-height:calc(100% - 150px)}#branchExplorer[data-list=true],#branchExplorer.has-selection{bottom:max(10px,env(safe-area-inset-bottom));top:auto;max-height:calc(100% - 145px)}.branch-controls{padding:10px}.branch-results{min-height:0}.branch-controls .origin-label{display:flex;align-items:center;gap:8px}.origin-label select{width:auto;flex:1}.selected-branch{max-height:52dvh}.explorer-list .atlas-dock{pointer-events:none}}
#branchExplorer .branch-controls{border-radius:16px 16px 0 0;background:linear-gradient(145deg,#193b2e,#10231f 65%)}
#branchExplorer .branch-results{border-radius:0 0 16px 16px;border-top:0;padding-top:2px}
#branchExplorer .branch-controls label{margin:0;min-height:0;align-content:start}
#branchExplorer .branch-controls select,#branchExplorer .branch-controls input{display:block;height:38px;margin:0}
#branchExplorer .atlas-menu-search{justify-self:start;color:#d4f4df;font-size:13px;border:0;background:transparent;padding:2px 0;text-decoration:underline;text-underline-offset:3px}
#branchExplorer .branch-result{padding:12px 5px;line-height:1.35;border-radius:0}
#branchExplorer .branch-result span{font-size:14px}#branchExplorer .branch-result small{font-size:13px}
#mapBeacons .map-beacon span{width:max-content;max-width:145px;text-align:left}
#branchExplorer>.study-start,#branchExplorer>p{color:#f2fff6;background:#17382a;border:1px solid #679982;border-radius:12px;padding:10px;margin:0}
#branchExplorer .selected-branch fieldset{border:1px solid #5d8873;border-radius:10px;margin:12px 0 0}#branchExplorer .selected-branch fieldset button{margin:3px}
