.wre-toolbar,.wre-panel,.wre-map-return{--wre-bg:#102a39;--wre-surface:#183b4c;--wre-line:#527082;--wre-ink:#f1f7fa;--wre-muted:#c1d3de;--wre-accent:#b1eee0;color:var(--wre-ink);font:16px/1.55 system-ui,sans-serif;box-sizing:border-box}
.wre-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 14px;background:var(--wre-bg);border-bottom:1px solid var(--wre-line);flex:0 0 auto;z-index:8}
.wre-button,.wre-home-card{font:inherit;line-height:1.4;color:var(--wre-ink);background:var(--wre-surface);border:1px solid var(--wre-line);border-radius:10px;padding:10px 14px;min-height:46px;text-align:left;cursor:pointer;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.wre-button:hover,.wre-home-card:hover{background:#245467;border-color:var(--wre-accent)}
.wre-button:focus-visible,.wre-home-card:focus-visible,.wre-field input:focus-visible,.wre-field select:focus-visible,.wre-details summary:focus-visible{outline:3px solid #8de0db;outline-offset:3px}
.wre-button:disabled{opacity:.65;cursor:wait}.wre-primary{background:#236356;border-color:#93d3bd;color:#fff;font-weight:700}.wre-toolbar #wreFullscreen{margin-left:auto}.wre-toolbar #wreHome{font-weight:700}
.wre-status{flex:1 0 100%;margin:0;font-size:14px;color:var(--wre-muted);min-height:0}.wre-status:empty{display:none}
.wre-panel{position:absolute;inset:12px auto 12px 12px;width:min(520px,calc(100% - 24px));display:flex;flex-direction:column;z-index:85;background:var(--wre-bg);border:1px solid var(--wre-line);border-radius:15px;box-shadow:0 15px 50px #0007;overflow:hidden;opacity:.999}
.wre-panel[hidden],.wre-map-return[hidden]{display:none!important}.wre-panel-head{padding:12px 18px;border-bottom:1px solid var(--wre-line);flex:0 0 auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:var(--wre-bg)}
.wre-panel-head #wreHideCard{margin-left:auto}.wre-panel-head h2{flex:1 0 100%;font:700 25px/1.25 system-ui;margin:8px 0 0;color:var(--wre-ink);letter-spacing:-.03em}.wre-panel-head h2:focus{outline:none}.wre-panel-head p{flex:1 0 100%;margin:0;color:var(--wre-muted);font-size:15px}
.wre-panel-body{overflow:auto;overscroll-behavior:contain;min-height:0;padding:18px;scrollbar-gutter:stable;display:flex;flex-direction:column;gap:16px}.wre-panel-body>*{flex-shrink:0}.wre-note{color:var(--wre-muted);margin:0 0 8px;overflow-wrap:anywhere}.wre-note:last-child{margin-bottom:0}.wre-panel h3{font:700 19px/1.4 system-ui;color:var(--wre-ink);margin:0 0 8px}.wre-panel a{color:#a7e5ed;text-decoration:underline;overflow-wrap:anywhere}
.wre-steps{display:flex;flex-wrap:wrap;gap:8px;color:var(--wre-accent);font-size:14px}.wre-steps span{background:var(--wre-surface);border:1px solid var(--wre-line);border-radius:7px;padding:5px 8px}.wre-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wre-home-card{display:flex;flex-direction:column;gap:8px;padding:18px;min-height:130px}.wre-home-card strong{font-size:20px}.wre-home-card span{color:var(--wre-muted);font-size:15px}.wre-home-card:first-child{border-color:#9ae3cf;background:#20554e}
.wre-card{border:1px solid var(--wre-line);border-radius:11px;background:var(--wre-surface);padding:16px;overflow-wrap:anywhere}.wre-card .wre-button{margin-top:8px;max-width:100%}.wre-result-list{display:flex;flex-direction:column;gap:12px}.wre-actions{display:flex;flex-wrap:wrap;gap:8px}.wre-actions .wre-primary{flex:1 0 100%}.wre-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:16px;color:var(--wre-ink);margin:0}.wre-field>span{font-weight:650}.wre-field>small{color:var(--wre-muted);font-size:14px;line-height:1.5}.wre-field input,.wre-field select{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:10px 12px;background:#0b2230;color:var(--wre-ink);border:1px solid var(--wre-line);border-radius:8px;font:16px/1.4 system-ui}.wre-field input::placeholder{color:var(--wre-muted)}.wre-search{display:flex;flex-direction:column;gap:10px}.wre-details{padding:12px 14px;border:1px solid var(--wre-line);border-radius:9px;background:var(--wre-bg)}.wre-details summary{cursor:pointer;min-height:28px;font-weight:650;color:var(--wre-ink)}.wre-details[open]>summary{margin-bottom:12px}.wre-details>*+*{margin-top:10px}.wre-details a{display:block}.wre-boundary{border-left:4px solid #e0bc7c;padding:8px 12px;background:#8c621f1c;color:var(--wre-ink)}.wre-compare{display:grid;gap:12px}.wre-marker{background:#175f61;color:white;border:2px solid white;border-radius:24px;padding:6px 10px;font:700 14px/1.4 system-ui;box-shadow:0 2px 6px #0007;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wre-map-return{position:absolute;left:12px;bottom:45px;z-index:90;max-width:calc(100% - 24px);box-shadow:0 3px 12px #0006}
body.wre-simple .wrp-command-dock,body.wre-simple .wp-nav,body.wre-simple .wbc-map-actions,body.wre-simple .map-toolbar,body.wre-simple #elevationLegend,body.wre-simple .wrp-map-legend{display:none!important}
body.wre-simple .workspace{display:block!important;position:relative!important;min-height:240px!important}body.wre-simple .workspace>.map-stage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important}body.wre-simple #warControls,body.wre-simple #warIntel,body.wre-simple #wroEvents,body.wre-simple #wroDetails{display:none!important}body.wre-simple .mast h1{font-size:25px}body.wre-simple .mast .eyebrow{font-size:10px}body.wre-simple .method{max-height:34px;overflow:auto}
body:not(.wre-simple) .wre-toolbar>button:not(#wreAdvanced),body:not(.wre-simple) .wre-status,body:not(.wre-simple) .wre-panel,body:not(.wre-simple) .wre-map-return{display:none!important}body:not(.wre-simple) .wre-toolbar{padding:5px 12px}body:not(.wre-simple) #wreAdvanced{min-height:34px;padding:5px 12px;font-size:14px}
@media(max-width:600px){.wre-toolbar{padding:8px;gap:6px}.wre-toolbar>.wre-button{flex:1 0 28%;font-size:14px;text-align:center;padding:8px}.wre-toolbar #wreFullscreen{margin-left:0}.wre-panel{inset:6px;width:calc(100% - 12px);border-radius:11px}.wre-panel-head{padding:10px 12px}.wre-panel-head h2{font-size:23px}.wre-panel-body{padding:14px;scrollbar-gutter:auto}.wre-home-grid{grid-template-columns:1fr}.wre-home-card{min-height:100px;padding:15px}.wre-actions>.wre-button{flex:1 0 100%}.wre-status{font-size:13px}.wre-map-return{left:8px;bottom:42px;font-size:14px}.wre-steps{font-size:12px;gap:5px}.wre-steps span{padding:4px 6px}}
html[data-theme="light"] .wre-toolbar,html[data-theme="light"] .wre-panel,html[data-theme="light"] .wre-map-return,html[data-color-theme="light"] .wre-toolbar,html[data-color-theme="light"] .wre-panel,html[data-watchtower-theme="light"] .wre-toolbar,html[data-watchtower-theme="light"] .wre-panel{--wre-bg:#fffef9;--wre-surface:#f0f5f2;--wre-line:#a4b8b6;--wre-ink:#153440;--wre-muted:#405e65;--wre-accent:#186b62}
html[data-theme="light"] .wre-field input,html[data-theme="light"] .wre-field select{background:#fff;color:#153440}html[data-theme="light"] .wre-home-card:first-child{background:#d9eee5}html[data-theme="light"] .wre-panel a{color:#176071}html[data-theme="light"] .wre-button:hover,html[data-theme="light"] .wre-home-card:hover{background:#dcece5}html[data-theme="light"] .wre-primary{background:#236356;color:#fff}
