/* Compact discovery dashboard; the AURORA archive remains the visual focus. */
body:has(.portal-hub) .site-header .desktop-nav{
  gap:clamp(7px,.75vw,12px);
  margin-inline:clamp(8px,1.2vw,20px);
}
body:has(.portal-hub) .site-header .desktop-nav a{
  font-size:clamp(8.5px,.68vw,10px);
  letter-spacing:.025em;
  white-space:nowrap;
}
body:has(.portal-hub) .site-header .desktop-nav .nav-report{color:#edf5fa;}
body:has(.portal-hub) .silence-hero .silence-actions .portal-news-cta{
  background:#03080f8c;
  border-color:#71808e66;
}
body:has(.portal-hub) .portal-hub{
  position:relative;z-index:7;flex:0 0 auto;
  width:min(1440px,calc(100% - clamp(40px,8vw,152px)));
  max-width:1440px;
  margin:0 auto;
  padding:14px 0 12px;
  border-top:1px solid #91a8b52b;
  border-bottom:1px solid #91a8b522;
  background:radial-gradient(ellipse at 15% 0%,#20364618,transparent 55%);
}
body:has(.portal-hub) .portal-hub-heading{
  display:flex;align-items:end;justify-content:space-between;gap:28px;
  margin-bottom:11px;
}
body:has(.portal-hub) .portal-hub-actions{
  display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;
}
body:has(.portal-hub) .portal-kicker{
  margin:0 0 7px;color:#9cabb7;
  font:600 9px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.16em;
}
body:has(.portal-hub) .portal-hub-heading h2{
  margin:0;color:#edf2f6;font-size:clamp(22px,2.2vw,31px);
  line-height:1.12;font-weight:480;letter-spacing:-.035em;
}
body:has(.portal-hub) #portalIntro{
  flex:1 1 230px;max-width:430px;margin:0;color:#9eabb6;font-size:12px;line-height:1.55;
}
body:has(.portal-hub) .portal-submit-news{
  flex:none;display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:6px 10px;border:1px solid #9bb3c94d;border-radius:4px;
  background:#050b10;color:#dce8ef;text-decoration:none;font-size:10px;font-weight:620;
  white-space:nowrap;
}
body:has(.portal-hub) .portal-submit-news:hover{border-color:#b8d1e1a0;background:#111b24;color:#fff;}
body:has(.portal-hub) .portal-submit-news:focus-visible{outline:2px solid #cde7f5;outline-offset:3px;}
body:has(.portal-hub) .portal-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;
}
body:has(.portal-hub) .portal-card{
  min-width:0;min-height:64px;display:grid;
  grid-template-columns:18px minmax(0,1fr) 12px;align-items:center;gap:10px;
  padding:9px 11px;border:1px solid #71839138;border-radius:4px;
  background:linear-gradient(115deg,#0a1017c9,#05080cb8);
  color:#dbe4eb;text-decoration:none;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease;
}
body:has(.portal-hub) .portal-card>.icon{width:18px;height:18px;color:#aab9c5;}
body:has(.portal-hub) .portal-card>span:nth-child(2){min-width:0;}
body:has(.portal-hub) .portal-card strong{
  display:block;overflow-wrap:anywhere;color:#eef3f7;
  font-size:12px;line-height:1.35;font-weight:620;
}
body:has(.portal-hub) .portal-card small{
  display:block;margin-top:4px;overflow-wrap:anywhere;
  color:#91a0ad;font-size:10px;line-height:1.4;
}
body:has(.portal-hub) .portal-arrow{color:#9fb4c2;font-size:12px;}
body:has(.portal-hub) .portal-card:hover{
  border-color:#b6cbd955;background:#101b25;transform:translateY(-1px);
}
body:has(.portal-hub) .portal-card:focus-visible{
  outline:2px solid #cde7f5;outline-offset:3px;border-color:#cde7f5;
}
@media(max-width:1200px){
  body:has(.portal-hub) .site-header .desktop-nav{gap:6px;margin-inline:8px;}
  body:has(.portal-hub) .site-header .desktop-nav a{font-size:9px;}
}
@media(max-width:900px){
  body:has(.portal-hub) .portal-hub{width:calc(100% - 48px);}
  body:has(.portal-hub) .portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body:has(.portal-hub) .portal-hub{width:calc(100% - 32px);padding-block:13px 13px;}
  body:has(.portal-hub) .portal-hub-heading{display:block;margin-bottom:10px;}
  body:has(.portal-hub) .portal-hub-heading h2{font-size:21px;}
  body:has(.portal-hub) .portal-hub-actions{justify-content:space-between;gap:7px;margin-top:6px;}
  body:has(.portal-hub) #portalIntro{margin:0;font-size:10px;line-height:1.4;}
  body:has(.portal-hub) .portal-submit-news{min-height:30px;padding:5px 7px;font-size:9px;}
  body:has(.portal-hub) .portal-grid{gap:6px;}
  body:has(.portal-hub) .portal-card{
    min-height:66px;grid-template-columns:17px minmax(0,1fr);gap:7px;
    padding:8px 8px;
  }
  body:has(.portal-hub) .portal-card>.icon{width:16px;height:16px;}
  body:has(.portal-hub) .portal-card strong{font-size:11px;}
  body:has(.portal-hub) .portal-card small{font-size:9px;line-height:1.35;}
  body:has(.portal-hub) .portal-arrow{display:none;}
  body:has(.portal-hub) .silence-hero .silence-actions{flex-wrap:wrap;}
  body:has(.portal-hub) .silence-hero .silence-actions .button{flex:1 1 auto;}
}
@media(prefers-reduced-motion:reduce){
  body:has(.portal-hub) .portal-card{transition:none;}
}


/* Owner-requested cleanup: the portal itself links to the world atlas; remove
   redundant orbit CTA, tall empty hero space, and repeated stock dossier art. */
@media(min-width:641px){
  body:has(.portal-hub) .silence-hero{
    height:auto;
    min-height:0;
    max-height:none;
  }
  body:has(.portal-hub) .silence-hero .silence-copy{
    margin-top:clamp(112px,13svh,155px);
    margin-bottom:clamp(24px,3svh,40px);
  }
  body:has(.portal-hub) .silence-hero .silence-bottom{
    width:min(1440px,calc(100% - clamp(40px,8vw,152px)));
    left:auto;right:auto;bottom:auto;
    margin:clamp(22px,2.5svh,36px) auto clamp(30px,4svh,50px);
    padding-top:0;
  }
  body:has(.portal-hub) .silence-hero .silence-stats{
    width:100%;
  }
}
/* The orbit map's detail sidebar can be much taller than the map due to
   source links. Keep it independently scrollable so it cannot produce a
   large empty rectangle under the map before the next section. */
body:has(.portal-hub) .world-map-layout{align-items:start;}
body:has(.portal-hub) .world-case-detail{
  max-height:clamp(320px,29vw,565px);
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-color:#445e70 #07101a;
}
body:has(.portal-hub) #reports .report-grid{align-items:stretch;}
body:has(.portal-hub) #reports .report-card{
  display:flex;flex-direction:column;
  min-height:245px;padding:clamp(18px,2vw,26px);
  background:linear-gradient(150deg,#0c1820,#06100f);
  border:1px solid #6b938554;
}
body:has(.portal-hub) #reports .report-card h3{
  font-size:clamp(16px,1.25vw,22px);
  line-height:1.32;
  margin:13px 0 11px;
}
body:has(.portal-hub) #reports .report-card .desc{
  margin-bottom:12px;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body:has(.portal-hub) #reports .report-card .report-source{
  display:block;
  margin:auto 0 10px;
  color:#9ab6b3;
  font:500 11px/1.5 ui-monospace,Consolas,monospace;
  overflow-wrap:anywhere;
}
body:has(.portal-hub) #reports .report-card .report-bottom{margin-top:auto;}
@media(max-width:1000px){
  body:has(.portal-hub) .world-case-detail{max-height:none;overflow-y:visible;}
}
@media(max-width:640px){
  body:has(.portal-hub) .silence-hero{min-height:0;}
  body:has(.portal-hub) #reports .report-card{min-height:220px;}
}
