
/* v358 - clean corrective UI pass.
   The previous v356/v357 hero was too large. This file is loaded last. */

:root {
  --v358-ink:#0e1b2a;
  --v358-muted:#607086;
  --v358-line:#d7e1eb;
  --v358-red:#98282b;
  --v358-red-dark:#681b20;
  --v358-green:#16795b;
  --v358-gold:#b7791f;
  --v358-blue:#2563eb;
}

/* Sidebar: centered but compact; no big dead block. */
@media (min-width:901px){
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar.platform-sidebar-v295{
    width:216px!important;
    min-width:216px!important;
    max-width:216px!important;
    padding:10px 12px 12px!important;
  }
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .platform-brand-v295.brand-panel-premium{
    min-height:138px!important;
    padding:8px 6px 12px!important;
    display:grid!important;
    place-items:center!important;
    align-content:center!important;
    gap:7px!important;
    text-align:center!important;
    border-bottom:1px solid var(--v358-line)!important;
  }
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .platform-brand-v295>button{display:none!important;}
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .platform-brand-v295 a{
    display:grid!important;
    place-items:center!important;
    width:100%!important;
    margin:0!important;
  }
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-logo-large{
    width:142px!important;
    max-width:142px!important;
    height:50px!important;
    max-height:50px!important;
    object-fit:contain!important;
    object-position:center!important;
    margin:0 auto!important;
    display:block!important;
  }
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-copy{
    margin:0!important;
    display:grid!important;
    justify-items:center!important;
    gap:4px!important;
  }
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-subtitle{
    font-size:10px!important;
    line-height:1.1!important;
    letter-spacing:.13em!important;
    font-weight:950!important;
    text-transform:uppercase!important;
    color:var(--v358-ink)!important;
  }
  body:not(.endpoint-auth-login):not(.lineup-tv-body):not(.movement-tv-body) #platformSidebar .brand-tag{
    max-width:165px!important;
    font-size:10px!important;
    line-height:1.3!important;
    color:var(--v358-muted)!important;
  }
}

/* Hero: back to reference scale. Not giant. */
body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291{
  position:relative!important;
  min-height:174px!important;
  height:auto!important;
  padding:28px 42px!important;
  border-radius:18px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  background-size:cover!important;
  background-position:center right!important;
  box-shadow:0 14px 34px rgba(15,28,42,.08)!important;
}
body.endpoint-main-dashboard .cc-hero-amspec-v297.cc-hero-v291::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.88) 42%,rgba(255,255,255,.38) 72%,rgba(255,255,255,.08) 100%)!important;
  pointer-events:none!important;
}
body.endpoint-main-dashboard .cc-hero-copy-v297{
  position:relative!important;
  z-index:1!important;
  max-width:760px!important;
  padding:0!important;
}
body.endpoint-main-dashboard .cc-hero-copy-v297 span{
  font-size:10px!important;
  line-height:1!important;
  letter-spacing:.23em!important;
  font-weight:950!important;
  color:var(--v358-red)!important;
  text-transform:uppercase!important;
}
body.endpoint-main-dashboard .cc-hero-copy-v297 h1{
  margin:10px 0 10px!important;
  max-width:760px!important;
  font-size:40px!important;
  line-height:1.05!important;
  letter-spacing:-.035em!important;
  font-weight:950!important;
  color:#0a1725!important;
}
html[lang="pt"] body.endpoint-main-dashboard .cc-hero-copy-v297 h1,
html[data-ui-language="pt"] body.endpoint-main-dashboard .cc-hero-copy-v297 h1{
  font-size:38px!important;
  max-width:780px!important;
}
body.endpoint-main-dashboard .cc-hero-copy-v297 p{
  max-width:620px!important;
  font-size:14.5px!important;
  line-height:1.42!important;
  font-weight:650!important;
  color:#142236!important;
}
body.endpoint-main-dashboard .cc-hero-actions-v297{
  position:relative!important;
  z-index:1!important;
}

