*{box-sizing:border-box}html,body,#map{margin:0;width:100%;height:100%;overflow:hidden}[hidden]{display:none!important}body{font:16px/1.5 var(--mc-font,system-ui);background:#173D32;color:#f3f3e8}button,input,select{font:inherit;min-height:44px;padding:8px 12px;border:1px solid #7D9086;border-radius:5px;background:#214C3F;color:#fff;max-width:100%}button,select{cursor:pointer}button:hover{background:#2b5d4d}a{color:#c8e8d6;overflow-wrap:anywhere;display:flex;align-items:center;min-height:44px}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #edda94;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.br-brand{position:fixed;inset:12px auto auto 12px;z-index:120;background:#173D32;display:flex;align-items:center;gap:16px;padding:10px 14px;border:1px solid #7D9086;border-radius:6px}.br-brand .mc-logo{width:246px;height:42px}.br-brand select{width:140px}.br-choose{position:fixed;left:12px;top:92px;z-index:120}.br-dock{position:fixed;bottom:36px;z-index:120;background:#f3f3e8;color:#173D32;font-weight:600}#br-references-open{left:12px}#br-layers-toggle{display:none}.br-layers{position:fixed;right:12px;top:12px;bottom:36px;z-index:130;width:250px;overflow:auto;background:#173D32f7;border:1px solid #7D9086;border-radius:6px;padding:14px}.br-layers header{display:flex;justify-content:space-between;align-items:center;gap:8px}.br-layers h2{margin:0;font-size:20px}.br-layers label{display:flex;gap:10px;align-items:center;min-height:48px}.br-layers input{width:18px;min-height:18px;flex:none}.br-layers p{font-size:13px;margin:4px 0 12px}.br-layers>button{width:100%;margin:5px 0}#br-layers-close{display:none}.br-panel,#cv-saved-research{position:fixed;left:12px;top:90px;bottom:12px;width:410px;max-width:calc(100vw - 24px);overflow:auto;overscroll-behavior:contain;z-index:151;border:1px solid #7D9086;border-radius:7px;background:#173D32fa;padding:0 16px 20px}.br-panel header{position:sticky;top:0;background:#173D32;padding:12px 0;z-index:2}.br-panel h2{font-size:21px;margin:10px 0 0}.br-back{width:100%;text-align:left;background:#D1DED3;color:#173D32}.br-panel input{width:100%;margin:8px 0}.br-panel article{border-bottom:1px solid #7D9086;padding:12px 0}.br-panel article h3{margin:0;font-size:18px}.br-panel p{overflow-wrap:anywhere}.br-panel article p{margin:7px 0}.br-panel [role=status]:empty{display:none}.br-detail-open .br-choose,.br-detail-open #br-references-open{display:none}.cv-saved-research-open{position:fixed;left:12px;top:144px;z-index:120}#br-area-label{position:fixed;left:12px;bottom:92px;background:#173D32;padding:6px 10px;z-index:110;margin:0;max-width:calc(100vw - 24px)}#br-notice{position:fixed;left:12px;bottom:104px;padding:12px;z-index:180;background:#173D32;max-width:calc(100vw - 24px)}.br-selected-point{display:block;width:20px;height:20px;border:3px solid white;border-radius:50%;background:#173D32;box-shadow:0 0 0 3px #173D32}.maplibregl-ctrl-bottom-right{bottom:22px;right:280px}.maplibregl-ctrl-group button{min-height:30px}
@media(max-width:1000px){#br-layers-toggle{display:block;right:12px;top:12px;bottom:auto}#br-layers-close{display:block}.br-layers{display:none;top:74px;bottom:36px}.br-layers-open .br-layers{display:block}.br-panel,#cv-saved-research{top:auto;bottom:8px;left:8px;right:8px;width:auto;max-width:none;max-height:65dvh}.br-detail-open .br-layers,.br-detail-open #br-layers-toggle{display:none}.br-panel header{position:static}.maplibregl-ctrl-bottom-right{right:12px}.br-layers-open .maplibregl-ctrl-bottom-right{right:280px}}
@media(max-width:600px){.br-brand{inset:8px 8px auto;padding:8px 10px;gap:12px;min-height:60px}.br-brand .mc-logo{width:32px;height:32px}.br-brand select{flex:1;width:auto;min-width:0}.br-dock,#br-layers-toggle{inset:auto auto calc(8px + env(safe-area-inset-bottom,0px)) 8px;width:calc(50% - 12px);height:56px;white-space:normal;line-height:1.25}#br-references-open{inset:auto 8px calc(8px + env(safe-area-inset-bottom,0px)) auto}.br-choose{top:80px;left:8px}.cv-saved-research-open{left:8px;top:134px}.br-layers{inset:80px 8px 80px;width:auto;padding:0 14px 14px}.br-layers header{position:sticky;top:0;z-index:3;background:#173D32;padding:10px 0}.br-detail-open .cv-saved-research-open,.br-detail-open #br-area-label{display:none}.br-panel,#cv-saved-research{max-height:calc(100dvh - 88px)}.maplibregl-ctrl-bottom-right{bottom:76px;right:8px}.br-layers-open .maplibregl-ctrl-bottom-right{visibility:hidden}#br-area-label{left:8px;bottom:80px;font-size:13px}.br-panel button{margin:4px 0}#br-notice{bottom:80px}}
@media(max-width:600px) and (max-height:560px){.br-layers{top:8px;bottom:8px}.br-layers-open .br-dock{visibility:hidden}}

/* Data guidance stays visible when the narrow-screen Layers rail is closed. */
#br-map-guidance{position:fixed;left:12px;bottom:96px;z-index:125;width:320px;max-width:calc(100vw - 304px);padding:10px 12px;background:#173D32f7;border:1px solid #7D9086;border-radius:6px}#br-map-guidance p{margin:0 0 8px;font-size:14px;line-height:1.4}#br-map-guidance button{margin-right:6px}.br-detail-open #br-map-guidance,.br-layers-open #br-map-guidance{display:none}
@media(max-width:1000px){#br-map-guidance{max-width:calc(100vw - 24px)}}
@media(max-width:600px){#br-map-guidance{left:8px;right:72px;bottom:80px;width:auto;max-width:none;padding:8px 10px}#br-map-guidance p{font-size:14px;margin-bottom:6px}#br-map-guidance button{min-height:44px}}

#br-map-guidance:not([hidden])~#br-area-label{display:none}
