.overview-map-shell{overflow:hidden}
.overview-map-legend b{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}
.overview-map-head{display:flex;min-height:68px;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}
.overview-map-head h2{margin:0 0 3px;font-size:17px}.overview-map-head p{margin:0;color:var(--muted);font-size:11px}
.overview-map-filters{display:flex;align-items:center;gap:8px}.overview-segment{display:flex;gap:2px;padding:3px;background:#f3f6fb;border:1px solid var(--line);border-radius:9px}.overview-segment button{height:30px;padding:0 11px;color:#72839d;background:transparent;border:0;border-radius:7px;font-size:11px}.overview-segment button.active{color:var(--blue);background:#fff;box-shadow:0 2px 7px rgba(49,104,255,.16);font-weight:750}.overview-map-filters select{height:34px;padding:0 28px 0 10px;color:#647895;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:11px;outline:none}
.overview-map-stage{position:relative;height:clamp(560px,68vh,700px);overflow:hidden;background:linear-gradient(rgba(125,160,204,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(125,160,204,.12) 1px,transparent 1px),radial-gradient(ellipse at 50% 47%,rgba(215,232,253,.72),transparent 58%),linear-gradient(180deg,#f9fbff,#edf4fc);background-size:24px 24px,24px 24px,auto,auto}.overview-map-stage:after{position:absolute;inset:0;z-index:1;pointer-events:none;box-shadow:inset 0 0 60px rgba(67,108,168,.08);content:""}
#overviewWorldMap{position:absolute;inset:0;z-index:2}.overview-map-brand{position:absolute;top:16px;left:50%;z-index:5;color:#7899bd;font-size:10px;letter-spacing:.12em;transform:translateX(-50%)}
.overview-map-rail{position:absolute;top:18px;bottom:18px;z-index:7;width:238px;display:flex;flex-direction:column;gap:10px;pointer-events:none}.overview-map-rail.left,.overview-map-rail-left{left:18px}.overview-map-rail.right,.overview-map-rail-right{right:18px}.overview-map-rail>*{pointer-events:auto}
.overview-stat-card{position:relative;min-height:100px;padding:16px 18px;background:rgba(255,255,255,.95);border:1px solid #d5e0ee;border-radius:12px;box-shadow:0 7px 18px rgba(61,98,151,.12);overflow:hidden}.overview-stat-card:after{position:absolute;top:0;right:0;left:0;height:2px;background:linear-gradient(90deg,var(--blue),transparent 72%);opacity:.3;content:""}.overview-stat-card span,.overview-stat-card small{display:block;color:var(--muted)}.overview-stat-card span{font-size:12px;font-weight:700}.overview-stat-card strong{display:block;margin:7px 0 4px;color:var(--ink);font-size:28px;line-height:1}.overview-stat-card small{font-size:10px}.overview-stat-card em{position:absolute;top:15px;right:16px;padding:4px 8px;color:#2f9e74;background:#eff8f4;border-radius:18px;font-size:10px;font-style:normal;font-weight:700}
.overview-stat-card-action{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer}.overview-stat-card-action:hover,.overview-stat-card-action:focus-visible{border-color:#91aff0;box-shadow:0 10px 24px rgba(49,104,255,.18);outline:none;transform:translateY(-1px)}
.overview-focus-card{display:flex;min-height:0;flex:1;flex-direction:column;background:rgba(255,255,255,.95);border:1px solid #d5e0ee;border-radius:12px;box-shadow:0 7px 18px rgba(61,98,151,.12);overflow:hidden}.overview-focus-card header{display:flex;min-height:55px;padding:10px 13px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.overview-focus-card h2{margin:0;font-size:14px}.overview-focus-card p{margin:3px 0 0;color:var(--muted);font-size:9px}.overview-focus-card header button{padding:0;color:var(--blue);background:transparent;border:0;font-size:10px;font-weight:700}.overview-focus-list{min-height:0;overflow:auto}.overview-focus-list .overview-empty{padding:22px 12px;color:var(--muted);font-size:11px;text-align:center}.overview-event{display:grid;width:100%;grid-template-columns:29px minmax(0,1fr) 38px;gap:7px;min-height:78px;padding:11px 12px;align-items:center;color:inherit;background:transparent;border:0;border-bottom:1px solid #e6edf6;border-radius:0;cursor:pointer;appearance:none;font:inherit;text-align:left;outline:none}.overview-event:last-child{border-bottom:0}.overview-event:hover,.overview-event:focus{background:#f4f7ff}.overview-rank{color:var(--blue);font-size:14px;font-weight:800}.overview-event h3{margin:0 0 5px;overflow:hidden;font-size:10px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.overview-event p{margin:0;overflow:hidden;color:#8493a8;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.overview-score{text-align:right;color:var(--muted);font-size:8px;white-space:nowrap}.overview-score b{display:block;color:var(--red);font-size:16px}
.overview-map-tools{position:absolute;top:15px;right:15px;z-index:10;display:grid;gap:6px}.overview-map-tools button{display:grid;width:32px;height:32px;place-items:center;color:#526b8b;background:rgba(255,255,255,.95);border:1px solid #cbd9eb;border-radius:7px;box-shadow:0 3px 10px rgba(63,97,147,.12);font-size:17px}.overview-map-tools button:hover{color:var(--blue);border-color:#9eb9f4;background:#fff}.overview-map-legend{position:absolute;bottom:16px;left:17px;z-index:8;display:flex;gap:15px;padding:9px 12px;color:#617793;background:rgba(255,255,255,.95);border:1px solid #d5e0ee;border-radius:8px;box-shadow:0 5px 14px rgba(63,97,147,.1);font-size:10px}.overview-map-legend span{display:flex;gap:6px;align-items:center}.overview-map-legend i{display:inline-block;width:8px;height:8px;border-radius:50%}.overview-map-legend .major{background:var(--red)}.overview-map-legend .high{background:var(--amber)}.overview-map-legend .watch{background:#3d7cf5}.overview-map-legend .relation{width:18px;height:0;border-top:2px solid var(--blue);border-radius:0}.overview-map-hint{position:absolute;right:17px;bottom:17px;z-index:8;color:#7590ad;font-size:10px}
.overview-event-popover{position:absolute;z-index:15;width:340px;padding:14px 15px;color:var(--ink);background:rgba(255,255,255,.98);border:1px solid #cddcec;border-radius:9px;box-shadow:0 15px 35px rgba(48,82,132,.2),0 0 0 3px rgba(49,104,255,.06)}.overview-event-popover[hidden]{display:none}.overview-event-popover:before{position:absolute;top:-1px;right:13px;left:13px;height:2px;background:linear-gradient(90deg,transparent,var(--blue),transparent);content:""}.overview-event-popover .popover-close{position:absolute;top:8px;right:9px;width:27px;height:27px;color:#7890ac;background:transparent;border:0;font-size:19px}.overview-event-popover .chips{display:flex;gap:6px;padding-right:25px}.overview-event-popover .chip{padding:4px 7px;border-radius:5px;font-size:9px;font-weight:750}.overview-event-popover .chip.major{color:#dc3d58;background:#fff0f2}.overview-event-popover .chip.heat{color:#3168ff;background:#edf3ff}.overview-event-popover .chip.source{color:#6d809a;background:#f0f4f9}.overview-event-popover h3{margin:11px 22px 5px 0;font-size:16px;line-height:1.45}.overview-event-popover .popover-meta{color:#7288a4;font-size:10px}.overview-event-popover .popover-change{margin:11px 0;padding:9px 10px;color:#5e7290;background:#f4f7fb;border-left:3px solid var(--blue);border-radius:5px;font-size:11px;line-height:1.55}.overview-event-popover .popover-facts{display:flex;gap:14px;color:#7288a4;font-size:10px}.overview-event-popover .popover-facts b{margin-left:4px;color:var(--ink)}.overview-event-popover .popover-actions{display:flex;gap:8px;margin-top:12px}.overview-event-popover .popover-actions button{height:34px;padding:0 12px;border-radius:7px;font-size:11px}.overview-event-popover .analysis-button{flex:1;color:#fff;background:linear-gradient(90deg,#3168ff,#5b88ff);border:0;font-weight:750}.overview-event-popover .clear-button{color:#6a7f9b;background:#fff;border:1px solid #cbd9eb}
.overview-assessment-backdrop{position:fixed;inset:0;z-index:80;display:flex;justify-content:flex-end;background:rgba(28,51,86,.2);backdrop-filter:blur(3px)}.overview-assessment-backdrop[hidden]{display:none!important}.overview-assessment{width:min(520px,42vw);height:100%;color:var(--ink);background:#fff;border-left:1px solid #cddbeb;box-shadow:-20px 0 55px rgba(48,82,132,.22);overflow:auto;animation:overviewDrawerIn .22s ease-out}.overview-assessment>header{position:sticky;top:0;z-index:2;display:flex;height:66px;padding:0 19px;align-items:center;justify-content:space-between;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.overview-assessment>header small,.overview-assessment>header strong{display:block}.overview-assessment>header small{color:var(--blue);font-size:9px;letter-spacing:.15em}.overview-assessment>header strong{margin-top:3px;font-size:15px}.overview-assessment>header button{width:34px;height:34px;color:#526b8b;background:#fff;border:1px solid #cbd9eb;border-radius:8px;font-size:21px}.overview-assessment #overviewAssessmentContent{padding:20px}.overview-assessment h2{margin:12px 0 5px;font-size:23px;line-height:1.4}.overview-assessment .drawer-meta{color:#7f91aa;font-size:11px}.overview-assessment .drawer-summary{margin:15px 0;padding:12px;color:#536b8a;background:#f2f6fc;border-left:3px solid var(--blue);border-radius:7px;font-size:12px;line-height:1.7}.overview-assessment .drawer-section{padding-top:17px;margin-top:17px;border-top:1px solid #e1e8f2}.overview-assessment .drawer-section h3{margin:0 0 10px;font-size:14px}.overview-assessment .relation-items{display:grid;gap:8px}.overview-assessment .relation-item{display:grid;grid-template-columns:54px minmax(0,1fr) 40px;gap:9px;padding:10px;align-items:center;background:#f8faff;border:1px solid #dbe5f2;border-radius:8px}.overview-assessment .relation-item span{padding:4px 5px;color:#3168ff;background:#edf3ff;border-radius:4px;text-align:center;font-size:9px}.overview-assessment .relation-item b{display:block;font-size:11px}.overview-assessment .relation-item small{display:block;margin-top:4px;color:#7890aa;font-size:9px}.overview-assessment .relation-item em{color:#506887;font-size:11px;font-style:normal;font-weight:750}.overview-assessment .impact-box{padding:11px;color:#536b8a;background:#f8faff;border:1px solid #dbe5f2;border-radius:8px;font-size:11px;line-height:1.7}.overview-assessment .full-event-button{width:100%;height:40px;margin-top:18px;color:#fff;background:linear-gradient(90deg,#3168ff,#5b88ff);border:0;border-radius:8px;font-weight:750}.overview-assessment .drawer-empty{padding:15px;color:#7890aa;background:#f8faff;border:1px dashed #cbd9eb;border-radius:8px;text-align:center;font-size:11px}@keyframes overviewDrawerIn{from{opacity:.6;transform:translateX(36px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:1439px){.overview-map-stage{height:560px}.overview-map-rail{width:205px}.overview-map-rail-left{left:14px}.overview-map-rail-right{right:14px}.overview-stat-card{padding:14px 15px}.overview-stat-card strong{font-size:25px}.overview-assessment{width:520px}}
@media(max-width:1240px){.overview-map-head{align-items:flex-start;gap:11px}.overview-map-filters{flex-wrap:wrap;justify-content:flex-end}.overview-map-stage{height:540px}.overview-map-rail{top:14px;bottom:14px;width:190px}.overview-map-rail-left{left:12px}.overview-map-rail-right{right:12px}.overview-focus-card header{padding-left:10px;padding-right:10px}.overview-event{grid-template-columns:26px minmax(0,1fr) 34px;padding-left:9px;padding-right:9px}.overview-event h3{font-size:9px}.overview-event p{font-size:8px}.overview-assessment{width:500px}}
@media(max-width:1180px){
  html,body{min-width:0}
  .sidebar{width:72px}
  .brand{justify-content:center;padding:0 10px}
  .brand>div,.source-state{display:none}
  .menu{padding:4px 8px}
  .menu button{justify-content:center;gap:0;padding:11px 8px;font-size:0}
  .menu button span{width:auto;font-size:16px}
  .main{margin-left:72px;min-width:0}
  .topbar{padding:0 16px}
  .workspace{padding:20px 16px 32px;min-width:0}
  .overview-map-head{padding:12px 14px}
  .overview-map-stage{min-width:0}
}

.overview-popover-leader{position:absolute;z-index:14;height:2px;pointer-events:none;transform-origin:0 50%;background:linear-gradient(90deg,#3168ff,rgba(49,104,255,.35));box-shadow:0 0 0 1px rgba(255,255,255,.75)}
.overview-popover-leader:before{position:absolute;left:-4px;top:-3px;width:8px;height:8px;background:#3168ff;border:2px solid #fff;border-radius:50%;box-sizing:border-box;content:""}
.overview-event-popover.centered-mode{position:absolute;max-width:min(460px,calc(100% - 28px));width:400px}
.overview-event-popover .popover-geo{display:flex;margin:9px 0 7px;padding:8px 9px;gap:3px;flex-direction:column;color:#365982;background:rgba(235,243,255,.86);border:1px solid #d5e4fb;border-radius:6px;font-size:10px;line-height:1.4}
.overview-event-popover .popover-geo b{font-size:11px}.overview-event-popover .popover-geo span{color:#6d829e}
.overview-event-popover .popover-geo.review{color:#a06913;background:rgba(255,247,229,.92);border-color:#f1ddb7}
.overview-event-popover .chip.cross-region{color:#8056b4;background:#f3edff}
.overview-event h3 .geo-review-badge{display:inline-block;margin-left:5px;padding:1px 4px;color:#a06913;background:#fff3d9;border-radius:3px;font-size:7px;font-style:normal;vertical-align:1px}
.event-geo-anchor{padding:13px 14px;background:#f5f8fd;border:1px solid #d8e3f0;border-left:3px solid #3168ff;border-radius:8px}.event-geo-anchor.review{background:#fff9ed;border-color:#f0deba;border-left-color:#dc961f}.event-geo-anchor header{display:flex;gap:6px;flex-direction:column}.event-geo-anchor header b{font-size:13px}.event-geo-anchor header span{color:#6d809a;font-size:10px}.event-geo-anchor ul{margin:9px 0 0;padding-left:18px;color:#536b8a;font-size:11px;line-height:1.65}
@media(max-width:760px){
  .topbar{height:auto;min-height:68px;gap:10px;flex-wrap:wrap;padding:10px 12px}
  .global-search{width:min(100%,420px);flex:1 1 260px}
  .top-actions{margin-left:auto}
  .workspace{padding:16px 10px 26px}
  .page-title{align-items:flex-start;gap:8px;flex-direction:column}
  .page-title h1{font-size:26px}
  .overview-map-head{flex-direction:column}
  .overview-map-filters{width:100%;justify-content:flex-start}
  .overview-map-filters select{flex:1;min-width:0}
  .overview-map-stage{height:520px}
  .overview-map-rail{width:166px;top:12px;bottom:12px;gap:8px}
  .overview-map-rail-left{left:10px}
  .overview-map-rail-right{right:10px}
  .overview-stat-card{min-height:88px;padding:12px 13px}
  .overview-stat-card strong{font-size:22px}
  .overview-stat-card em{top:12px;right:12px}
  .overview-focus-card header{min-height:48px;padding:8px 10px}
  .overview-focus-card h2{font-size:12px}
  .overview-event{grid-template-columns:23px minmax(0,1fr) 30px;min-height:70px;padding:8px 8px;gap:5px}
  .overview-event h3{font-size:8px}
  .overview-event p{font-size:7px}
  .overview-score b{font-size:14px}
  .overview-map-legend{left:10px;bottom:10px;gap:8px;padding:7px 9px;font-size:8px}
  .overview-map-hint{right:10px;bottom:11px;font-size:8px}
  .overview-event-popover{right:10px!important;left:10px!important;width:auto;max-width:none}
}

/* 总览页采用地图工作台布局：隐藏全局壳层，把筛选和操作收进地图。 */
body:has(#overviewMapStage) .topbar{display:none}
body:has(#overviewMapStage) .workspace{padding:0}
body:has(#overviewMapStage) .overview-map-shell{border:0;border-radius:0;box-shadow:none}
body:has(#overviewMapStage) .overview-map-head{display:none}
body:has(#overviewMapStage) .overview-map-stage{height:100vh;min-height:560px}
body:has(#overviewMapStage) .overview-map-rail-left .overview-stat-card{flex:0 0 auto}
.overview-map-filters-inmap{position:absolute;top:15px;right:58px;z-index:10;padding:4px;background:rgba(255,255,255,.92);border:1px solid #d5e0ee;border-radius:9px;box-shadow:0 5px 14px rgba(63,97,147,.1)}
.overview-map-filters-inmap .overview-segment{border:0;background:#f3f6fb}
.overview-map-filters-inmap select{background:rgba(255,255,255,.96)}
.overview-map-stage:fullscreen{width:100vw;height:100vh;min-height:0}
.overview-map-stage:fullscreen .overview-map-brand{top:24px}
.overview-map-stage:fullscreen .overview-map-filters-inmap{top:23px}

/* Region-linked map workspace.  The panels retain enough contrast for text
   while allowing coastlines and country boundaries to remain visible. */
body:has(#overviewMapStage) .overview-map-stage{
  --overview-right-rail:clamp(300px,20vw,360px);
}
body:has(#overviewMapStage) .overview-map-rail-left{
  top:50%;
  bottom:auto;
  width:238px;
  gap:14px;
  transform:translateY(-50%);
}
body:has(#overviewMapStage) .overview-map-rail-right{
  top:96px;
  right:18px;
  bottom:18px;
  width:var(--overview-right-rail);
}
body:has(#overviewMapStage) .overview-map-rail-right .overview-focus-card{
  width:100%;
  height:100%;
  max-height:none;
  flex:1;
}
.overview-stat-card,.overview-focus-card{
  background:rgba(255,255,255,.82);
  border-color:rgba(194,211,232,.78);
  box-shadow:0 12px 30px rgba(55,91,142,.13),inset 0 1px rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(12px) saturate(125%);
  backdrop-filter:blur(12px) saturate(125%);
}
.overview-stat-card em{
  color:#4f6f98;
  background:rgba(237,244,253,.78);
  border:1px solid rgba(199,215,235,.75);
}
.overview-focus-card header{
  min-height:68px;
  gap:10px;
  padding:12px 14px;
  background:rgba(255,255,255,.58);
  border-bottom-color:rgba(204,218,236,.75);
}
.overview-focus-heading{min-width:0;flex:1}
.overview-focus-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-focus-heading p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-focus-actions{display:flex;flex:0 0 auto;gap:8px;align-items:center;white-space:nowrap}
#overviewFocusToggle{display:none}
.overview-focus-list{min-height:0;max-height:none;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.overview-event{
  grid-template-columns:32px minmax(0,1fr) 48px;
  min-height:63px;
  gap:8px;
  padding:9px 13px;
  background:rgba(255,255,255,.22);
  border-bottom-color:rgba(211,223,239,.8);
}
.overview-event>div{min-width:0}.overview-event h3{font-size:11px}.overview-event p{font-size:8px}
.overview-event.selected{position:relative;background:rgba(230,239,255,.9);box-shadow:inset 3px 0 #3168ff}
.overview-event.selected .overview-rank{color:#fff;background:#3168ff;border-radius:5px;text-align:center}
.overview-event h3 em{display:inline-block;margin-left:6px;padding:2px 5px;color:#3168ff;background:#eaf1ff;border-radius:4px;font-size:8px;font-style:normal;vertical-align:1px}
.overview-focus-actions [hidden]{display:none}
.overview-event-popover.country-mode{width:420px;padding:15px}
.country-popover-head{display:flex;padding-right:30px;align-items:flex-end;justify-content:space-between}.country-popover-head small{color:#6f8eb4;font-size:8px;letter-spacing:.12em}.country-popover-head h3{margin:3px 0 0;font-size:16px}.country-popover-head>span{color:#8498b0;font-size:9px}
.popover-event-list{max-height:390px;margin-top:12px;overflow-y:auto;border:1px solid #dce6f2;border-radius:8px;scrollbar-width:thin}.popover-event-row{display:grid;width:100%;grid-template-columns:28px minmax(0,1fr) 34px;gap:8px;min-height:58px;padding:9px 10px;align-items:center;color:inherit;background:rgba(255,255,255,.6);border:0;border-bottom:1px solid #e6edf6;text-align:left}.popover-event-row:last-child{border-bottom:0}.popover-event-row:hover,.popover-event-row:focus{background:#edf3ff}.popover-event-row>span{color:#3168ff;font-size:12px;font-weight:800}.popover-event-row div{min-width:0}.popover-event-row b,.popover-event-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.popover-event-row b{font-size:10px}.popover-event-row small{margin-top:4px;color:#8192a9;font-size:8px}.popover-event-row em{color:#e33f54;font-size:14px;font-style:normal;font-weight:800;text-align:right}.popover-country-more{width:100%;height:34px;margin-top:10px;color:#3168ff;background:#f3f7ff;border:1px solid #cfddf3;border-radius:7px;font-size:10px;font-weight:750}.popover-back{margin:0 0 9px;padding:0;color:#3168ff;background:transparent;border:0;font-size:9px;font-weight:750}
.overview-relation-selection{position:relative;padding:10px 30px 10px 12px;background:rgba(237,244,255,.86);border-bottom:1px solid rgba(190,209,235,.85);box-shadow:inset 3px 0 #3168ff}
.overview-relation-selection[hidden]{display:none}.overview-relation-selection>div:first-child{display:flex;gap:5px;flex-direction:column}.overview-relation-selection small{color:#6d84a3;font-size:8px;letter-spacing:.03em}.overview-relation-selection b{font-size:11px}.overview-relation-selection-events{display:grid!important;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:5px;margin-top:7px;align-items:center}.overview-relation-selection-events button{min-width:0;padding:5px 6px;overflow:hidden;color:#365c91;background:rgba(255,255,255,.78);border:1px solid #cddcf0;border-radius:5px;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.overview-relation-selection-events span{color:#7b90ab;font-size:8px;text-align:center}.overview-relation-selection-close{position:absolute;top:8px;right:8px;width:22px;height:22px;color:#7086a3;background:transparent;border:0;font-size:17px}
.overview-event.relation-selected{position:relative;background:rgba(240,245,255,.78);box-shadow:inset 3px 0 #7f8cff}.overview-event.relation-selected .overview-rank{color:#fff;background:#7f8cff;border-radius:5px;text-align:center}
.overview-relation-popover{position:absolute;z-index:17;width:min(520px,calc(100% - 28px));padding:14px;color:var(--ink);background:rgba(255,255,255,.94);border:1px solid rgba(184,204,230,.9);border-radius:11px;box-shadow:0 18px 45px rgba(44,75,122,.24),0 0 0 3px rgba(49,104,255,.05);-webkit-backdrop-filter:blur(14px) saturate(130%);backdrop-filter:blur(14px) saturate(130%)}
.overview-relation-popover[hidden]{display:none}.overview-relation-popover:not(.locked){width:min(450px,calc(100% - 28px));pointer-events:auto}.overview-relation-popover:before{position:absolute;top:-1px;right:16px;left:16px;height:2px;background:linear-gradient(90deg,transparent,#7f8cff,transparent);content:""}.overview-relation-close{position:absolute;top:8px;right:9px;z-index:2;width:28px;height:28px;color:#7187a4;background:transparent;border:0;font-size:20px}.overview-relation-head{display:flex;padding-right:28px;gap:10px;align-items:flex-end;justify-content:space-between}.overview-relation-head small{display:block;color:#718db0;font-size:8px;letter-spacing:.12em}.overview-relation-head h3{margin:4px 0 0;font-size:17px}.overview-relation-head>div:last-child{color:#7186a2;font-size:9px;white-space:nowrap}.overview-relation-head>div:last-child b{margin-right:2px;color:#3168ff;font-size:20px}.overview-relation-summary{display:flex;margin:10px 0 9px;gap:8px;align-items:center}.overview-relation-summary span,.overview-relation-summary b{padding:4px 7px;border-radius:5px;font-size:9px}.overview-relation-summary span{color:#3168ff;background:#edf3ff}.overview-relation-summary b{color:#6c58bd;background:#f1efff}.overview-relation-summary em{margin-left:auto;color:#8b98aa;font-size:8px;font-style:normal}.overview-relation-list{display:grid;max-height:min(500px,55vh);gap:8px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.overview-relation-popover:not(.locked) .overview-relation-list{max-height:min(320px,42vh)}.overview-relation-pair{padding:9px;background:rgba(247,250,255,.86);border:1px solid #dce6f2;border-radius:8px}.overview-relation-pair>header{display:flex;margin-bottom:7px;gap:6px;align-items:center}.overview-relation-pair>header span{color:#3168ff;font-size:10px;font-weight:800}.overview-relation-pair>header b{padding:2px 5px;color:#536f98;background:#edf3fb;border-radius:4px;font-size:8px}.overview-relation-pair>header em{margin-left:auto;color:#6c58bd;font-size:9px;font-style:normal;font-weight:800}.overview-relation-events{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:6px;align-items:center}.overview-relation-events>span{color:#7f8cff;text-align:center}.overview-relation-events button{min-width:0;padding:8px;color:inherit;background:#fff;border:1px solid #d9e4f2;border-radius:6px;text-align:left}.overview-relation-events button:hover,.overview-relation-events button:focus{border-color:#91afff;background:#f3f7ff}.overview-relation-events small,.overview-relation-events strong,.overview-relation-events i{display:block}.overview-relation-events small{color:#7188a5;font-size:7px}.overview-relation-events strong{margin:4px 0;overflow:hidden;font-size:9px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.overview-relation-events i{overflow:hidden;color:#8b9aaf;font-size:7px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.overview-relation-pair>p{margin:7px 0 0;color:#7388a4;font-size:8px}.overview-relation-popover>footer{margin-top:9px;color:#8193aa;font-size:8px;text-align:center}.overview-relation-more{width:100%;height:34px;margin-top:9px;color:#3168ff;background:#f3f7ff;border:1px solid #cfddf3;border-radius:7px;font-size:10px;font-weight:750}
.overview-relation-match{margin-top:8px;padding:7px 8px;background:#f2f6fd;border:1px solid #d9e5f3;border-radius:6px}.overview-relation-match>strong{display:block;margin-bottom:5px;color:#536f98;font-size:8px}.overview-relation-match-row{display:grid;grid-template-columns:74px minmax(0,1fr) 16px minmax(0,1fr) auto;gap:4px;align-items:center;min-height:22px;color:#637b9d;font-size:8px}.overview-relation-match-row+.overview-relation-match-row{border-top:1px solid rgba(207,220,238,.65)}.overview-relation-match-row>span{color:#536f98;font-weight:700}.overview-relation-match-row>b{min-width:0;overflow:hidden;color:#263f64;font-size:8px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.overview-relation-match-row>i{color:#7f8cff;font-style:normal;text-align:center}.overview-relation-match-row>em{padding:2px 4px;color:#687da0;background:#e7effb;border-radius:3px;font-size:7px;font-style:normal;white-space:nowrap}
.overview-relation-events i{
  display:-webkit-box;
  overflow:hidden;
  color:#7388a4;
  font-size:7px;
  font-style:normal;
  line-height:1.45;
  white-space:normal;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.overview-relation-pair>p{line-height:1.45}
.overview-map-tools{
  top:96px;
  right:calc(var(--overview-right-rail) + 30px);
}
.overview-map-tools button,.overview-map-legend,.overview-map-filters-inmap{
  background:rgba(255,255,255,.82);
  border-color:rgba(194,211,232,.78);
  -webkit-backdrop-filter:blur(12px) saturate(125%);
  backdrop-filter:blur(12px) saturate(125%);
}
.overview-map-filters-inmap{
  right:18px;
  display:flex;
  max-width:calc(100% - 36px);
  gap:6px;
  overflow-x:auto;
  scrollbar-width:none;
}
.overview-map-filters-inmap::-webkit-scrollbar{display:none}
.overview-map-filters-inmap select{flex:0 0 auto;min-width:128px;background:rgba(255,255,255,.7)}
.overview-map-loading,.overview-map-status{
  position:absolute;
  left:50%;
  z-index:18;
  padding:9px 14px;
  color:#45678f;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(188,207,231,.85);
  border-radius:20px;
  box-shadow:0 8px 24px rgba(55,91,142,.14);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  font-size:11px;
  transform:translateX(-50%);
}
.overview-map-loading{top:74px}.overview-map-status{bottom:20px;color:#a84856}
.overview-map-loading[hidden],.overview-map-status[hidden]{display:none}
.overview-map-stage.is-loading #overviewWorldMap{opacity:.86;transition:opacity .18s ease}

@media(max-width:1439px){
  body:has(#overviewMapStage) .overview-map-stage{--overview-right-rail:300px}
  body:has(#overviewMapStage) .overview-map-rail-left{width:205px}
  body:has(#overviewMapStage) .overview-map-rail-right{top:92px}
  .overview-map-tools{top:92px;right:calc(var(--overview-right-rail) + 26px)}
  .overview-focus-card header{padding-left:12px;padding-right:12px}
  .overview-event{grid-template-columns:28px minmax(0,1fr) 42px;padding-left:10px;padding-right:10px}
}

@media(max-width:1024px){
  body:has(#overviewMapStage) .overview-map-stage{--overview-right-rail:280px}
  body:has(#overviewMapStage) .overview-map-rail-left{left:12px;width:188px}
  body:has(#overviewMapStage) .overview-map-rail-right{right:12px}
  .overview-map-tools{right:calc(var(--overview-right-rail) + 22px)}
  .overview-map-filters-inmap select{min-width:112px}
}

@media(max-width:760px){
  body:has(#overviewMapStage) .overview-map-stage{min-height:620px}
  .overview-map-filters-inmap{
    top:10px;
    right:10px;
    left:10px;
    max-width:none;
    width:auto;
    padding:4px;
  }
  .overview-map-filters-inmap select{min-width:112px;flex:none}
  body:has(#overviewMapStage) .overview-map-rail-left{
    top:68px;
    right:10px;
    left:10px;
    bottom:auto;
    width:auto;
    flex-direction:row;
    gap:8px;
    transform:none;
  }
  .overview-map-rail-left .overview-stat-card{
    min-width:0;
    min-height:82px;
    flex:1 1 33.333%;
    padding:11px 12px;
  }
  .overview-map-rail-left .overview-stat-card span{padding-right:52px;font-size:10px}
  .overview-map-rail-left .overview-stat-card strong{margin:6px 0 3px;font-size:21px}
  .overview-map-rail-left .overview-stat-card small{overflow:hidden;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
  .overview-map-rail-left .overview-stat-card em{top:10px;right:10px;padding:3px 6px;font-size:8px}
  body:has(#overviewMapStage) .overview-map-rail-right{
    top:auto;
    right:10px;
    bottom:10px;
    left:10px;
    width:auto;
  }
  body:has(#overviewMapStage) .overview-map-rail-right .overview-focus-card{max-height:min(312px,50vh)}
  .overview-focus-card header{min-height:58px;padding:10px 12px}
  .overview-focus-card h2{font-size:12px}
  .overview-focus-actions{gap:10px}
  #overviewFocusToggle{display:inline-block}
  .overview-map-rail-right:not(.expanded) .overview-focus-list{display:none}
  .overview-map-rail-right.expanded .overview-focus-list{display:block;max-height:238px}
  .overview-map-tools{top:166px;right:10px}
  .overview-map-tools button{width:30px;height:30px}
  .overview-map-legend{bottom:76px;left:10px;gap:7px;padding:7px 8px}
  .overview-map-hint{display:none}
  .overview-map-loading{top:164px}
  .overview-map-status{bottom:80px;width:max-content;max-width:calc(100% - 24px)}
  .overview-event-popover.country-mode{right:10px!important;left:10px!important;width:auto;max-width:none}
  .popover-event-list{max-height:240px}
  .overview-relation-popover{top:auto!important;right:10px;bottom:10px;left:10px!important;width:auto!important;max-height:62vh;padding:12px}
  .overview-relation-popover:not(.locked){width:auto!important}
  .overview-relation-list,.overview-relation-popover:not(.locked) .overview-relation-list{max-height:42vh}
  .overview-relation-head h3{font-size:15px}.overview-relation-summary em{display:none}
  .overview-relation-events{grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr);gap:4px}
  .overview-relation-events button{padding:7px 6px}
  .overview-relation-match-row{grid-template-columns:64px minmax(0,1fr) 12px minmax(0,1fr)}
  .overview-relation-match-row>em{display:none}
  .overview-relation-selection{padding-top:8px;padding-bottom:8px}
}