/* Weather: condition-specific and readable, without oversized layout. */
body.endpoint-main-dashboard .cc-weather-v291>header{
  padding:14px 16px 11px!important;
  border-bottom:1px solid var(--v358-line)!important;
}
body.endpoint-main-dashboard .cc-weather-v291>header h2{font-size:17px!important;}
body.endpoint-main-dashboard .cc-weather-v291>header>button{
  width:44px!important;
  height:44px!important;
  border-radius:13px!important;
}
body.endpoint-main-dashboard #ccWeatherNow{padding:14px 16px 12px!important;}
body.endpoint-main-dashboard .cc-weather-now-v356{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr) auto!important;
  gap:11px!important;
  align-items:center!important;
  padding:12px!important;
  border:1px solid var(--v358-line)!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
}
body.endpoint-main-dashboard .cc-weather-now-icon-v356{
  width:52px!important;height:52px!important;border-radius:16px!important;display:grid!important;place-items:center!important;
}
body.endpoint-main-dashboard .cc-weather-now-v356.wx-clear .cc-weather-now-icon-v356{background:linear-gradient(145deg,#fff2bf,#f7bf45)!important;color:#8a5a00!important;}
body.endpoint-main-dashboard .cc-weather-now-v356.wx-cloud .cc-weather-now-icon-v356{background:linear-gradient(145deg,#eff3f7,#b5c1cf)!important;color:#425568!important;}
body.endpoint-main-dashboard .cc-weather-now-v356.wx-rain .cc-weather-now-icon-v356{background:linear-gradient(145deg,#d9ebff,#3b82f6)!important;color:#fff!important;}
body.endpoint-main-dashboard .cc-weather-now-v356.wx-storm .cc-weather-now-icon-v356{background:linear-gradient(145deg,#ffe09a,#a1252b)!important;color:#fff!important;}
body.endpoint-main-dashboard .cc-weather-now-icon-v356 svg{width:26px!important;height:26px!important;}
body.endpoint-main-dashboard .cc-weather-now-copy-v356 b{font-size:13.5px!important;line-height:1.22!important;color:var(--v358-ink)!important;}
body.endpoint-main-dashboard .cc-weather-now-copy-v356 strong{font-size:22px!important;line-height:1!important;font-weight:950!important;color:var(--v358-ink)!important;}
body.endpoint-main-dashboard .cc-weather-now-copy-v356 small{font-size:11.5px!important;line-height:1.3!important;color:var(--v358-muted)!important;}
body.endpoint-main-dashboard .cc-weather-risk-v356 em{min-width:82px!important;height:28px!important;font-size:9px!important;}
body.endpoint-main-dashboard .cc-weather-risk-v356 span{font-size:10.5px!important;}
body.endpoint-main-dashboard .cc-weather-days-v291{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  padding:0 16px 16px!important;
  gap:9px!important;
}
body.endpoint-main-dashboard .cc-weather-days-v291 article{
  min-height:116px!important;
  padding:10px 8px!important;
  border:1px solid var(--v358-line)!important;
  border-radius:14px!important;
  display:grid!important;
  align-content:start!important;
  justify-items:center!important;
  gap:5px!important;
  box-shadow:0 7px 16px rgba(15,28,42,.04)!important;
}
body.endpoint-main-dashboard .cc-weather-days-v291 article::before{display:none!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-clear{background:linear-gradient(180deg,#fffaf0,#fff)!important;border-color:#f2d69a!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-cloud{background:linear-gradient(180deg,#f5f8fc,#fff)!important;border-color:#d6dee7!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-rain{background:linear-gradient(180deg,#eef6ff,#fff)!important;border-color:#bfd7ff!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-storm{background:linear-gradient(180deg,#fff1f2,#fff)!important;border-color:#f4c2cb!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 .cc-weather-icon-v342{
  width:38px!important;height:38px!important;border-radius:13px!important;display:grid!important;place-items:center!important;
}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-clear .cc-weather-icon-v342{background:linear-gradient(145deg,#fff2bf,#f7bf45)!important;color:#8a5a00!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-cloud .cc-weather-icon-v342{background:linear-gradient(145deg,#eff3f7,#b5c1cf)!important;color:#425568!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-rain .cc-weather-icon-v342{background:linear-gradient(145deg,#d9ebff,#3b82f6)!important;color:#fff!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 article.wx-storm .cc-weather-icon-v342{background:linear-gradient(145deg,#ffe09a,#a1252b)!important;color:#fff!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 .cc-weather-icon-v342 svg{width:22px!important;height:22px!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 b{font-size:9px!important;color:var(--v358-red)!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 strong{font-size:26px!important;line-height:1!important;color:var(--v358-ink)!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 em{font-size:15px!important;color:var(--v358-muted)!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 span{font-size:12px!important;line-height:1.15!important;font-weight:800!important;color:#223245!important;text-align:center!important;}
body.endpoint-main-dashboard .cc-weather-days-v291 small{font-size:10px!important;line-height:1.2!important;color:var(--v358-muted)!important;text-align:center!important;}

/* Atlas: restore usable map; no floating live berths; no white ghost terminal cards. */
.endpoint-main-operations_atlas .atlas44-live-terminals,
.endpoint-main-operations_atlas .atlas44-map-note,
.endpoint-main-operations_atlas .atlas44-map-pulse{display:none!important;}

.endpoint-main-operations_atlas .atlas44-map-panel{
  min-height:calc(100vh - 278px)!important;
  height:72vh!important;
  border-radius:26px!important;
  border:1px solid rgba(255,255,255,.92)!important;
  background:#e8edf3!important;
  box-shadow:0 22px 60px rgba(13,27,45,.14)!important;
}
.endpoint-main-operations_atlas .atlas44-map-panel::before{
  background:radial-gradient(circle at 43% 54%,rgba(152,40,43,.10),transparent 30%),linear-gradient(135deg,rgba(15,28,42,.05),transparent 24%,rgba(255,255,255,.14) 78%)!important;
}
.endpoint-main-operations_atlas .atlas44-branch-marker{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
  border:3px solid #fff!important;border-radius:50%!important;
  background:#98282b!important;color:#fff!important;
  box-shadow:0 9px 20px rgba(13,27,45,.18)!important;
}
.endpoint-main-operations_atlas .atlas44-branch-marker.offline{background:#526173!important;opacity:.82!important;}
.endpoint-main-operations_atlas .atlas44-branch-marker>svg{width:18px!important;height:18px!important;}
.endpoint-main-operations_atlas .atlas44-branch-marker>span{display:none!important;}
.endpoint-main-operations_atlas .atlas44-branch-marker>em{
  top:-7px!important;right:-7px!important;min-width:18px!important;height:18px!important;
  font-size:7px!important;border:2px solid #fff!important;background:#fff!important;color:#98282b!important;
}

/* Terminal markers: compact stable beacon; does not become a white card on hover. */
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom{
  width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;
  padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:50%!important;grid-template-columns:1fr!important;
}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom .atlas44-terminal-copy,
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom>em,
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom .atlas44-contract,
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom .atlas44-stack-index{display:none!important;}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom .atlas44-beacon-ring{
  left:2px!important;top:2px!important;width:46px!important;height:46px!important;border-radius:50%!important;
  background:rgba(152,40,43,.20)!important;box-shadow:0 0 0 1px rgba(152,40,43,.24),0 0 0 8px rgba(152,40,43,.07)!important;
}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom .atlas44-terminal-icon{
  width:39px!important;height:39px!important;border-radius:50%!important;border:3px solid #fff!important;
  background:radial-gradient(circle at 35% 30%,#c94d53 0%,#98282b 42%,#651a1f 100%)!important;
  color:#fff!important;box-shadow:0 13px 28px rgba(152,40,43,.32)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom .atlas44-terminal-icon svg{width:21px!important;height:21px!important;}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom:hover,
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom.selected{
  width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;
  padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;
}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom:hover .atlas44-terminal-icon,
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom.selected .atlas44-terminal-icon{
  transform:scale(1.06)!important;box-shadow:0 0 0 5px rgba(152,40,43,.14),0 15px 30px rgba(152,40,43,.36)!important;
}
.endpoint-main-operations_atlas .atlas44-terminal-marker.atlas44-terminal-dom.selected::after{
  content:attr(data-terminal-label);
  position:absolute;top:56px;left:50%;transform:translateX(-50%);
  max-width:160px;padding:5px 8px;border:1px solid rgba(255,255,255,.95);border-radius:999px;
  color:#0f1c2a;background:rgba(255,255,255,.96);box-shadow:0 10px 22px rgba(15,28,42,.12);
  font-size:10px;font-weight:850;line-height:1;white-space:nowrap;
}
.endpoint-main-operations_atlas .atlas44-operation-marker.stuffing{
  width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
  border-radius:12px!important;border:3px solid #fff!important;background:linear-gradient(145deg,#c53d43,#8b2328)!important;
  box-shadow:0 12px 24px rgba(139,35,40,.25)!important;
}
.endpoint-main-operations_atlas .atlas44-operation-marker.stuffing>span,
.endpoint-main-operations_atlas .atlas44-operation-marker.stuffing>em{display:none!important;}
.endpoint-main-operations_atlas .atlas44-operation-marker.stuffing>svg{width:19px!important;height:19px!important;color:#fff!important;}
