/**
 * SkyBioML Portal UI — full reskin of SkyBioML panels (HQ / WidgetFrame tech style).
 * Loaded last; scoped to #coriolis.sky-portal-ui. Requires html.skybioml-branded, body.skybioml-branded.
 */
html.skybioml-branded, body.skybioml-branded {
  --sky-widget-bg: #0a0a0f;
  --sky-widget-header: rgba(255, 255, 255, 0.03);
  --sky-widget-border: rgba(255, 255, 255, 0.1);
  --sky-widget-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --sky-accent: #dc2626;
  --sky-accent-bright: #f87171;
  --sky-accent-soft: rgba(220, 38, 38, 0.35);
  --sky-tech-orange: var(--sky-accent-bright);
  --sky-nav-h: 56px;
  --sky-nav-btn-h: 36px;
  --sky-nav-bg-top: #1a0c12;
  --sky-nav-bg-mid: #12080f;
  --sky-nav-bg-bot: #08060a;
  --sky-nav-deck: rgba(220, 38, 38, 0.08);
  --sky-nav-glow: rgba(220, 38, 38, 0.45);
}

/* Chrome bar must stay fixed at top — do not inherit SkyBioML header offset */
#skybioml-shipyard-chrome {
  display: none !important;
}

html.skybioml-branded, body.skybioml-branded {
  padding-top: 0 !important;
  --sky-chrome-h: 0;
}

/* ── Ops shell: grid + vignette (portal HQ) ── */
html.skybioml-branded,
html.skybioml-branded body {
  margin: 0 !important;
  padding: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui,
body.skybioml-branded #coriolis.sky-portal-ui {
  position: relative;
  min-height: 100vh;
  padding-top: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui,
body.skybioml-branded #coriolis.sky-portal-ui {
  min-height: 100vh;
  box-sizing: border-box !important;
  font-family: var(--sky-font-body, "Play", "Segoe UI", sans-serif) !important;
  color: #e5e7eb !important;
  background-color: #0a0a0f !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(ellipse 90% 50% at 50% -10%, rgba(220, 38, 38, 0.14), transparent 55%) !important;
  background-size: 24px 24px, 24px 24px, 100% 100% !important;
}

html.skybioml-branded #coriolis.sky-portal-ui::after,
body.skybioml-branded #coriolis.sky-portal-ui::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 100%);
}

html.skybioml-branded #coriolis.sky-portal-ui > div,
body.skybioml-branded #coriolis.sky-portal-ui > div {
  padding-top: 0 !important;
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
  box-sizing: border-box !important;
  min-height: 0 !important;
}

/* ── Portal ops strip (header aligned with HQ widgets) ── */
html.skybioml-branded #coriolis header.sky-top-bar,
html.skybioml-branded #coriolis.sky-portal-ui header.sky-top-bar,
html.skybioml-branded #coriolis header,
html.skybioml-branded #coriolis.sky-portal-ui header,
body.skybioml-branded #coriolis header.sky-top-bar,
body.skybioml-branded #coriolis.sky-portal-ui header.sky-top-bar,
body.skybioml-branded #coriolis header,
body.skybioml-branded #coriolis.sky-portal-ui header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  height: var(--sky-nav-h) !important;
  min-height: var(--sky-nav-h) !important;
  max-height: none !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 18px 0 16px !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  z-index: 100 !important;
  isolation: isolate !important;
  float: none !important;
  clear: both !important;
  overflow: visible !important;
  background-color: rgba(10, 10, 15, 0.98) !important;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 42%
  ) !important;
  border: none !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 3px 0 0 #dc2626,
    0 4px 24px rgba(0, 0, 0, 0.35) !important;
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
}

html.skybioml-branded #coriolis header::before, body.skybioml-branded #coriolis header::before,
html.skybioml-branded #coriolis header::before, body.skybioml-branded #coriolis header::before {
  display: none !important;
  content: none !important;
}

html.skybioml-branded #coriolis header::after, body.skybioml-branded #coriolis header::after,
html.skybioml-branded #coriolis header::after, body.skybioml-branded #coriolis header::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  pointer-events: none !important;
  z-index: 2 !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(220, 38, 38, 0.55) 35%,
    rgba(220, 38, 38, 0.85) 50%,
    rgba(220, 38, 38, 0.55) 65%,
    transparent 100%
  ) !important;
  filter: none !important;
  box-shadow: none !important;
}

html.skybioml-branded #coriolis header > *, body.skybioml-branded #coriolis header > *,
html.skybioml-branded #coriolis header > *, body.skybioml-branded #coriolis header > *{
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  float: none !important;
  align-self: center !important;
  vertical-align: middle !important;
}

/* Coriolis hides nav labels on narrow screens — always show in SkyBioML */
html.skybioml-branded #coriolis header .menu-header .menu-item-label,
body.skybioml-branded #coriolis header .menu-header .menu-item-label {
  display: inline-block !important;
  visibility: visible !important;
}

/* Coriolis .l/.r use float — breaks flex vertical alignment in header */
html.skybioml-branded #coriolis header > a.l.skybioml-home,
body.skybioml-branded #coriolis header > a.l.skybioml-home {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
  height: var(--sky-nav-btn-h) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html.skybioml-branded #coriolis header > .l.menu,
html.skybioml-branded #coriolis header > .r.menu,
html.skybioml-branded #coriolis header > .menu.l,
html.skybioml-branded #coriolis header > .menu.r,
body.skybioml-branded #coriolis header > .l.menu,
body.skybioml-branded #coriolis header > .r.menu,
body.skybioml-branded #coriolis header > .menu.l,
body.skybioml-branded #coriolis header > .menu.r {
  float: none !important;
  display: block !important;
  position: relative !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
}

html.skybioml-branded #coriolis header > .menu, body.skybioml-branded #coriolis header > .menu,
html.skybioml-branded #coriolis header > .menu, body.skybioml-branded #coriolis header > .menu{
  margin: 0 !important;
  float: none !important;
}

html.skybioml-branded #coriolis header > .menu,
html.skybioml-branded #coriolis header > a.skybioml-home,
body.skybioml-branded #coriolis header > .menu,
body.skybioml-branded #coriolis header > a.skybioml-home {
  align-self: center !important;
  line-height: 1 !important;
}

html.skybioml-branded #coriolis header > .menu.skybioml-ext,
body.skybioml-branded #coriolis header > .menu.skybioml-ext {
  display: flex !important;
  align-items: center !important;
  height: var(--sky-nav-btn-h) !important;
  margin: 0 !important;
}

html.skybioml-branded #coriolis header > .menu.skybioml-ext > a,
body.skybioml-branded #coriolis header > .menu.skybioml-ext > a {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  line-height: 1 !important;
}

html.skybioml-branded #coriolis header > a.skybioml-home, body.skybioml-branded #coriolis header > a.skybioml-home {
  align-self: center !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink,
html.skybioml-branded #coriolis header > .menu.r:first-of-type, body.skybioml-branded #coriolis header > .menu.r:first-of-type,
html.skybioml-branded #coriolis header > .menu.r:first-of-type, body.skybioml-branded #coriolis header > .menu.r:first-of-type{
  margin-left: auto !important;
}

html.skybioml-branded #coriolis header .menu-header .menu-item-label, body.skybioml-branded #coriolis header .menu-header .menu-item-label,
html.skybioml-branded #coriolis header .menu-header .menu-item-label, body.skybioml-branded #coriolis header .menu-header .menu-item-label{
  color: #e5e7eb !important;
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
}

html.skybioml-branded #coriolis header .menu-header > svg, body.skybioml-branded #coriolis header .menu-header > svg,
html.skybioml-branded #coriolis header .menu-header > svg, body.skybioml-branded #coriolis header .menu-header > svg{
  width: 1.35em !important;
  height: 1.35em !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex-shrink: 0 !important;
  fill: none !important;
  stroke: none !important;
  background: transparent !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis header .menu-header > svg path, body.skybioml-branded #coriolis header .menu-header > svg path,
html.skybioml-branded #coriolis header .menu-header > svg path, body.skybioml-branded #coriolis header .menu-header > svg path{
  fill: currentColor !important;
  stroke: none !important;
}

html.skybioml-branded #coriolis header .menu-header svg:not(.sky-nav-icon), body.skybioml-branded #coriolis header .menu-header svg:not(.sky-nav-icon),
html.skybioml-branded #coriolis header .menu-header svg:not(.sky-nav-icon), body.skybioml-branded #coriolis header .menu-header svg:not(.sky-nav-icon){
  color: #9ca3af !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon{
  color: #dc2626 !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg{
  color: #f87171 !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg{
  color: #f87171 !important;
}

html.skybioml-branded #coriolis header .menu-header:hover, body.skybioml-branded #coriolis header .menu-header:hover,
html.skybioml-branded #coriolis header .menu-header:hover, body.skybioml-branded #coriolis header .menu-header:hover,
html.skybioml-branded #coriolis header .menu-header:hover .menu-item-label, body.skybioml-branded #coriolis header .menu-header:hover .menu-item-label,
html.skybioml-branded #coriolis header .menu-header:hover .menu-item-label, body.skybioml-branded #coriolis header .menu-header:hover .menu-item-label,
html.skybioml-branded #coriolis header .menu-header:hover svg:not(.sky-nav-icon), body.skybioml-branded #coriolis header .menu-header:hover svg:not(.sky-nav-icon),
html.skybioml-branded #coriolis header .menu-header:hover svg:not(.sky-nav-icon), body.skybioml-branded #coriolis header .menu-header:hover svg:not(.sky-nav-icon){
  color: var(--sky-accent-bright) !important;
  stroke: var(--sky-accent-bright) !important;
  fill: none !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon{
  fill: none !important;
  stroke: none !important;
  color: #f87171 !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon path{
  fill: #f87171 !important;
  stroke: none !important;
}

html.skybioml-branded #coriolis header .menu-header.selected, body.skybioml-branded #coriolis header .menu-header.selected,
html.skybioml-branded #coriolis header .menu-header.selected, body.skybioml-branded #coriolis header .menu-header.selected,
html.skybioml-branded #coriolis header .menu-header.selected .menu-item-label, body.skybioml-branded #coriolis header .menu-header.selected .menu-item-label,
html.skybioml-branded #coriolis header .menu-header.selected .menu-item-label, body.skybioml-branded #coriolis header .menu-header.selected .menu-item-label,
html.skybioml-branded #coriolis header .menu-header.selected svg:not(.sky-nav-icon), body.skybioml-branded #coriolis header .menu-header.selected svg:not(.sky-nav-icon),
html.skybioml-branded #coriolis header .menu-header.selected svg:not(.sky-nav-icon), body.skybioml-branded #coriolis header .menu-header.selected svg:not(.sky-nav-icon){
  color: #fff !important;
  stroke: var(--sky-accent-bright) !important;
  fill: none !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon{
  fill: none !important;
  stroke: none !important;
  color: #f87171 !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.selected > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.selected > svg.sky-nav-icon path{
  fill: #f87171 !important;
  stroke: none !important;
}

html.skybioml-branded #coriolis header .menu-header.disabled, body.skybioml-branded #coriolis header .menu-header.disabled,
html.skybioml-branded #coriolis header .menu-header.disabled, body.skybioml-branded #coriolis header .menu-header.disabled,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon{
  fill: none !important;
  stroke: none !important;
  color: #52525b !important;
  cursor: default !important;
}

html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-builds .menu-header.disabled > svg.sky-nav-icon path,
html.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon path, body.skybioml-branded #coriolis header .sky-nav-compare .menu-header.disabled > svg.sky-nav-icon path{
  fill: #52525b !important;
  stroke: none !important;
}

.announcement-container {
  display: none !important;
}

html.skybioml-branded #coriolis header .menu, body.skybioml-branded #coriolis header .menu,
html.skybioml-branded #coriolis header .menu-header, body.skybioml-branded #coriolis header .menu-header{
  position: relative;
  z-index: 201;
  pointer-events: auto !important;
  cursor: pointer !important;
}

html.skybioml-branded #coriolis header .menu-list, body.skybioml-branded #coriolis header .menu-list{
  z-index: 250 !important;
  pointer-events: auto !important;
}

html.skybioml-branded #coriolis header .title, body.skybioml-branded #coriolis header .title{
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  letter-spacing: 0.14em !important;
  color: #fff !important;
  text-shadow: 0 0 18px rgba(220, 38, 38, 0.35) !important;
}

/* Logo block — chip sizing matches SKYLINK menu-header */
html.skybioml-branded #coriolis header a.skybioml-home, body.skybioml-branded #coriolis header a.skybioml-home {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.55em !important;
  margin: 0 6px 0 0 !important;
  padding: 0 1.35em 0 1em !important;
  height: var(--sky-nav-btn-h) !important;
  min-height: var(--sky-nav-btn-h) !important;
  max-height: var(--sky-nav-btn-h) !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  background: rgba(18, 18, 21, 0.6) !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-sub, body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-sub,
html.skybioml-branded #coriolis header a.skybioml-logo-sub, body.skybioml-branded #coriolis header a.skybioml-logo-sub,
html.skybioml-branded #coriolis header .skybioml-logo-sub, body.skybioml-branded #coriolis header .skybioml-logo-sub{
  display: none !important;
}

html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-img, body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-img{
  display: block !important;
  width: auto !important;
  height: 28px !important;
  max-width: 56px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.35)) !important;
}

html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-mark, body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-mark,
html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-mark, body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-mark{
  display: none !important;
}

html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-text, body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-text {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
  color: #fff !important;
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  font-size: 0.78rem !important;
  line-height: 1.2 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-sky,
html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-ml,
body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-sky,
body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-ml {
  color: #fff !important;
}

html.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-bio,
body.skybioml-branded #coriolis header a.skybioml-home .skybioml-logo-bio {
  color: #ef4444 !important;
  text-shadow:
    0 0 6px rgba(239, 68, 68, 0.9),
    0 0 14px rgba(220, 38, 38, 0.75),
    0 0 22px rgba(220, 38, 38, 0.45) !important;
}

html.skybioml-branded #coriolis header a.skybioml-home:hover,
body.skybioml-branded #coriolis header a.skybioml-home:hover {
  border-color: rgba(220, 38, 38, 0.45) !important;
  background: rgba(220, 38, 38, 0.1) !important;
}

/* Shared tab control */
html.skybioml-branded #coriolis header .menu-header, body.skybioml-branded #coriolis header .menu-header,
html.skybioml-branded #coriolis header .menu-header, body.skybioml-branded #coriolis header .menu-header{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4em !important;
  border-radius: 0 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-size: 0.75rem !important;
  height: var(--sky-nav-btn-h) !important;
  min-height: var(--sky-nav-btn-h) !important;
  margin: 0 !important;
  padding: 0 0.9em !important;
  box-sizing: border-box !important;
  transition:
    color 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease !important;
}

/* Primary nav — portal segmented strip (one bar, three segments) */
html.skybioml-branded #coriolis header > .menu.l, body.skybioml-branded #coriolis header > .menu.l {
  padding: 0 !important;
  background: rgba(18, 18, 21, 0.85) !important;
  border: none !important;
  border-top: 1px solid var(--sky-widget-border) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type, body.skybioml-branded #coriolis header > .menu.l:first-of-type {
  border-left: 1px solid var(--sky-widget-border) !important;
  border-top-left-radius: 2px !important;
  border-bottom-left-radius: 2px !important;
}

html.skybioml-branded #coriolis header > .menu.l.sky-nav-compare, body.skybioml-branded #coriolis header > .menu.l.sky-nav-compare {
  border-right: 1px solid var(--sky-widget-border) !important;
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
}

html.skybioml-branded #coriolis header > .menu.l .menu-header, body.skybioml-branded #coriolis header > .menu.l .menu-header,
html.skybioml-branded #coriolis header > .menu.l .menu-header, body.skybioml-branded #coriolis header > .menu.l .menu-header{
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 2px solid transparent !important;
  box-shadow: none !important;
  color: #9ca3af !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header,
html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header{
  border-top-left-radius: 2px !important;
  border-bottom-left-radius: 2px !important;
}

html.skybioml-branded #coriolis header > .menu.l.sky-nav-compare .menu-header, body.skybioml-branded #coriolis header > .menu.l.sky-nav-compare .menu-header,
html.skybioml-branded #coriolis header > .menu.l.sky-nav-compare .menu-header, body.skybioml-branded #coriolis header > .menu.l.sky-nav-compare .menu-header{
  border-top-right-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
  border-right: 1px solid rgba(220, 38, 38, 0.22) !important;
}

html.skybioml-branded #coriolis header > .menu.l:last-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l:last-of-type .menu-header,
html.skybioml-branded #coriolis header > .menu.l:last-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l:last-of-type .menu-header{
  border-right: none !important;
}

html.skybioml-branded #coriolis header > .menu.l .menu-header:hover, body.skybioml-branded #coriolis header > .menu.l .menu-header:hover,
html.skybioml-branded #coriolis header > .menu.l .menu-header:hover, body.skybioml-branded #coriolis header > .menu.l .menu-header:hover{
  background: rgba(255, 255, 255, 0.04) !important;
}

html.skybioml-branded #coriolis header > .menu.l .menu-header.selected, body.skybioml-branded #coriolis header > .menu.l .menu-header.selected,
html.skybioml-branded #coriolis header > .menu.l .menu-header.selected, body.skybioml-branded #coriolis header > .menu.l .menu-header.selected{
  background: rgba(220, 38, 38, 0.12) !important;
  color: #fff !important;
  border-bottom: 2px solid #dc2626 !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  transform: none !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header,
html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-header{
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

html.skybioml-branded #coriolis header > .menu.l.sky-nav-compare:last-of-type .menu-header, body.skybioml-branded #coriolis header > .menu.l.sky-nav-compare:last-of-type .menu-header,
html.skybioml-branded #coriolis header > .menu.l.sky-nav-compare .menu-header, body.skybioml-branded #coriolis header > .menu.l.sky-nav-compare .menu-header{
  border-right: none !important;
}

/* Actions — portal ghost chips */
html.skybioml-branded #coriolis header > .menu.r .menu-header, body.skybioml-branded #coriolis header > .menu.r .menu-header,
html.skybioml-branded #coriolis header > .menu.r .menu-header, body.skybioml-branded #coriolis header > .menu.r .menu-header{
  background: rgba(18, 18, 21, 0.6) !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  min-width: 2.5em !important;
  min-height: var(--sky-nav-btn-h) !important;
  height: var(--sky-nav-btn-h) !important;
  color: #d4d4d8 !important;
  font-size: 0.75rem !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-hq .menu-header, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-hq .menu-header,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header{
  padding: 0 1.1em !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-hq .menu-header:hover, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-hq .menu-header:hover,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header:hover, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header:hover,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-hq .menu-header:hover, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-hq .menu-header:hover,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header:hover, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header:hover{
  border-color: rgba(220, 38, 38, 0.45) !important;
  background: rgba(220, 38, 38, 0.1) !important;
  color: #fff !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-header, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-header,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-header, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-header{
  padding: 0 0.65em !important;
  min-width: 38px !important;
}

html.skybioml-branded #coriolis header > .menu.r .menu-header:has(svg.xl) svg.xl, body.skybioml-branded #coriolis header > .menu.r .menu-header:has(svg.xl) svg.xl,
html.skybioml-branded #coriolis header > .menu.r .menu-header:has(svg.xl) svg.xl, body.skybioml-branded #coriolis header > .menu.r .menu-header:has(svg.xl) svg.xl{
  min-width: 20px !important;
  min-height: 20px !important;
  width: 20px !important;
  height: 20px !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-item-label, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-item-label,
html.skybioml-branded #coriolis header > .menu.r .menu-header:has(svg.xl) .menu-item-label, body.skybioml-branded #coriolis header > .menu.r .menu-header:has(svg.xl) .menu-item-label,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-item-label, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-cmdr .menu-item-label{
  display: none !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header svg, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header svg,
html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header svg, body.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-header svg{
  display: none !important;
}


html.skybioml-branded #coriolis header .menu-header.selected, body.skybioml-branded #coriolis header .menu-header.selected,
html.skybioml-branded #coriolis header .menu-header.selected, body.skybioml-branded #coriolis header .menu-header.selected{
  color: #fff !important;
}

html.skybioml-branded #coriolis header .menu-list, body.skybioml-branded #coriolis header .menu-list{
  background-color: var(--sky-widget-bg) !important;
  background-image: none !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-bottom: 4px solid rgba(0, 0, 0, 0.55) !important;
  border-radius: 0 !important;
  padding: 0.65rem 0.85rem !important;
  font-size: 0.88rem !important;
  color: #e5e7eb !important;
  box-shadow: var(--sky-widget-shadow) !important;
}

/* ── Portal widget frame (.sky-panel) ── */
html.skybioml-branded #coriolis.sky-portal-ui .sky-panel , body.skybioml-branded #coriolis.sky-portal-ui .sky-panel {
  background: var(--sky-widget-bg) !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-top-color: rgba(255, 255, 255, 0.12) !important;
  border-left-color: rgba(255, 255, 255, 0.12) !important;
  border-bottom: 4px solid rgba(0, 0, 0, 0.55) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.45) !important;
  border-radius: 0 !important;
  box-shadow: var(--sky-widget-shadow) !important;
  margin-bottom: 0.75em !important;
  overflow: hidden !important;
}

/* Charts / stats must not clip SVG — only decorative clip on small panels */
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-panel, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-panel,
html.skybioml-branded #coriolis.sky-portal-ui .sky-stats-panel.sky-panel , body.skybioml-branded #coriolis.sky-portal-ui .sky-stats-panel.sky-panel {
  overflow: visible !important;
}

/* ── GLOBAL: kill SkyBioML orange bars inside shell ── */
html.skybioml-branded #coriolis.sky-portal-ui table:not(.shipyard-table) thead, body.skybioml-branded #coriolis.sky-portal-ui table:not(.shipyard-table) thead,
html.skybioml-branded #coriolis.sky-portal-ui table:not(.shipyard-table) thead th, body.skybioml-branded #coriolis.sky-portal-ui table:not(.shipyard-table) thead th,
html.skybioml-branded #coriolis.sky-portal-ui table:not(.shipyard-table) thead .main th, body.skybioml-branded #coriolis.sky-portal-ui table:not(.shipyard-table) thead .main th,
html.skybioml-branded #coriolis.sky-portal-ui .group h1, body.skybioml-branded #coriolis.sky-portal-ui .group h1,
html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle button, body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle button,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab.active, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab.active,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table .stat-table-header, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table .stat-table-header,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table .defense-header, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table .defense-header,
html.skybioml-branded #coriolis.sky-portal-ui .section-menu.selected h1, body.skybioml-branded #coriolis.sky-portal-ui .section-menu.selected h1,
html.skybioml-branded #coriolis.sky-portal-ui .modal h1, body.skybioml-branded #coriolis.sky-portal-ui .modal h1,
html.skybioml-branded #coriolis.sky-portal-ui #build-select .build-section h1 , body.skybioml-branded #coriolis.sky-portal-ui #build-select .build-section h1 {
  background: var(--sky-widget-header) !important;
  background-color: var(--sky-widget-header) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
  border: none !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui thead th.invisible , body.skybioml-branded #coriolis.sky-portal-ui thead th.invisible {
  color: #52525b !important;
  box-shadow: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui tbody tr:nth-child(odd) , body.skybioml-branded #coriolis.sky-portal-ui tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.02) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui tbody tr.highlight:hover, body.skybioml-branded #coriolis.sky-portal-ui tbody tr.highlight:hover,
html.skybioml-branded #coriolis.sky-portal-ui tbody tr.highlighted , body.skybioml-branded #coriolis.sky-portal-ui tbody tr.highlighted {
  background: rgba(220, 38, 38, 0.08) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui tbody td, body.skybioml-branded #coriolis.sky-portal-ui tbody td,
html.skybioml-branded #coriolis.sky-portal-ui table td , body.skybioml-branded #coriolis.sky-portal-ui table td {
  color: #e5e7eb !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui table a, body.skybioml-branded #coriolis.sky-portal-ui table a,
html.skybioml-branded #coriolis.sky-portal-ui table a:visited , body.skybioml-branded #coriolis.sky-portal-ui table a:visited {
  color: var(--sky-accent-bright) !important;
}

/* ── Ship name / build bar ── */
html.skybioml-branded #coriolis.sky-portal-ui #overview h1 , body.skybioml-branded #coriolis.sky-portal-ui #overview h1 {
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  letter-spacing: 0.12em !important;
  color: #fff !important;
  text-shadow: 0 0 20px rgba(220, 38, 38, 0.25) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #build , body.skybioml-branded #coriolis.sky-portal-ui #build {
  padding: 0.5em 0.75em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #build input , body.skybioml-branded #coriolis.sky-portal-ui #build input {
  background: #121215 !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: ui-monospace, "Cascadia Mono", monospace !important;
  letter-spacing: 0.06em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #build .build-actions button, body.skybioml-branded #coriolis.sky-portal-ui #build .build-actions button,
html.skybioml-branded #coriolis.sky-portal-ui #build button , body.skybioml-branded #coriolis.sky-portal-ui #build button {
  border-radius: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-size: 0.7em !important;
}

/* ── Stat strip: classic table ── */
html.skybioml-branded #coriolis.sky-portal-ui #summary , body.skybioml-branded #coriolis.sky-portal-ui #summary {
  padding: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable , body.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable {
  width: 100% !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable > thead.blue, body.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable > thead.blue,
html.skybioml-branded #coriolis.sky-portal-ui #summary thead.blue th , body.skybioml-branded #coriolis.sky-portal-ui #summary thead.blue th {
  box-shadow: inset 0 -2px 0 #3b82f6 !important;
  color: #93c5fd !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable > thead.green, body.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable > thead.green,
html.skybioml-branded #coriolis.sky-portal-ui #summary thead.green th , body.skybioml-branded #coriolis.sky-portal-ui #summary thead.green th {
  box-shadow: inset 0 -2px 0 #22c55e !important;
  color: #86efac !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable > thead.purple, body.skybioml-branded #coriolis.sky-portal-ui #summary .summaryTable > thead.purple,
html.skybioml-branded #coriolis.sky-portal-ui #summary thead.purple th , body.skybioml-branded #coriolis.sky-portal-ui #summary thead.purple th {
  box-shadow: inset 0 -2px 0 #a855f7 !important;
  color: #e9d5ff !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle , body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5em 0.75em !important;
  background: rgba(0, 0, 0, 0.25) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle .text-toggle , body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle .text-toggle {
  color: var(--sky-muted, #9ca3af) !important;
  font-size: 0.68em !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle .text-toggle:hover , body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle .text-toggle:hover {
  color: var(--sky-accent-bright) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle button , body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle button {
  padding: 0.35em 0.75em !important;
  border: 1px solid var(--sky-accent-soft) !important;
  color: var(--sky-accent) !important;
  background: linear-gradient(180deg, #1a1a1f, #121215) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle button:hover , body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle button:hover {
  color: #fff !important;
  border-color: var(--sky-accent) !important;
  background: linear-gradient(180deg, #2a0505, #1a0000) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .outfitting-toggle , body.skybioml-branded #coriolis.sky-portal-ui .outfitting-toggle {
  color: var(--sky-accent-bright) !important;
  letter-spacing: 0.16em !important;
  font-size: 0.68em !important;
  text-transform: uppercase !important;
  padding: 0.65em !important;
  border-top: 1px solid var(--sky-widget-border) !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

@keyframes sky-outfit-pulse {
  0%,
  100% {
    color: #9ca3af;
    text-shadow: none;
  }
  50% {
    color: var(--sky-accent-bright);
    text-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
  }
}

html.skybioml-branded #coriolis.sky-portal-ui .outfitting-toggle.pulse , body.skybioml-branded #coriolis.sky-portal-ui .outfitting-toggle.pulse {
  animation: sky-outfit-pulse 1.6s ease-in-out infinite !important;
}

/* ── Responsive stats: segmented tabs + cards ── */
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive {
  padding: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar {
  display: flex !important;
  gap: 2px !important;
  padding: 0.5em !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
  margin-bottom: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab {
  flex: 1 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  color: #9ca3af !important;
  font-size: 0.65em !important;
  letter-spacing: 0.08em !important;
  padding: 0.5em 0.2em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab:hover:not(.active) , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #fff !important;
  border-color: var(--sky-widget-border) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab.active , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab.active {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #fff !important;
  border-color: var(--sky-accent-soft) !important;
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .tab-group.tab-active , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .tab-group.tab-active {
  padding: 0.65em !important;
  gap: 0.55em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table {
  border: 1px solid var(--sky-widget-border) !important;
  border-radius: 0 !important;
  background: #050508 !important;
  overflow: hidden !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table .stat-table-header, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table .stat-table-header,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table .defense-header , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table .defense-header {
  text-align: left !important;
  padding: 0.55em 0.75em !important;
  font-size: 0.72em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-header.blue , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-header.blue {
  box-shadow: inset 0 -2px 0 #3b82f6 !important;
  color: #bfdbfe !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-header.green , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-header.green {
  box-shadow: inset 0 -2px 0 #22c55e !important;
  color: #bbf7d0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-header.purple , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-header.purple {
  box-shadow: inset 0 -2px 0 #a855f7 !important;
  color: #e9d5ff !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table table tbody tr td.label, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table table tbody tr td.label,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table table tbody tr td.label , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table table tbody tr td.label {
  color: #9ca3af !important;
  font-size: 0.78em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table table tbody tr td.value, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table table tbody tr td.value,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table table tbody tr td.value , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table table tbody tr td.value {
  font-family: ui-monospace, "Cascadia Mono", monospace !important;
  font-weight: 600 !important;
  color: #fff !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table table tbody tr:hover, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-table table tbody tr:hover,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table table tbody tr:hover , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-table table tbody tr:hover {
  background: rgba(220, 38, 38, 0.06) !important;
}

/* ── ENG / SYS / WEP groups ── */
html.skybioml-branded #coriolis.sky-portal-ui .group , body.skybioml-branded #coriolis.sky-portal-ui .group {
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0.25em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .group h1 , body.skybioml-branded #coriolis.sky-portal-ui .group h1 {
  text-align: left !important;
  padding: 0.55em 0.75em !important;
  font-size: 0.72em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .group h1::before , body.skybioml-branded #coriolis.sky-portal-ui .group h1::before {
  content: "▸ ";
  color: var(--sky-accent-bright) !important;
}

/* ── Module slots ── */
html.skybioml-branded #coriolis.sky-portal-ui .slot , body.skybioml-branded #coriolis.sky-portal-ui .slot {
  border-radius: 0 !important;
  background: rgba(18, 18, 21, 0.95) !important;
  border: 1px solid var(--sky-widget-border) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .slot.selected , body.skybioml-branded #coriolis.sky-portal-ui .slot.selected {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.14), rgba(18, 18, 21, 0.98) 40%) !important;
  border-color: var(--sky-accent-soft) !important;
  box-shadow: inset 3px 0 0 var(--sky-accent) !important;
  color: #fff !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .slot.selected .sz , body.skybioml-branded #coriolis.sky-portal-ui .slot.selected .sz {
  background: rgba(0, 0, 0, 0.4) !important;
  color: var(--sky-accent-bright) !important;
  border-right-color: var(--sky-accent-soft) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .slot .sz, body.skybioml-branded #coriolis.sky-portal-ui .slot .sz,
#coriolis .slot .sz {
  color: #a1a1aa !important;
  stroke: #a1a1aa !important;
  border-right-color: rgba(220, 38, 38, 0.35) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .slot .empty , body.skybioml-branded #coriolis.sky-portal-ui .slot .empty {
  color: #52525b !important;
  letter-spacing: 0.14em !important;
}

/* ── Module picker chips ── */
html.skybioml-branded #coriolis.sky-portal-ui .compact-module, body.skybioml-branded #coriolis.sky-portal-ui .compact-module,
html.skybioml-branded #coriolis.sky-portal-ui .hardpoint-module, body.skybioml-branded #coriolis.sky-portal-ui .hardpoint-module,
html.skybioml-branded #coriolis.sky-portal-ui .special-module, body.skybioml-branded #coriolis.sky-portal-ui .special-module,
html.skybioml-branded #coriolis.sky-portal-ui .empty-slot , body.skybioml-branded #coriolis.sky-portal-ui .empty-slot {
  border-radius: 0 !important;
  background: #121215 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .compact-module.active, body.skybioml-branded #coriolis.sky-portal-ui .compact-module.active,
html.skybioml-branded #coriolis.sky-portal-ui .hardpoint-module.active, body.skybioml-branded #coriolis.sky-portal-ui .hardpoint-module.active,
html.skybioml-branded #coriolis.sky-portal-ui .special-module.active , body.skybioml-branded #coriolis.sky-portal-ui .special-module.active {
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
  border-color: var(--sky-accent-soft) !important;
}

/* ── Module picker panel (slot + section) — portal card, pushes layout (no overlap) ── */
#coriolis #outfit .slot.selected,
html.skybioml-branded #coriolis.sky-portal-ui .slot.selected , body.skybioml-branded #coriolis.sky-portal-ui .slot.selected {
  z-index: 40 !important;
  position: relative !important;
  isolation: isolate !important;
}

#coriolis #outfit .menu-section-wrapper.open,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open {
  position: relative !important;
  z-index: 41 !important;
  overflow: visible !important;
  max-height: none !important;
  opacity: 1 !important;
  margin: 0.4em 0 0.75em !important;
  pointer-events: auto !important;
}

#coriolis #outfit .slot .menu-section-wrapper.open .select,
#coriolis #outfit .menu-section-wrapper.open .select,
#coriolis #outfit .menu-section-wrapper.open > .select,
#coriolis #outfit .menu-section-wrapper.open > div > .select,
#coriolis #outfit .menu-section-wrapper.open .select.category-menu,
#coriolis #outfit .select.standard,
#coriolis #outfit .select.category-menu,
#coriolis #outfit .sky-outfitting-grid .section-menu.selected .select,
#coriolis #outfit .sky-outfitting-grid .section-menu.selected > .select,
html.skybioml-branded #coriolis.sky-portal-ui .slot .menu-section-wrapper.open .select, body.skybioml-branded #coriolis.sky-portal-ui .slot .menu-section-wrapper.open .select,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open > .select, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open > .select,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu.selected .select , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu.selected .select {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  max-height: min(72vh, 560px) !important;
  margin: 0 !important;
  padding: 0 0 0.5em !important;
  z-index: 42 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: rgba(10, 10, 15, 0.98) !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-left: 3px solid var(--sky-accent) !important;
  box-shadow: var(--sky-widget-shadow) !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

#coriolis #outfit .sky-outfitting-grid .section-menu.selected,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu.selected , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu.selected {
  z-index: 35 !important;
  overflow: visible !important;
}

#coriolis #outfit .module-search-container,
html.skybioml-branded #coriolis.sky-portal-ui .module-search-container , body.skybioml-branded #coriolis.sky-portal-ui .module-search-container {
  position: sticky !important;
  top: 0 !important;
  z-index: 5 !important;
  padding: 0.65em 0.75em !important;
  margin: 0 !important;
  background: rgba(12, 12, 18, 0.98) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
}

#coriolis #outfit .module-search-input,
html.skybioml-branded #coriolis.sky-portal-ui .module-search-input , body.skybioml-branded #coriolis.sky-portal-ui .module-search-input {
  width: 100% !important;
  padding: 0.55em 0.75em !important;
  font-family: var(--sky-font-body, "Play", "Segoe UI", sans-serif) !important;
  font-size: 0.9em !important;
  letter-spacing: 0.04em !important;
  color: #e5e7eb !important;
  background: rgba(0, 0, 0, 0.45) !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-radius: 0 !important;
  outline: none !important;
  box-sizing: border-box !important;
}

#coriolis #outfit .module-search-input::placeholder,
html.skybioml-branded #coriolis.sky-portal-ui .module-search-input::placeholder , body.skybioml-branded #coriolis.sky-portal-ui .module-search-input::placeholder {
  color: #71717a !important;
  opacity: 1 !important;
}

#coriolis #outfit .module-search-input:focus,
html.skybioml-branded #coriolis.sky-portal-ui .module-search-input:focus , body.skybioml-branded #coriolis.sky-portal-ui .module-search-input:focus {
  border-color: var(--sky-accent) !important;
  box-shadow: 0 0 0 1px var(--sky-accent-soft) !important;
}

#coriolis #outfit .menu-section-wrapper.open .select-group,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select-group , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select-group {
  margin: 0.55em 0.75em 0.35em !important;
  padding: 0.35em 0 !important;
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  font-size: 0.68em !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--sky-accent-bright) !important;
  border-color: var(--sky-widget-border) !important;
  text-align: left !important;
}

#coriolis #outfit .menu-section-wrapper.open .category-item,
#coriolis #outfit .menu-section-wrapper.open .back-button,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .category-item, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .category-item,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .back-button , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .back-button {
  display: flex !important;
  width: calc(100% - 1.5em) !important;
  max-width: 100% !important;
  margin: 0.25em 0.75em !important;
  left: auto !important;
  transform: none !important;
  text-align: left !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .special-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .special-module , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .special-module {
  position: relative !important;
  left: auto !important;
  transform: none !important;
  margin: 0.2em 0.35em !important;
}

#coriolis #outfit .menu-section-wrapper.open .hardpoint-module-row,
#coriolis #outfit .menu-section-wrapper.open .compact-module-row,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module-row, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module-row,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module-row , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module-row {
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 0.35em !important;
  padding: 0.35em 0.65em !important;
  margin: 0.25em 0 !important;
  border-color: var(--sky-widget-border) !important;
  background: rgba(0, 0, 0, 0.25) !important;
}

#coriolis #outfit .menu-section-wrapper.open .hardpoint-module,
#coriolis #outfit .menu-section-wrapper.open .compact-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module {
  flex: 0 1 auto !important;
  min-width: 3.25rem !important;
  max-width: none !important;
}

#coriolis #outfit .menu-section-wrapper.open .select::-webkit-scrollbar,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select::-webkit-scrollbar , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select::-webkit-scrollbar {
  width: 0.45em !important;
}

#coriolis #outfit .menu-section-wrapper.open .select::-webkit-scrollbar-thumb,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select::-webkit-scrollbar-thumb , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select::-webkit-scrollbar-thumb {
  background: var(--sky-accent-soft) !important;
  border-radius: 0 !important;
}

/* Module picker — portal text palette (override SkyBioML orange @primary) */
#coriolis #outfit .menu-section-wrapper.open .select,
#coriolis #outfit .sky-outfitting-grid .section-menu.selected > .select,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu.selected > .select , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu.selected > .select {
  color: #d4d4d8 !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .module-separator,
#coriolis #outfit .menu-section-wrapper.open .select .module-separator.cap,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .module-separator , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .module-separator {
  color: #e5e7eb !important;
  font-family: var(--sky-font-body, "Play", "Segoe UI", sans-serif) !important;
  font-size: 0.82em !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
  border-top-color: var(--sky-widget-border) !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .module-text,
#coriolis #outfit .menu-section-wrapper.open .select .back-button .module-text,
#coriolis #outfit .menu-section-wrapper.open .select .category-item .module-text,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .module-text , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .module-text {
  color: #d4d4d8 !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .back-button:hover .module-text,
#coriolis #outfit .menu-section-wrapper.open .select .category-item:hover .module-text,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .back-button:hover .module-text, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .back-button:hover .module-text,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .category-item:hover .module-text , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .category-item:hover .module-text {
  color: var(--sky-accent-bright, #f87171) !important;
}

#coriolis #outfit .menu-section-wrapper.open .compact-module,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module,
#coriolis #outfit .menu-section-wrapper.open .select .special-module,
#coriolis #outfit .menu-section-wrapper.open .empty-slot,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .special-module, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .special-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .empty-slot , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .empty-slot {
  color: #a1a1aa !important;
  border-color: var(--sky-widget-border) !important;
  background: rgba(18, 18, 21, 0.95) !important;
}

#coriolis #outfit .menu-section-wrapper.open .compact-module .module-text,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module .module-text,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module .module-text, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module .module-text,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module .module-text , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module .module-text {
  color: inherit !important;
}

#coriolis #outfit .no-touch .menu-section-wrapper.open .compact-module:hover:not(.disabled):not(.active),
#coriolis #outfit .no-touch .menu-section-wrapper.open .hardpoint-module:hover:not(.disabled):not(.active),
#coriolis #outfit .no-touch .menu-section-wrapper.open .select .special-module:hover:not(.disabled):not(.active),
#coriolis #outfit .no-touch .menu-section-wrapper.open .empty-slot:hover:not(.active),
html.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .compact-module:hover:not(.disabled):not(.active), body.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .compact-module:hover:not(.disabled):not(.active),
html.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .hardpoint-module:hover:not(.disabled):not(.active) , body.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .hardpoint-module:hover:not(.disabled):not(.active) {
  color: var(--sky-accent-bright, #f87171) !important;
  border-color: var(--sky-accent-soft) !important;
}

#coriolis #outfit .menu-section-wrapper.open .compact-module.active,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module.active,
#coriolis #outfit .menu-section-wrapper.open .select .special-module.active,
#coriolis #outfit .menu-section-wrapper.open .empty-slot.active,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module.active, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module.active,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.active, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.active,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .empty-slot.active , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .empty-slot.active {
  color: #fff !important;
  border-color: var(--sky-accent) !important;
  background: rgba(220, 38, 38, 0.12) !important;
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
}

#coriolis #outfit .menu-section-wrapper.open .compact-module.disabled,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module.disabled,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module.disabled, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module.disabled,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.disabled , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.disabled {
  color: #52525b !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

#coriolis #outfit .menu-section-wrapper.open .hardpoint-module .mount-icon,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module .mount-icon , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module .mount-icon {
  stroke: #71717a !important;
  fill: none !important;
}

#coriolis #outfit .menu-section-wrapper.open .hardpoint-module:hover:not(.disabled) .mount-icon,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module.active .mount-icon,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.active .mount-icon , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.active .mount-icon {
  stroke: var(--sky-accent-bright, #f87171) !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .c:not(.compact-module):not(.hardpoint-module):not(.special-module),
#coriolis #outfit .menu-section-wrapper.open .select .lc,
#coriolis #outfit .menu-section-wrapper.open .select .rc,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .lc, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .lc,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .rc , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .rc {
  color: #d4d4d8 !important;
}

#coriolis #outfit .no-touch .menu-section-wrapper.open .select .lc:hover:not(.disabled),
#coriolis #outfit .no-touch .menu-section-wrapper.open .select .c:hover:not(.disabled),
html.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .select .lc:hover:not(.disabled), body.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .select .lc:hover:not(.disabled),
html.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .select .c:hover:not(.disabled) , body.skybioml-branded #coriolis.sky-portal-ui .no-touch .menu-section-wrapper.open .select .c:hover:not(.disabled) {
  color: var(--sky-accent-bright, #f87171) !important;
  background: rgba(220, 38, 38, 0.08) !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .lc.active,
#coriolis #outfit .menu-section-wrapper.open .select .c.active,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .lc.active, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .lc.active,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .c.active , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .c.active {
  color: #fff !important;
  background: rgba(220, 38, 38, 0.14) !important;
  border-left: 2px solid var(--sky-accent) !important;
}

#coriolis #outfit .menu-section-wrapper.open .compact-module.warning,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module.warning,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module.warning, body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .compact-module.warning,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.warning , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .hardpoint-module.warning {
  border-color: var(--sky-warning, #ef4444) !important;
}

#coriolis #outfit .menu-section-wrapper.open .warning-icon,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .warning-icon , body.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .warning-icon {
  color: var(--sky-warning, #ef4444) !important;
  stroke: var(--sky-warning, #ef4444) !important;
}

/* ── Section tabs (outfit left rail) ── */
html.skybioml-branded #coriolis.sky-portal-ui .section-menu h1 , body.skybioml-branded #coriolis.sky-portal-ui .section-menu h1 {
  background: transparent !important;
  box-shadow: none !important;
  color: #9ca3af !important;
  border: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .section-menu.selected h1 , body.skybioml-branded #coriolis.sky-portal-ui .section-menu.selected h1 {
  color: #fff !important;
  background: rgba(220, 38, 38, 0.1) !important;
  box-shadow: inset 3px 0 0 var(--sky-accent) !important;
}

/* ── Power / tabs row ── */
html.skybioml-branded #coriolis.sky-portal-ui .tabs, body.skybioml-branded #coriolis.sky-portal-ui .tabs,
html.skybioml-branded #coriolis.sky-portal-ui .tabs th , body.skybioml-branded #coriolis.sky-portal-ui .tabs th {
  border-radius: 0 !important;
  background: #121215 !important;
  border-color: var(--sky-widget-border) !important;
  color: #9ca3af !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .tabs .active, body.skybioml-branded #coriolis.sky-portal-ui .tabs .active,
html.skybioml-branded #coriolis.sky-portal-ui .tabs th.active , body.skybioml-branded #coriolis.sky-portal-ui .tabs th.active {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #fff !important;
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
}

/* ── Shipyard grid ── */
html.skybioml-branded #coriolis.sky-portal-ui #shipyard a.ship , body.skybioml-branded #coriolis.sky-portal-ui #shipyard a.ship {
  border-radius: 0 !important;
  background: linear-gradient(145deg, #121215, #0a0a0f) !important;
  border: 1px solid var(--sky-widget-border) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard a.ship:hover , body.skybioml-branded #coriolis.sky-portal-ui #shipyard a.ship:hover {
  border-color: var(--sky-accent) !important;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.2) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar , body.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(8, 8, 12, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 2px solid #dc2626 !important;
  border-radius: 0 !important;
  margin-bottom: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar .filter-label , body.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar .filter-label {
  color: #9ca3af !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar .filter-option , body.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar .filter-option {
  background: rgba(18, 18, 21, 0.9) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar .filter-option.active , body.skybioml-branded #coriolis.sky-portal-ui .shipyard-filter-bar .filter-option.active {
  background: rgba(220, 38, 38, 0.18) !important;
  border-color: #dc2626 !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: inset 0 -2px 0 #dc2626 !important;
}

/* ── Comparison facets ── */
html.skybioml-branded #coriolis.sky-portal-ui .facet , body.skybioml-branded #coriolis.sky-portal-ui .facet {
  border-radius: 0 !important;
  border: 1px solid var(--sky-widget-border) !important;
  background: #121215 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .facet.active , body.skybioml-branded #coriolis.sky-portal-ui .facet.active {
  border-color: var(--sky-accent) !important;
  color: var(--sky-accent-bright) !important;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.2) !important;
}

/* ── Modals ── */
html.skybioml-branded #coriolis.sky-portal-ui .modal-bg , body.skybioml-branded #coriolis.sky-portal-ui .modal-bg {
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(4px);
}

html.skybioml-branded #coriolis.sky-portal-ui .modal , body.skybioml-branded #coriolis.sky-portal-ui .modal {
  border-radius: 0 !important;
  background: #0a0a0f !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-bottom-width: 4px !important;
  box-shadow: var(--sky-widget-shadow) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .modal button , body.skybioml-branded #coriolis.sky-portal-ui .modal button {
  border-radius: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .modal .l.warning.sky-import-ok,
body.skybioml-branded #coriolis.sky-portal-ui .modal .l.warning.sky-import-ok {
  color: #22c55e !important;
}
html.skybioml-branded #coriolis.sky-portal-ui .modal .l.warning.sky-import-err,
body.skybioml-branded #coriolis.sky-portal-ui .modal .l.warning.sky-import-err {
  color: #ef4444 !important;
}
html.skybioml-branded #coriolis.sky-portal-ui .modal textarea, body.skybioml-branded #coriolis.sky-portal-ui .modal textarea,
html.skybioml-branded #coriolis.sky-portal-ui .modal select, body.skybioml-branded #coriolis.sky-portal-ui .modal select,
html.skybioml-branded #coriolis.sky-portal-ui .modal input , body.skybioml-branded #coriolis.sky-portal-ui .modal input {
  background: #121215 !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-radius: 0 !important;
  color: #e5e7eb !important;
}

/* ── Semantic colors (force inside shell; kill SkyBioML #FF3B00) ── */
html.skybioml-branded #coriolis.sky-portal-ui .warning, body.skybioml-branded #coriolis.sky-portal-ui .warning,
html.skybioml-branded #coriolis.sky-portal-ui .primary, body.skybioml-branded #coriolis.sky-portal-ui .primary,
html.skybioml-branded #coriolis header a, body.skybioml-branded #coriolis header a,
html.skybioml-branded #coriolis header .menu-list a.warning, body.skybioml-branded #coriolis header .menu-list a.warning,
html.skybioml-branded #coriolis header .menu-list .block.warning, body.skybioml-branded #coriolis header .menu-list .block.warning{
  color: var(--sky-accent) !important;
  stroke: var(--sky-accent) !important;
  fill: var(--sky-accent) !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl a.block,
html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl a.block:link,
html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl a.block:visited {
  color: #e5e7eb !important;
  stroke: none !important;
  fill: none !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl a.block:hover,
html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl a.block.active {
  color: #fff !important;
  background: rgba(220, 38, 38, 0.18) !important;
}

html.skybioml-branded #coriolis header .menu-list a.warning:hover, body.skybioml-branded #coriolis header .menu-list a.warning:hover,
html.skybioml-branded #coriolis header .menu-list .block.warning:hover, body.skybioml-branded #coriolis header .menu-list .block.warning:hover{
  color: var(--sky-accent-bright) !important;
  stroke: var(--sky-accent-bright) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .bg-warning-disabled , body.skybioml-branded #coriolis.sky-portal-ui .bg-warning-disabled {
  background: rgba(127, 29, 29, 0.35) !important;
}

/* Scrollbar like portal */
html.skybioml-branded #coriolis.sky-portal-ui ::-webkit-scrollbar , body.skybioml-branded #coriolis.sky-portal-ui ::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

html.skybioml-branded #coriolis.sky-portal-ui ::-webkit-scrollbar-thumb , body.skybioml-branded #coriolis.sky-portal-ui ::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

html.skybioml-branded #coriolis.sky-portal-ui ::-webkit-scrollbar-thumb:hover , body.skybioml-branded #coriolis.sky-portal-ui ::-webkit-scrollbar-thumb:hover {
  background: #dc2626;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT FIXES — outfit page (no float drift)
   ═══════════════════════════════════════════════════════════ */

html.skybioml-branded #coriolis.sky-portal-ui #summary , body.skybioml-branded #coriolis.sky-portal-ui #summary {
  display: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle.sky-stat-toolbar , body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle.sky-stat-toolbar {
  justify-content: flex-end !important;
  border-bottom: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #outfit , body.skybioml-branded #coriolis.sky-portal-ui #outfit {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65em !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0.65em !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #overview , body.skybioml-branded #coriolis.sky-portal-ui #overview {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 0.75em 1em !important;
  float: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0.65em 0.75em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #overview h1 , body.skybioml-branded #coriolis.sky-portal-ui #overview h1 {
  float: none !important;
  flex: 1 1 12rem !important;
  margin: 0 !important;
  min-width: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #requirements , body.skybioml-branded #coriolis.sky-portal-ui #requirements {
  float: none !important;
  flex: 1 1 100% !important;
  margin: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #build , body.skybioml-branded #coriolis.sky-portal-ui #build {
  float: none !important;
  flex: 1 1 18rem !important;
  max-width: 100% !important;
  clear: none !important;
  gap: 0.35em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 0.55em !important;
  width: 100% !important;
  padding: 0.65em !important;
  box-sizing: border-box !important;
  clear: both !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .ship-control-row , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .ship-control-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5em !important;
  width: 100% !important;
  grid-column: 1 / -1 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band > .group , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band > .group {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.half, body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.half,
html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.quarter , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.quarter {
  width: auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.half , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.half {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: minmax(6rem, 1fr) minmax(0, 3fr) !important;
  gap: 0.35em !important;
  align-items: center !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.half > .group , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-band .group.half > .group {
  width: auto !important;
  padding: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .outfitting-sections, body.skybioml-branded #coriolis.sky-portal-ui .outfitting-sections,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid {
  width: 100% !important;
  clear: both !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab, body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab,
html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar button , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar button {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 2;
}

html.skybioml-branded #coriolis.sky-portal-ui .tabs th , body.skybioml-branded #coriolis.sky-portal-ui .tabs th {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ═══════════════════════════════════════════════════════════
   ALL PAGES — shipyard, compare, about, 404
   ═══════════════════════════════════════════════════════════ */

html.skybioml-branded #coriolis.sky-portal-ui .page, body.skybioml-branded #coriolis.sky-portal-ui .page,
html.skybioml-branded #coriolis.sky-portal-ui .sky-page , body.skybioml-branded #coriolis.sky-portal-ui .sky-page {
  text-align: left !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 1em !important;
  color: #e5e7eb !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .page h1, body.skybioml-branded #coriolis.sky-portal-ui .page h1,
html.skybioml-branded #coriolis.sky-portal-ui .page h2, body.skybioml-branded #coriolis.sky-portal-ui .page h2,
html.skybioml-branded #coriolis.sky-portal-ui .page h3 , body.skybioml-branded #coriolis.sky-portal-ui .page h3 {
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #fff !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .page p, body.skybioml-branded #coriolis.sky-portal-ui .page p,
html.skybioml-branded #coriolis.sky-portal-ui .page li , body.skybioml-branded #coriolis.sky-portal-ui .page li {
  font-family: var(--sky-font-body, "Play", sans-serif) !important;
  line-height: 1.55 !important;
  color: #d1d5db !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .page a , body.skybioml-branded #coriolis.sky-portal-ui .page a {
  color: var(--sky-accent-bright) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .page code , body.skybioml-branded #coriolis.sky-portal-ui .page code {
  background: #121215 !important;
  border: 1px solid var(--sky-widget-border) !important;
  padding: 0.1em 0.35em !important;
  color: var(--sky-accent-bright) !important;
}

/* Shipyard */
html.skybioml-branded #coriolis.sky-portal-ui #shipyard , body.skybioml-branded #coriolis.sky-portal-ui #shipyard {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0.65em !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard a.ship , body.skybioml-branded #coriolis.sky-portal-ui #shipyard a.ship {
  min-height: 4.5em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .shipyard-table-wrapper, body.skybioml-branded #coriolis.sky-portal-ui .shipyard-table-wrapper,
html.skybioml-branded #coriolis.sky-portal-ui .content-wrapper , body.skybioml-branded #coriolis.sky-portal-ui .content-wrapper {
  border-radius: 0 !important;
  overflow-x: auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard .content-wrapper , body.skybioml-branded #coriolis.sky-portal-ui #shipyard .content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead, body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead,
html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead th, body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead th,
html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table tbody td , body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table tbody td {
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e5e7eb !important;
}

html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead , body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .table-tools, body.skybioml-branded #coriolis.sky-portal-ui .table-tools,
html.skybioml-branded #coriolis.sky-portal-ui .table-tools label , body.skybioml-branded #coriolis.sky-portal-ui .table-tools label {
  color: #dc2626 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead, body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead tr, body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead tr,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th , body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: #e5e7eb !important;
  border-color: rgba(220, 38, 38, 0.22) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead , body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead {
  box-shadow: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead .main th, body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead .main th,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th.lft, body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th.lft,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th.rgt , body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th.rgt {
  border-left-color: rgba(220, 38, 38, 0.22) !important;
  border-right-color: rgba(220, 38, 38, 0.22) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th.invisible , body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th.invisible {
  color: #e5e7eb !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard .shipyard-table-wrapper , body.skybioml-branded #coriolis.sky-portal-ui #shipyard .shipyard-table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  border-bottom: 1px solid rgba(220, 38, 38, 0.35) !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard .shipyard-table-wrapper > table.shipyard-table td:first-child, body.skybioml-branded #coriolis.sky-portal-ui #shipyard .shipyard-table-wrapper > table.shipyard-table td:first-child,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard .shipyard-table-wrapper div .shipyard-table td:last-child , body.skybioml-branded #coriolis.sky-portal-ui #shipyard .shipyard-table-wrapper div .shipyard-table td:last-child {
  border-color: rgba(220, 38, 38, 0.35) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table , body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table {
  background-color: transparent !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard .table-tools, body.skybioml-branded #coriolis.sky-portal-ui #shipyard .table-tools,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard .table-tools label , body.skybioml-branded #coriolis.sky-portal-ui #shipyard .table-tools label {
  color: #dc2626 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #shipyard .table-tools label:hover , body.skybioml-branded #coriolis.sky-portal-ui #shipyard .table-tools label:hover {
  color: #f87171 !important;
}

/* Comparison */
html.skybioml-branded #coriolis.sky-portal-ui #comparison , body.skybioml-branded #coriolis.sky-portal-ui #comparison {
  border-radius: 0 !important;
  border: 1px solid var(--sky-widget-border) !important;
  background: #0a0a0f !important;
  overflow: hidden !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #comparison td , body.skybioml-branded #coriolis.sky-portal-ui #comparison td {
  border-color: var(--sky-widget-border) !important;
  color: #e5e7eb !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #comparison .head, body.skybioml-branded #coriolis.sky-portal-ui #comparison .head,
html.skybioml-branded #coriolis.sky-portal-ui #comparison td.head , body.skybioml-branded #coriolis.sky-portal-ui #comparison td.head {
  background: var(--sky-widget-header) !important;
  color: #fff !important;
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #comparison input , body.skybioml-branded #coriolis.sky-portal-ui #comparison input {
  background: #121215 !important;
  border-color: var(--sky-widget-border) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #facet-container , body.skybioml-branded #coriolis.sky-portal-ui #facet-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35em 0.5em !important;
  padding: 0.5em !important;
  margin-bottom: 0.65em !important;
  background: #121215 !important;
  border: 1px solid var(--sky-widget-border) !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #facet-container li,
body.skybioml-branded #coriolis.sky-portal-ui #facet-container li {
  flex: 0 1 auto !important;
  max-width: 100% !important;
  margin: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui > div,
body.skybioml-branded #coriolis.sky-portal-ui > div {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
}

html.skybioml-branded #coriolis.sky-portal-ui footer,
body.skybioml-branded #coriolis.sky-portal-ui footer {
  margin-top: auto !important;
  padding: 0.75rem 1rem 1rem !important;
  position: relative !important;
  top: auto !important;
  flex-shrink: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #comparison,
body.skybioml-branded #coriolis.sky-portal-ui #comparison {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #comparison td.head + td,
body.skybioml-branded #coriolis.sky-portal-ui #comparison td.head + td {
  overflow-x: auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .comparison-table-wrapper, body.skybioml-branded #coriolis.sky-portal-ui .comparison-table-wrapper,
html.skybioml-branded #coriolis.sky-portal-ui #build-select , body.skybioml-branded #coriolis.sky-portal-ui #build-select {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 0.65em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #build-select .build-section , body.skybioml-branded #coriolis.sky-portal-ui #build-select .build-section {
  border: 1px solid var(--sky-widget-border) !important;
  border-radius: 0 !important;
  margin-bottom: 0.65em !important;
  overflow: hidden !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #build-select .build-section h1 , body.skybioml-branded #coriolis.sky-portal-ui #build-select .build-section h1 {
  text-align: left !important;
  padding: 0.55em 0.75em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .bar-chart, body.skybioml-branded #coriolis.sky-portal-ui .bar-chart,
html.skybioml-branded #coriolis.sky-portal-ui .comparison-chart , body.skybioml-branded #coriolis.sky-portal-ui .comparison-chart {
  background: #121215 !important;
  border: 1px solid var(--sky-widget-border) !important;
}

/* Import / error pages */
html.skybioml-branded #coriolis.sky-portal-ui .error-details, body.skybioml-branded #coriolis.sky-portal-ui .error-details,
html.skybioml-branded #coriolis.sky-portal-ui #import , body.skybioml-branded #coriolis.sky-portal-ui #import {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 1em !important;
}

/* SkyBioML home mark (replaces SkyBioML logo) */
html.skybioml-branded #coriolis header a.skybioml-home, body.skybioml-branded #coriolis header a.skybioml-home {
  text-decoration: none !important;
}
html.skybioml-branded #coriolis header .skybioml-logo-img, body.skybioml-branded #coriolis header .skybioml-logo-img{
  display: block;
  width: auto;
  height: 28px;
  max-width: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.35));
}

html.skybioml-branded #coriolis header .skybioml-logo-mark, body.skybioml-branded #coriolis header .skybioml-logo-mark{
  display: none !important;
}
html.skybioml-branded #coriolis header .skybioml-logo-text, body.skybioml-branded #coriolis header .skybioml-logo-text{
  font-family: Audiowide, "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
}
html.skybioml-branded #coriolis header a.view-changes, body.skybioml-branded #coriolis header a.view-changes{
  display: none !important;
}

/* Portal-style RU/EN in settings menu */
html.skybioml-branded #coriolis header .menu-list.sky-settings-menu,
html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu,
body.skybioml-branded #coriolis header .menu-list.sky-settings-menu,
body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu {
  white-space: normal !important;
  overflow-x: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-toggle,
body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-toggle,
html.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-toggle,
body.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-toggle {
  display: flex !important;
  flex-shrink: 0 !important;
  width: 100% !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 0 0.45rem 0 !important;
  box-shadow: none !important;
  position: static !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-btn,
body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-btn,
html.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-btn,
body.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-btn {
  flex: 1 1 50% !important;
  padding: 0 12px !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-bottom: 1px solid var(--sky-widget-border) !important;
  background: #121215 !important;
  color: #9ca3af !important;
  font-family: var(--sky-font-body, "Play", "Segoe UI", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  cursor: pointer !important;
  line-height: 30px !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-btn:first-child,
body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-btn:first-child,
html.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-btn:first-child,
body.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-btn:first-child {
  border-right: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-btn.active,
body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-lang-btn.active,
html.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-btn.active,
body.skybioml-branded #coriolis header .sky-settings-menu .sky-lang-btn.active {
  background: rgba(220, 38, 38, 0.22) !important;
  border-color: rgba(220, 38, 38, 0.55) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.35) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-settings-hint,
body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-settings-hint,
html.skybioml-branded #coriolis header .sky-settings-menu .sky-settings-hint,
body.skybioml-branded #coriolis header .sky-settings-menu .sky-settings-hint {
  display: block !important;
  position: static !important;
  clear: both !important;
  margin: 0 0 0.65rem 0 !important;
  padding: 0 !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  opacity: 0.7 !important;
  text-align: left !important;
  white-space: normal !important;
}
html.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-settings-section , body.skybioml-branded #coriolis.sky-portal-ui .sky-settings-menu .sky-settings-section {
  margin: 0.35em 0;
  opacity: 0.75;
  font-size: 0.8em;
}

/* ═══════════════════════════════════════════════════════════
   OUTFIT PAGE LAYOUT — stats full width, outfitting grid, charts
   ═══════════════════════════════════════════════════════════ */

html.skybioml-branded #coriolis.sky-portal-ui #outfit , body.skybioml-branded #coriolis.sky-portal-ui #outfit {
  max-width: none !important;
  width: 100% !important;
  padding: 0 0.5em 1.5em !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .summary-toggle, body.skybioml-branded #coriolis.sky-portal-ui .summary-toggle,
html.skybioml-branded #coriolis.sky-portal-ui .outfitting-toggle , body.skybioml-branded #coriolis.sky-portal-ui .outfitting-toggle {
  display: none !important;
}

/* Stats: always expanded, use full width */
html.skybioml-branded #coriolis.sky-portal-ui .sky-stats-panel , body.skybioml-branded #coriolis.sky-portal-ui .sky-stats-panel {
  width: 100% !important;
  margin: 0 0 0.65em !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

@media only screen and (min-width: 1100px) {
  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar {
    display: none !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 0.55em !important;
    width: 100% !important;
    margin-bottom: 0.65em !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables .tab-group , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables .tab-group {
    display: contents !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(320px, 1fr)) !important;
    gap: 0.65em !important;
    width: 100% !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables .tab-group , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables .tab-group {
    display: block !important;
    margin: 0 !important;
  }
}

@media only screen and (max-width: 1099px) {
  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab-bar {
    display: flex !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    font-size: 0.72em !important;
    padding: 0.65em 0.35em !important;
    letter-spacing: 0.06em !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab .tab-full , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab .tab-full {
    display: inline !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab .tab-abbr , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stat-tab .tab-abbr {
    display: none !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .stats-tables {
    display: block !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .tab-group:not(.tab-active) , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .tab-group:not(.tab-active) {
    display: none !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .tab-group.tab-active , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .tab-group.tab-active {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55em !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables .tab-group:not(.tab-active) , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables .tab-group:not(.tab-active) {
    display: none !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables .tab-group.tab-active , body.skybioml-branded #coriolis.sky-portal-ui #summary-responsive .defense-tables .tab-group.tab-active {
    display: block !important;
  }
}

/* Outfitting: one row — core | hardpoints | optional | utility */
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 0.85fr) !important;
  grid-template-areas: "standard hardpoints internal utility" !important;
  gap: 0.4em !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 0.4em !important;
  align-items: start !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #standard , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #standard {
  grid-area: standard !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #hardpoints , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #hardpoints {
  grid-area: hardpoints !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #internal , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #internal {
  grid-area: internal !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #utility , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > #utility {
  grid-area: utility !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > .group , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid > .group {
  width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0.2em !important;
  box-sizing: border-box !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

#coriolis #outfit .sky-outfitting-grid > .group {
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu h1 , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .section-menu h1 {
  font-size: 0.78em !important;
  padding: 0.35em 0.45em !important;
  margin-bottom: 0.25em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .slot , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid .slot {
  float: none !important;
  display: block !important;
  width: 100% !important;
  margin: 0.15em 0 !important;
  clear: both !important;
  font-size: 0.92em !important;
}

@media only screen and (max-width: 1200px) {
  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-areas:
      "standard hardpoints"
      "internal utility" !important;
  }
}

@media only screen and (max-width: 640px) {
  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfitting-grid {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "standard"
      "hardpoints"
      "internal"
      "utility" !important;
  }
}

/* Outfit page — vertical stack (stock SkyBioML floats otherwise pin power left) */
#coriolis #outfit.page,
#coriolis #outfit {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

#coriolis #outfit #overview,
#coriolis #outfit .sky-stats-panel,
#coriolis #outfit .sky-outfitting-grid,
#coriolis #outfit .outfitting-sections {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}

#coriolis #outfit .sky-analysis-compact.sky-priorities-only {
  order: 99 !important;
  flex: 0 0 auto !important;
  float: none !important;
  clear: both !important;
}

#coriolis #outfit .sky-priorities-only-wrap.group.full,
#coriolis #outfit .sky-outfit-subpages.sky-priorities-only-wrap {
  display: block !important;
}

/* Priorities-only — centered card under outfitting (explicit width avoids flex shrink) */
#coriolis #outfit .sky-analysis-compact.sky-priorities-only,
#coriolis #outfit .sky-priorities-section,
html.skybioml-branded #coriolis.sky-portal-ui #outfit .sky-analysis-compact.sky-priorities-only, body.skybioml-branded #coriolis.sky-portal-ui #outfit .sky-analysis-compact.sky-priorities-only,
html.skybioml-branded #coriolis.sky-portal-ui #outfit .sky-priorities-section , body.skybioml-branded #coriolis.sky-portal-ui #outfit .sky-priorities-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0.5em !important;
  padding: 0.75em 1em 1em !important;
  box-sizing: border-box !important;
  border-top: 1px solid var(--sky-widget-border, rgba(255, 255, 255, 0.1)) !important;
  font-size: 0.92em !important;
}

#coriolis #outfit .sky-priorities-section > .group.full,
#coriolis #outfit .sky-power-only-subpages,
#coriolis #outfit .sky-priorities-only-wrap,
#coriolis #outfit .sky-priorities-only-wrap.group.full,
html.skybioml-branded #coriolis.sky-portal-ui #outfit .sky-power-only-subpages.sky-priorities-only-wrap , body.skybioml-branded #coriolis.sky-portal-ui #outfit .sky-power-only-subpages.sky-priorities-only-wrap {
  display: block !important;
  width: min(72rem, 92vw) !important;
  max-width: min(72rem, 92vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

/* Cancel legacy 49% power|costs split (costs removed — full width) */
#coriolis #outfit .sky-priorities-only .sky-priorities-only-body.sky-outfit-tab-body:has(#componentPriority),
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only .sky-outfit-tab-body:has(#componentPriority) , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only .sky-outfit-tab-body:has(#componentPriority) {
  max-height: none !important;
  overflow: visible !important;
  width: 100% !important;
}

#coriolis #outfit .sky-priorities-only .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority,
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-priorities-only .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-priorities-only .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority,
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-priorities-only-body > div:has(#componentPriority) > #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-priorities-only-body > div:has(#componentPriority) > #componentPriority {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-power-only .sky-outfit-tabs, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-power-only .sky-outfit-tabs,
html.skybioml-branded #coriolis.sky-portal-ui .sky-power-only-subpages .sky-outfit-tabs, body.skybioml-branded #coriolis.sky-portal-ui .sky-power-only-subpages .sky-outfit-tabs,
#coriolis #outfit .sky-outfit-tabs {
  display: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-priorities-only .sky-controls-strip, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-priorities-only .sky-controls-strip,
#coriolis #outfit .sky-controls-strip {
  display: none !important;
}

#coriolis #outfit .sky-priorities-only-body,
#coriolis #outfit .sky-priorities-only,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body, body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.55em !important;
  box-sizing: border-box !important;
}

/* SkyBioML .group.half = 50% — override at source + here */
#coriolis #outfit #componentPriority,
#coriolis #outfit #componentPriority.group.half,
#coriolis #outfit #componentPriority.group.full,
#coriolis #outfit #componentPriority.sky-component-priority,
html.skybioml-branded #coriolis.sky-portal-ui #outfit #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui #outfit #componentPriority {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0.5em 0.65em 0.65em !important;
  box-sizing: border-box !important;
  vertical-align: top !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-heading , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-heading {
  width: 100% !important;
  margin: 0 0 0.15em !important;
  padding: 0.45em 0.75em !important;
  text-align: center !important;
  font-family: var(--sky-font-display, "Audiowide", sans-serif) !important;
  font-size: 0.82em !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: var(--sky-widget-header) !important;
  border: 1px solid var(--sky-widget-border) !important;
  box-shadow: inset 0 -2px 0 var(--sky-accent) !important;
  box-sizing: border-box !important;
}

#coriolis #outfit #componentPriority,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid var(--sky-widget-border) !important;
  border-left: 3px solid var(--sky-accent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

#coriolis #outfit #componentPriority table,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority table , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority table {
  width: 100% !important;
  margin: 0 auto !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  white-space: normal !important;
}

#coriolis #outfit #componentPriority thead th,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority thead th , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority thead th {
  text-align: center !important;
  padding: 0.45em 0.5em !important;
  font-size: 0.9em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority thead th.le , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority thead th.le {
  text-align: left !important;
}

#coriolis #outfit #componentPriority tbody td,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody td , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody td {
  text-align: center !important;
  padding: 0.38em 0.5em !important;
  vertical-align: middle !important;
  font-size: 0.9em !important;
  line-height: 1.35 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody td.le , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody td.le {
  text-align: left !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody td.ri , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody td.ri {
  text-align: right !important;
}

/* Priority column (ОСП) — room for ◀ 1 ▶ on one line */
#coriolis #outfit #componentPriority thead tr.main th.sky-pri-col,
#coriolis #outfit #componentPriority thead tr.main th:nth-child(3),
#coriolis #outfit #componentPriority tbody td.sky-pri-cell,
#coriolis #outfit #componentPriority tbody td:nth-child(4) {
  width: 6em !important;
  min-width: 6em !important;
  max-width: 6em !important;
  padding-left: 0.45em !important;
  padding-right: 0.45em !important;
  white-space: nowrap !important;
  text-align: center !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

#coriolis #outfit #componentPriority span.btn,
#coriolis #outfit #componentPriority span.btn.flip,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority span.btn , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority span.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 1.45em !important;
  min-height: 1.45em !important;
  margin: 0 0.18em !important;
  padding: 0 !important;
  border-radius: 2px !important;
  background: rgba(220, 38, 38, 0.15) !important;
  border: 1px solid var(--sky-accent-soft) !important;
  color: var(--sky-accent-bright) !important;
  font-size: 0.82em !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: background 0.15s ease, border-color 0.15s ease !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority span.btn:hover , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority span.btn:hover {
  background: rgba(220, 38, 38, 0.35) !important;
  border-color: var(--sky-accent) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody tr td[colspan] hr , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority tbody tr td[colspan] hr {
  background: var(--sky-accent) !important;
  opacity: 0.85 !important;
}

#coriolis #outfit #componentPriority > svg,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority > svg , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority > svg {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 28rem !important;
  height: auto !important;
  min-height: 7rem !important;
  margin: 0.85em auto 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-priorities-only , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact.sky-priorities-only {
  font-size: 0.92em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .power-band rect , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .power-band rect {
  stroke: rgba(0, 0, 0, 0.6) !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .axis text, body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .axis text,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .axis line, body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .axis line,
html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .axis path , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .axis path {
  fill: #a1a1aa !important;
  stroke: #71717a !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority text.primary , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority text.primary {
  fill: #e4e4e7 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .scroll-x , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority .scroll-x {
  overflow-x: auto !important;
  max-width: 100% !important;
  -webkit-overflow-scrolling: touch !important;
}

@media only screen and (max-width: 720px) {
  html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body, body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body,
  html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only {
    max-width: 100% !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui .sky-priorities-only-body #componentPriority {
    padding: 0.4em 0.35em !important;
  }
}

/* One block: controls strip + chart tabs (balanced — readable, not cropped) */
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.25em 0.35em 0.35em !important;
  box-sizing: border-box !important;
  border-top: 1px solid var(--sky-widget-border, rgba(255, 255, 255, 0.1)) !important;
  font-size: 0.78em !important;
}

/* All control widgets in ONE row (like original .group.quarter inline) */
html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-strip , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-strip {
  display: grid !important;
  grid-template-columns:
    minmax(5.5rem, auto)
    minmax(7.5rem, auto)
    minmax(9rem, 1fr)
    minmax(9rem, 1fr)
    minmax(12rem, 1.6fr)
    minmax(10rem, 1.2fr) !important;
  gap: 0.45em 0.55em !important;
  align-items: end !important;
  width: 100% !important;
  margin: 0 0 0.55em !important;
  padding: 0.35em 0.25em !important;
  box-sizing: border-box !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-width: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  vertical-align: bottom !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell > span, body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell > span,
html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell > div , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell > div {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell h3 , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell h3 {
  font-size: 0.78em !important;
  line-height: 1.2 !important;
  margin: 0 0 0.2em !important;
  white-space: nowrap !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell.sky-ctrl-range h3 , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell.sky-ctrl-range h3 {
  white-space: normal !important;
  line-height: 1.15 !important;
  max-width: 9.5rem !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell table , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell table {
  width: 100% !important;
  margin: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell #pips table , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell #pips table {
  width: auto !important;
  margin: 0 auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-boost button , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-boost button {
  width: 100% !important;
  min-height: 2.4em !important;
  font-size: 0.95em !important;
}

@media only screen and (max-width: 1100px) {
  html.skybioml-branded #coriolis.sky-portal-ui .sky-controls-strip , body.skybioml-branded #coriolis.sky-portal-ui .sky-controls-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    grid-template-columns: unset !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-cell {
    flex: 0 0 auto !important;
    min-width: 8.5rem !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-opponent , body.skybioml-branded #coriolis.sky-portal-ui .sky-ctrl-opponent {
    min-width: 11rem !important;
  }
}

/* Chart tabs — closer to stock SkyBioML .tabs / .group.third */
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-subpages , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-subpages {
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-subpages.group.full , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-subpages.group.full {
  width: 100% !important;
  display: block !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs,
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs th , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs th {
  font-size: 0.82em !important;
  font-weight: bold !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs th , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs th {
  width: 25% !important;
  padding: 0.4em 0.3em !important;
  letter-spacing: 0.05em !important;
  min-height: 2.1em !important;
  line-height: 1.25 !important;
  font-size: 0.78em !important;
  text-transform: uppercase !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs .tab-label-full , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs .tab-label-full {
  display: inline !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs .tab-label-abbr , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tabs .tab-label-abbr {
  display: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body {
  padding: 0.3em 0.15em 0.5em !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  max-height: none !important;
}

/* Chart tabs: never clip tab body (scroll page if needed) */
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(#offence), body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(#offence),
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(#defence), body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(#defence),
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(.group.third):not(:has(#componentPriority)) , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(.group.third):not(:has(#componentPriority)) {
  max-height: none !important;
  overflow: visible !important;
}

/* Power + costs — stock-like two columns (priority | costs) */
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(#componentPriority) , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body:has(#componentPriority) {
  max-height: min(42vh, 420px) !important;
  overflow-y: auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) {
  display: block !important;
  width: 100% !important;
  font-size: inherit !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > .group.half, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > .group.half,
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority {
  display: inline-block !important;
  width: 49% !important;
  max-width: 49% !important;
  min-width: 16rem !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
  padding: 0.25em 0.35em !important;
  margin: 0 !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact #componentPriority {
  max-height: none !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact #componentPriority table , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact #componentPriority table {
  font-size: inherit !important;
  width: 100% !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) .scroll-x , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) .scroll-x {
  overflow-x: auto !important;
  max-width: 100% !important;
}

/* Chart area — compact (no 1000px / 80vh stretch) */
html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-subpages , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-subpages {
  min-height: 0 !important;
  width: 100% !important;
  display: block !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body {
  border-top: 2px solid rgba(220, 38, 38, 0.35) !important;
  margin-top: 0.1em !important;
  padding-top: 0.45em !important;
  width: 100% !important;
  clear: both !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body .group h1 , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body .group h1 {
  font-size: 0.8em !important;
  line-height: 1.2em !important;
  padding: 0.3em 0.4em !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Profiles / offence / defence — SkyBioML inline-block columns (full width under tabs) */
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.third, body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.third,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.half, body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.half,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.quarter , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.quarter {
  padding: 0.2em 0.15em !important;
  margin: 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.third , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.third {
  display: inline-block !important;
  width: 33% !important;
  max-width: 33% !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.half , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.half {
  display: inline-block !important;
  width: 50% !important;
  max-width: 50% !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Offence — table full width, then 4-column row (metrics + 3 pies) */
html.skybioml-branded #coriolis.sky-portal-ui #offence.sky-offence-layout, body.skybioml-branded #coriolis.sky-portal-ui #offence.sky-offence-layout,
html.skybioml-branded #coriolis.sky-portal-ui #offence , body.skybioml-branded #coriolis.sky-portal-ui #offence {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  gap: 0.2em 0.15em !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  font-size: 0.82em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.full , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.full {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
}

/* Defence — SkyBioML 4×2 grid (shield row + armour row), no stacked charts */
html.skybioml-branded #coriolis.sky-portal-ui #defence.sky-defence-layout, body.skybioml-branded #coriolis.sky-portal-ui #defence.sky-defence-layout,
html.skybioml-branded #coriolis.sky-portal-ui #defence , body.skybioml-branded #coriolis.sky-portal-ui #defence {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  gap: 0.2em 0.15em !important;
  width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  font-size: 0.82em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence > span , body.skybioml-branded #coriolis.sky-portal-ui #defence > span {
  display: contents !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter , body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.full , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.full {
  padding: 0 0 0.35em !important;
  margin: 0 0 0.25em !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}

/* Profiles — grid on inner wrapper (.sky-profiles-layout), SkyBioML 3+2 */
html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  gap: 0.2em 0.15em !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-size: 0.8em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.third , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.third {
  display: block !important;
  grid-column: span 2 !important;
  width: auto !important;
  max-width: none !important;
  vertical-align: top !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.half , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.half {
  display: block !important;
  grid-column: span 3 !important;
  width: auto !important;
  max-width: none !important;
  vertical-align: top !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third > div, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third > div,
html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half > div, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half > div,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.third > div, body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.third > div,
html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.half > div , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.half > div {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 0.15em 0 0.35em !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third > div > div > div, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third > div > div > div,
html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half > div > div > div , body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half > div > div > div {
  height: auto !important;
  margin: 0 auto !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.quarter > div , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.quarter > div {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body #movement svg , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body #movement svg {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 6.5rem !important;
  margin: 0 auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.full table , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.full table {
  font-size: 1.02em !important;
  width: auto !important;
  min-width: 100% !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.full table tbody td.ri:first-child , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.full table tbody td.ri:first-child {
  font-size: 1.12em !important;
  line-height: 1.35 !important;
  text-align: left !important;
  padding: 0.2em 0.45em 0.2em 0.15em !important;
  white-space: normal !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.full table thead th , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.full table thead th {
  font-size: 0.88em !important;
  padding: 0.25em 0.2em !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence h2, body.skybioml-branded #coriolis.sky-portal-ui #offence h2,
html.skybioml-branded #coriolis.sky-portal-ui #defence h2 , body.skybioml-branded #coriolis.sky-portal-ui #defence h2 {
  font-size: 0.76em !important;
  line-height: 1.25 !important;
  margin: 0.15em 0 !important;
  padding: 0 0.1em !important;
  text-align: center !important;
  font-weight: bold !important;
  white-space: normal !important;
  overflow: visible !important;
  word-wrap: break-word !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:not(:has(> div)) h2 , body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:not(:has(> div)) h2 {
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  margin: 0.1em 0 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:not(:has(> div)) h2.summary , body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:not(:has(> div)) h2.summary {
  font-size: 0.84em !important;
  font-weight: bold !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:not(:has(> div)) , body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:not(:has(> div)) {
  font-size: 0.82em !important;
  line-height: 1.28 !important;
}

/* Weapon mount icons — compact, text stays primary */
html.skybioml-branded #coriolis.sky-portal-ui #offence table td svg, body.skybioml-branded #coriolis.sky-portal-ui #offence table td svg,
html.skybioml-branded #coriolis.sky-portal-ui #offence table .icon , body.skybioml-branded #coriolis.sky-portal-ui #offence table .icon {
  display: inline-block !important;
  width: 0.72em !important;
  height: 0.68em !important;
  max-width: 14px !important;
  max-height: 13px !important;
  vertical-align: middle !important;
  margin: 0 0.2em 0 0 !important;
  stroke-width: 7 !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence table td svg , body.skybioml-branded #coriolis.sky-portal-ui #offence table td svg {
  stroke-width: 7 !important;
}

/* Pie charts — size from SKY_PIE_MAX in bundle; do not squash with max-height */
html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(> div):not(:has(.recharts-wrapper)) > div, body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(> div):not(:has(.recharts-wrapper)) > div,
html.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter:has(svg) > div , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter:has(svg) > div {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(> div):not(:has(.recharts-wrapper)) svg, body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(> div):not(:has(.recharts-wrapper)) svg,
html.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter:has(svg) svg , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter:has(svg) svg {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter:not(:has(svg)) h2 , body.skybioml-branded #coriolis.sky-portal-ui #offence .group.quarter:not(:has(svg)) h2 {
  font-size: 0.8em !important;
  line-height: 1.22 !important;
  margin: 0.1em 0 !important;
}

/* Defence bar charts — SKY_BAR_MAX in bundle; centered in cell */
html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(.recharts-wrapper) > div , body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(.recharts-wrapper) > div {
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  text-align: center !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(.recharts-wrapper) > div > div , body.skybioml-branded #coriolis.sky-portal-ui #defence .group.quarter:has(.recharts-wrapper) > div > div {
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
}

html.skybioml-branded #coriolis.sky-portal-ui #defence .recharts-cartesian-axis-tick text , body.skybioml-branded #coriolis.sky-portal-ui #defence .recharts-cartesian-axis-tick text {
  font-size: 0.68em !important;
}

@media only screen and (max-width: 1000px) {
  html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout,
  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.third,
  html.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half, body.skybioml-branded #coriolis.sky-portal-ui .sky-profiles-layout .group.half,
  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.third, body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.third,
  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.half , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body > div:has(> .group.third) .group.half {
    grid-column: span 1 !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.third , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.third {
    width: 50% !important;
    max-width: 50% !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.half , body.skybioml-branded #coriolis.sky-portal-ui .sky-outfit-tab-body .group.half {
    width: 100% !important;
    max-width: 100% !important;
  }

  html.skybioml-branded #coriolis.sky-portal-ui #defence.sky-defence-layout, body.skybioml-branded #coriolis.sky-portal-ui #defence.sky-defence-layout,
  html.skybioml-branded #coriolis.sky-portal-ui #defence, body.skybioml-branded #coriolis.sky-portal-ui #defence,
  html.skybioml-branded #coriolis.sky-portal-ui #offence.sky-offence-layout, body.skybioml-branded #coriolis.sky-portal-ui #offence.sky-offence-layout,
  html.skybioml-branded #coriolis.sky-portal-ui #offence , body.skybioml-branded #coriolis.sky-portal-ui #offence {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media only screen and (max-width: 900px) {
  html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > .group.half, body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > .group.half,
  html.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority , body.skybioml-branded #coriolis.sky-portal-ui .sky-analysis-compact .sky-outfit-tab-body > div:has(#componentPriority) > #componentPriority {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
}

@media only screen and (max-width: 640px) {
  html.skybioml-branded #coriolis.sky-portal-ui #defence.sky-defence-layout, body.skybioml-branded #coriolis.sky-portal-ui #defence.sky-defence-layout,
  html.skybioml-branded #coriolis.sky-portal-ui #defence, body.skybioml-branded #coriolis.sky-portal-ui #defence,
  html.skybioml-branded #coriolis.sky-portal-ui #offence.sky-offence-layout, body.skybioml-branded #coriolis.sky-portal-ui #offence.sky-offence-layout,
  html.skybioml-branded #coriolis.sky-portal-ui #offence , body.skybioml-branded #coriolis.sky-portal-ui #offence {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   ORANGE PURGE — #coriolis (loads last; beats app.css specificity)
   SkyBioML: #FF8C0D #FF3B00 #733c00 #c06400
   ═══════════════════════════════════════════════════════════ */
#coriolis .primary,
#coriolis .icon.primary,
#coriolis svg.primary,
#coriolis .warning,
#coriolis svg.warning,
#coriolis .primary-disabled,
#coriolis header .menu-header,
#coriolis header .menu-header .menu-item-label,
#coriolis header .menu-header svg:not(.warning),
#coriolis header a,
#coriolis header a:visited,
#coriolis .shippicker .menu-header,
#coriolis #build .build-actions button,
#coriolis #build button,
#coriolis #build .icon,
#coriolis #build svg {
  color: #9ca3af !important;
  stroke: #9ca3af !important;
  fill: #9ca3af !important;
}

#coriolis header svg:not(.sky-nav-icon) path,
#coriolis header svg.icon:not(.sky-nav-icon) path,
#coriolis #build svg path,
#coriolis #build svg.icon path {
  fill: currentColor !important;
  stroke: currentColor !important;
}

#coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon path,
#coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon path {
  fill: #dc2626 !important;
  stroke: none !important;
}

#coriolis header .menu-header:hover,
#coriolis header .menu-header:hover .menu-item-label,
#coriolis header .menu-header:hover svg:not(.sky-nav-icon) {
  color: #f87171 !important;
  stroke: #f87171 !important;
  fill: #f87171 !important;
}

#coriolis header .menu-header:hover svg.sky-nav-icon {
  fill: none !important;
  stroke: none !important;
  color: #f87171 !important;
}

#coriolis header .menu-header:hover svg.sky-nav-icon path {
  fill: #f87171 !important;
  stroke: none !important;
}

#coriolis header .menu-header.selected,
#coriolis header .menu-header.selected .menu-item-label,
#coriolis header .menu-header.selected svg:not(.sky-nav-icon) {
  color: #fff !important;
  stroke: #f87171 !important;
  fill: #f87171 !important;
}

#coriolis header .menu-header.disabled,
#coriolis header .menu-header.disabled svg.warning {
  color: #52525b !important;
  stroke: transparent !important;
  fill: transparent !important;
}

/* СБОРКИ / СРАВНЕНИЕ — заливка только path (не красный квадрат на svg) */
#coriolis header .sky-nav-builds .menu-header svg.icon.warning,
#coriolis header .sky-nav-compare .menu-header svg.icon.warning,
#coriolis header > .l.menu.sky-nav-builds .menu-header svg.icon.warning,
#coriolis header > .l.menu.sky-nav-compare .menu-header svg.icon.warning,
#coriolis header > div.menu:nth-child(3) .menu-header svg.icon.warning,
#coriolis header > div.menu:nth-child(4) .menu-header svg.icon.warning {
  color: #dc2626 !important;
  fill: none !important;
  stroke: none !important;
  background: transparent !important;
}

#coriolis header .sky-nav-builds .menu-header svg.icon.warning path,
#coriolis header .sky-nav-compare .menu-header svg.icon.warning path,
#coriolis header > .l.menu.sky-nav-builds .menu-header svg.icon.warning path,
#coriolis header > .l.menu.sky-nav-compare .menu-header svg.icon.warning path,
#coriolis header > div.menu:nth-child(3) .menu-header svg.icon.warning path,
#coriolis header > div.menu:nth-child(4) .menu-header svg.icon.warning path {
  fill: #dc2626 !important;
  stroke: none !important;
  color: #dc2626 !important;
}

#coriolis header .sky-nav-builds .menu-header:hover svg.icon.warning,
#coriolis header .sky-nav-compare .menu-header:hover svg.icon.warning,
#coriolis header .sky-nav-builds .menu-header:hover svg.icon.warning,
#coriolis header .sky-nav-compare .menu-header:hover svg.icon.warning,
#coriolis header .sky-nav-builds .menu-header.selected svg.icon.warning,
#coriolis header .sky-nav-compare .menu-header.selected svg.icon.warning {
  fill: transparent !important;
  stroke: transparent !important;
  color: #f87171 !important;
}

#coriolis header .sky-nav-builds .menu-header:hover svg.icon.warning path,
#coriolis header .sky-nav-compare .menu-header:hover svg.icon.warning path,
#coriolis header .sky-nav-builds .menu-header.selected svg.icon.warning path,
#coriolis header .sky-nav-compare .menu-header.selected svg.icon.warning path {
  fill: #f87171 !important;
  stroke: none !important;
  color: #f87171 !important;
}

#coriolis header .sky-nav-builds .menu-header.disabled svg.warning-disabled,
#coriolis header .sky-nav-compare .menu-header.disabled svg.warning-disabled,
#coriolis header .sky-nav-builds .menu-header.disabled svg.warning-disabled path,
#coriolis header .sky-nav-compare .menu-header.disabled svg.warning-disabled path {
  fill: #52525b !important;
  stroke: #52525b !important;
  color: #52525b !important;
}

#coriolis a.ship,
#coriolis a.ship h2 {
  color: #e5e7eb !important;
}

#coriolis a.ship small,
#coriolis #shipyard a.ship small {
  color: #f87171 !important;
}

#coriolis #shipyard .shipyard-filter-bar,
#coriolis .shipyard-filter-bar,
#coriolis #shipyard .shipyard-table-wrapper,
#coriolis .shipyard-table-wrapper,
#coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table td:first-child,
#coriolis .shipyard-table-wrapper .shipyard-table td:first-child,
#coriolis #shipyard .shipyard-table-wrapper div .shipyard-table td:last-child,
#coriolis .shipyard-table-wrapper div .shipyard-table td:last-child {
  border-color: rgba(220, 38, 38, 0.35) !important;
}

#coriolis #shipyard .shipyard-filter-bar {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(8, 8, 12, 0.98) !important;
  border-bottom: 2px solid #dc2626 !important;
}

#coriolis #shipyard table.shipyard-table thead,
#coriolis #shipyard table.shipyard-table thead th {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: #e5e7eb !important;
  border-color: rgba(220, 38, 38, 0.22) !important;
}

#coriolis #shipyard table.shipyard-table thead {
  box-shadow: none !important;
}

#coriolis #shipyard .shipyard-table-wrapper {
  border-bottom: 1px solid rgba(220, 38, 38, 0.35) !important;
}

#coriolis #shipyard .table-tools,
#coriolis #shipyard .table-tools label {
  color: #dc2626 !important;
}

#coriolis #shipyard .shipyard-filter-bar.filter-mobile .filter-dropdown {
  border-color: rgba(220, 38, 38, 0.35) !important;
  background-color: rgba(8, 8, 12, 0.98) !important;
  color: #e5e7eb !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23dc2626'/%3E%3C/svg%3E") !important;
}

#coriolis .shipyard-filter-bar .filter-option {
  border-color: rgba(220, 38, 38, 0.35) !important;
  color: #9ca3af !important;
  background: rgba(18, 18, 21, 0.9) !important;
}

#coriolis .shipyard-filter-bar .filter-option:hover,
#coriolis .no-touch .shipyard-filter-bar .filter-option:hover {
  color: #f87171 !important;
  border-color: #dc2626 !important;
}

#coriolis .shipyard-filter-bar .filter-option.active {
  background: rgba(220, 38, 38, 0.15) !important;
  border-color: #dc2626 !important;
  color: #fff !important;
}

#coriolis .shipyard-filter-bar .filter-clear {
  color: #f87171 !important;
}

#coriolis #summary .summaryTable thead,
#coriolis #summary-responsive .stat-tab,
#coriolis #summary-responsive .stat-table .stat-table-header,
#coriolis #summary-responsive .defense-table .defense-header,
#coriolis table:not(.shipyard-table) thead,
#coriolis table:not(.shipyard-table) thead th,
#coriolis .group h1,
#coriolis #componentPriority thead,
#coriolis #componentPriority thead th,
#coriolis #outfit thead,
#coriolis #outfit thead th {
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 -2px 0 #dc2626 !important;
}

#coriolis #summary-responsive .stat-tab,
#coriolis #summary-responsive .stat-tab:hover:not(.active) {
  border-color: rgba(220, 38, 38, 0.35) !important;
  color: #9ca3af !important;
  background: rgba(0, 0, 0, 0.35) !important;
}

#coriolis #summary-responsive .stat-tab.active,
#coriolis .section-menu.selected h1 {
  color: #fff !important;
  border-color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.12) !important;
}

#coriolis #summary-responsive .stat-table,
#coriolis #summary-responsive .defense-table {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

#coriolis #summary-responsive .stat-table .stat-table-header,
#coriolis #summary-responsive .defense-table .defense-header {
  background: rgba(255, 255, 255, 0.03) !important;
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
}

#coriolis #summary-responsive .stat-table table tbody tr td.value,
#coriolis #summary-responsive .defense-table table tbody tr td.value,
#coriolis #summary-responsive .stat-table table tbody tr td.value.primary,
#coriolis #summary-responsive .defense-table table tbody tr td.value.primary,
#coriolis #summary tbody td.primary,
#coriolis #summary tbody td .primary {
  color: #e5e7eb !important;
  stroke: #e5e7eb !important;
}

#coriolis #summary-responsive .stat-table table tbody tr td.value.warning,
#coriolis #summary-responsive .defense-table table tbody tr td.value.warning {
  color: #f87171 !important;
}

#coriolis .summary-toggle .text-toggle,
#coriolis .summary-toggle button,
#coriolis .outfitting-toggle {
  color: #9ca3af !important;
  border-color: rgba(220, 38, 38, 0.35) !important;
  background: linear-gradient(180deg, #1a1a1f, #121215) !important;
}

#coriolis .section-menu.selected h1 {
  background: rgba(220, 38, 38, 0.12) !important;
}

#coriolis #build input:focus {
  border-color: #dc2626 !important;
  color: #fff !important;
}

#coriolis .slot,
#coriolis .slot .sz {
  color: #a1a1aa !important;
  stroke: #a1a1aa !important;
  border-color: rgba(220, 38, 38, 0.35) !important;
}

#coriolis .slot.selected {
  color: #fff !important;
  stroke: #fff !important;
  fill: #fff !important;
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.14), rgba(18, 18, 21, 0.98) 40%) !important;
  border-color: rgba(220, 38, 38, 0.45) !important;
}

#coriolis .slot.selected .sz {
  color: #f87171 !important;
  stroke: #f87171 !important;
  background-color: rgba(0, 0, 0, 0.4) !important;
  border-right-color: rgba(220, 38, 38, 0.45) !important;
}

#coriolis .select .select-group,
#coriolis .select .module-separator,
#coriolis #outfit .select .select-group {
  color: #e5e7eb !important;
  border-top-color: rgba(255, 255, 255, 0.1) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

#coriolis .select .lc,
#coriolis .select .c,
#coriolis .select .empty-c,
#coriolis .empty-slot {
  color: #a1a1aa !important;
  stroke: #a1a1aa !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

#coriolis .no-touch .select .lc:hover:not(.disabled),
#coriolis .no-touch .select .c:hover:not(.disabled),
#coriolis .no-touch .empty-slot:hover:not(.active) {
  color: #f87171 !important;
  stroke: #f87171 !important;
  border-color: #dc2626 !important;
}

#coriolis .select .lc.active,
#coriolis .select .c.active,
#coriolis .compact-module.active,
#coriolis .hardpoint-module.active,
#coriolis .special-module.active,
#coriolis .empty-slot.active {
  color: #fff !important;
  stroke: #f87171 !important;
  border-color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.12) !important;
}

#coriolis .hardpoint-module .mount-icon,
#coriolis .special-module .mount-icon {
  stroke: #a1a1aa !important;
}

#coriolis .select .lc.warning,
#coriolis .select .c.warning,
#coriolis .menu-section-wrapper.open .select,
#coriolis #outfit .menu-section-wrapper.open > .select {
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e5e7eb !important;
}

#coriolis .compact-module.warning,
#coriolis .hardpoint-module.warning,
#coriolis .special-module.warning {
  border-color: #dc2626 !important;
  color: #f87171 !important;
}

#coriolis .tabs,
#coriolis .tabs th {
  color: #9ca3af !important;
  border-color: rgba(220, 38, 38, 0.35) !important;
  background: #121215 !important;
}

#coriolis #componentPriority table,
#coriolis #componentPriority td,
#coriolis #componentPriority th,
#coriolis #componentPriority hr {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

#coriolis #componentPriority hr {
  background: #dc2626 !important;
}

#coriolis #componentPriority text.warning,
#coriolis #componentPriority text.primary {
  fill: #f87171 !important;
  stroke: #f87171 !important;
}

#coriolis svg path[fill="#FF7100"],
#coriolis svg path[fill="#FF8C0D"],
#coriolis svg path[fill="#FF3B00"] {
  fill: currentColor !important;
}

/* ═══ Module / engineering picker (.select inside .slot) ═══ */
#coriolis #outfit .slot .select,
#coriolis #outfit .slot .menu-section-wrapper.open .select,
#coriolis #outfit .menu-section-wrapper.open .select,
#coriolis #outfit .select.standard,
#coriolis #outfit .select.category-menu,
#coriolis #outfit .section-menu .select,
#coriolis #outfit .section-menu.selected .select {
  color: #d4d4d8 !important;
  background-color: rgba(10, 10, 15, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-left: 3px solid #dc2626 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#coriolis #outfit .slot .select::-webkit-scrollbar-track,
#coriolis #outfit .slot .menu-section-wrapper.open .select::-webkit-scrollbar-track,
#coriolis #outfit .select::-webkit-scrollbar-track {
  background: transparent !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#coriolis #outfit .slot .select::-webkit-scrollbar-thumb,
#coriolis #outfit .menu-section-wrapper.open .select::-webkit-scrollbar-thumb,
#coriolis #outfit .select::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.35) !important;
}

#coriolis #outfit .select .select-category,
#coriolis #outfit .select .select-group,
#coriolis #outfit .menu-section-wrapper.open .select-group {
  color: #e5e7eb !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: transparent !important;
}

#coriolis #outfit .select .select-category {
  border-top-width: 1px !important;
  border-bottom-width: 1px !important;
}

#coriolis #outfit .section-menu.selected h1 {
  background: rgba(220, 38, 38, 0.12) !important;
  color: #fff !important;
  box-shadow: inset 0 -2px 0 #dc2626 !important;
}

#coriolis #outfit .section-menu h1::before,
#coriolis #outfit .group h1::before {
  color: #f87171 !important;
}

#coriolis #outfit .compact-module,
#coriolis #outfit .hardpoint-module,
#coriolis #outfit .special-module,
#coriolis #outfit .empty-slot,
#coriolis #outfit .menu-section-wrapper.open .compact-module,
#coriolis #outfit .menu-section-wrapper.open .hardpoint-module {
  color: #a1a1aa !important;
  border: 2px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(18, 18, 21, 0.95) !important;
}

#coriolis #outfit .no-touch .compact-module:hover:not(.disabled):not(.active):not(.warning),
#coriolis #outfit .no-touch .hardpoint-module:hover:not(.disabled):not(.active):not(.warning),
#coriolis #outfit .no-touch .special-module:hover:not(.disabled):not(.active):not(.warning) {
  color: #f87171 !important;
  border-color: rgba(220, 38, 38, 0.45) !important;
}

#coriolis #outfit .no-touch .hardpoint-module:hover:not(.disabled):not(.active):not(.warning) .mount-icon,
#coriolis #outfit .hardpoint-module .module-mount .mount-icon,
#coriolis #outfit .special-module .module-mount .mount-icon {
  stroke: #a1a1aa !important;
  fill: none !important;
}

#coriolis #outfit .compact-module.active,
#coriolis #outfit .hardpoint-module.active,
#coriolis #outfit .special-module.active,
#coriolis #outfit .empty-slot.active {
  color: #fff !important;
  border-color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.12) !important;
  box-shadow: inset 0 -2px 0 #dc2626 !important;
}

#coriolis #outfit .hardpoint-module.active .mount-icon,
#coriolis #outfit .special-module.active .mount-icon {
  stroke: #f87171 !important;
}

#coriolis #outfit .react-fuzzy-search > *,
#coriolis #outfit .react-fuzzy-search > * > input,
#coriolis #outfit .module-search-input {
  color: #e5e7eb !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

#coriolis #summary-responsive .stat-table table tbody tr td.value .resistance-group,
#coriolis #summary-responsive .defense-table table tbody tr td.value .resistance-group {
  color: #e5e7eb !important;
}

/* ═══ Shipyard home (no #shipyard id in stock SkyBioML — duplicate selectors) ═══ */
#coriolis .page .content-wrapper:has(.shipyard-filter-bar),
#coriolis #shipyard .content-wrapper,
#coriolis .page .content-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#coriolis #shipyard .content-wrapper,
#coriolis .page .content-wrapper:has(.shipyard-filter-bar) {
  position: relative !important;
  background: rgba(8, 8, 12, 0.98) !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
  border-top: 1px solid rgba(220, 38, 38, 0.35) !important;
  border-bottom: 2px solid #dc2626 !important;
  padding: 0.5em 0.75em 0.65em !important;
  margin-top: 2px !important;
}

#coriolis .shipyard-filter-bar,
#coriolis #shipyard .shipyard-filter-bar {
  width: 100% !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid #dc2626 !important;
  margin-bottom: 0.35em !important;
}

#coriolis table.shipyard-table thead,
#coriolis table.shipyard-table thead tr,
#coriolis table.shipyard-table thead th,
#coriolis #shipyard table.shipyard-table thead,
#coriolis #shipyard table.shipyard-table thead th {
  background: rgba(255, 255, 255, 0.04) !important;
  background-color: rgba(255, 255, 255, 0.04) !important;
  color: #e5e7eb !important;
  border-color: rgba(220, 38, 38, 0.22) !important;
}

/* Shipyard table: сплошная красная линия под подписью в tr.main (одна высота) */
#coriolis table.shipyard-table {
  border-collapse: collapse !important;
}

#coriolis table.shipyard-table thead {
  box-shadow: none !important;
  border-bottom: 0 !important;
}

#coriolis table.shipyard-table thead th {
  color: #e5e7eb !important;
  border-color: rgba(220, 38, 38, 0.22) !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

#coriolis table.shipyard-table thead th {
  border-bottom: 0 !important;
  border-top: 0 !important;
}

#coriolis table.shipyard-table thead tr.main th,
#coriolis table.shipyard-table thead tr.main th[rowspan],
#coriolis .shipyard-table-wrapper > table.shipyard-table thead tr.main th.sortable {
  text-decoration: none !important;
}

/* Полоса подписей КОРПУС / СТОИМОСТЬ / РАЗМЕР — как в фильтрах: по центру, uppercase */
#coriolis .shipyard-table-wrapper > table.shipyard-table thead tr.main th.sortable,
#coriolis .shipyard-table-wrapper > table.shipyard-table thead tr.main th.lft,
#coriolis .shipyard-table-wrapper > table.shipyard-table thead tr.main th.rgt,
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr:nth-child(2) th,
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr:nth-child(2) th.lft,
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th[colspan] {
  text-align: center !important;
  vertical-align: middle !important;
  font-size: 0.85em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  padding-left: 0.35em !important;
  padding-right: 0.35em !important;
  padding-top: 0.15em !important;
  padding-bottom: 0.15em !important;
  color: #e5e7eb !important;
  font-weight: 600 !important;
}

#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th[rowspan] {
  text-align: center !important;
  vertical-align: top !important;
  font-size: 0.85em !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  line-height: 1.2 !important;
  padding-left: 0.35em !important;
  padding-right: 0.35em !important;
  padding-bottom: 0 !important;
  color: #e5e7eb !important;
  font-weight: 600 !important;
}

#coriolis .shipyard-filter-bar .filter-label,
#coriolis #shipyard .shipyard-filter-bar .filter-label {
  letter-spacing: 0.08em !important;
  font-weight: 600 !important;
}

#coriolis table.shipyard-table thead th.invisible {
  color: #e5e7eb !important;
  text-decoration: none !important;
}

#coriolis .shipyard-table-wrapper {
  position: relative !important;
  overflow: visible !important;
}

#coriolis .shipyard-table-wrapper > div {
  overflow-x: auto !important;
  overflow-y: visible !important;
}

#coriolis .shipyard-table-wrapper .sky-thead-lines-layer {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

#coriolis .shipyard-table-wrapper .sky-thead-lines-layer .sky-thead-line-top,
#coriolis .shipyard-table-wrapper .sky-thead-lines-layer .sky-thead-line-bottom,
#coriolis .shipyard-table-wrapper .sky-thead-lines-layer .sky-thead-ms-rule {
  position: absolute !important;
  height: 2px !important;
  background: #dc2626 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

html.skybioml-branded #coriolis header .menu, body.skybioml-branded #coriolis header .menu,
html.skybioml-branded #coriolis header .menu-list, body.skybioml-branded #coriolis header .menu-list,
html.skybioml-branded #coriolis header .menu.open, body.skybioml-branded #coriolis header .menu.open{
  z-index: 200 !important;
}

#coriolis table.shipyard-table thead tr.main th[colspan] {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead th, body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead th,
html.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th, body.skybioml-branded #coriolis.sky-portal-ui #shipyard table.shipyard-table thead th,
html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead tr.main th, body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead tr.main th,
html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead tr.main th[rowspan], body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead tr.main th[rowspan],
html.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead tr.main th.sortable, body.skybioml-branded #coriolis.sky-portal-ui table.shipyard-table thead tr.main th.sortable,
#coriolis table.shipyard-table thead tr.main th:nth-child(2),
#coriolis table.shipyard-table thead tr.main th:nth-child(3),
#coriolis table.shipyard-table thead tr.main th:nth-child(4),
#coriolis table.shipyard-table thead tr.main th:nth-child(5),
#coriolis table.shipyard-table thead tr.main th:nth-child(6),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th:nth-child(2),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th:nth-child(3),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th:nth-child(4),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th:nth-child(5),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead tr.main th:nth-child(6) {
  box-shadow: none !important;
  border-bottom: 0 !important;
  border-top: 0 !important;
}

html.skybioml-branded #coriolis header, body.skybioml-branded #coriolis header {
  isolation: isolate !important;
}

html.skybioml-branded #coriolis header > .menu {
  position: relative !important;
  z-index: 1 !important;
}

html.skybioml-branded #coriolis header > .menu:has(> .menu-list) {
  z-index: 450 !important;
}

html.skybioml-branded #coriolis header .menu-list {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  z-index: 500 !important;
  max-height: min(70vh, 520px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  background-color: #0a0a0f !important;
  background-image: linear-gradient(180deg, #1a0c12 0%, #0a0a0f 100%) !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  isolation: isolate !important;
}

html.skybioml-branded #coriolis header .menu-list table,
html.skybioml-branded #coriolis header .menu-list tbody,
html.skybioml-branded #coriolis header .menu-list tr,
html.skybioml-branded #coriolis header .menu-list td,
html.skybioml-branded #coriolis header .menu-list ul,
html.skybioml-branded #coriolis header .menu-list li,
html.skybioml-branded #coriolis header .menu-list hr,
html.skybioml-branded #coriolis header .menu-list p {
  background-color: #0a0a0f !important;
  color: #e5e7eb !important;
}

html.skybioml-branded #coriolis header .menu-list .sky-settings-hint,
html.skybioml-branded #coriolis header .menu-list .sky-settings-section,
html.skybioml-branded #coriolis header .menu-list .cap {
  color: #a1a1aa !important;
}

html.skybioml-branded #coriolis header > .menu.r .menu-list,
html.skybioml-branded #coriolis header > .menu.r .menu-list.sky-settings-menu {
  left: auto !important;
  right: 0 !important;
  min-width: 18em !important;
  max-width: min(24em, calc(100vw - 1.5rem)) !important;
}

#coriolis table.shipyard-table thead tr.main th:nth-child(2),
#coriolis table.shipyard-table thead tr.main th:nth-child(3),
#coriolis table.shipyard-table thead tr.main th:nth-child(4),
#coriolis table.shipyard-table thead tr.main th:nth-child(5),
#coriolis table.shipyard-table thead tr.main th:nth-child(6) {
  border-left: none !important;
}

#coriolis table.shipyard-table thead tr.main th:nth-child(2) {
  border-left: 1px solid rgba(220, 38, 38, 0.35) !important;
}

/* РАЗМЕР / ЭКИПАЖ / MLF / AGILITY / HRD — равная ширина, без обрезки заголовков */
#coriolis .shipyard-table-wrapper > div table.shipyard-table {
  table-layout: fixed !important;
}

#coriolis .shipyard-table-wrapper > div table.shipyard-table th:nth-child(2),
#coriolis .shipyard-table-wrapper > div table.shipyard-table th:nth-child(3),
#coriolis .shipyard-table-wrapper > div table.shipyard-table th:nth-child(4),
#coriolis .shipyard-table-wrapper > div table.shipyard-table th:nth-child(5),
#coriolis .shipyard-table-wrapper > div table.shipyard-table th:nth-child(6),
#coriolis .shipyard-table-wrapper > div table.shipyard-table td:nth-child(2),
#coriolis .shipyard-table-wrapper > div table.shipyard-table td:nth-child(3),
#coriolis .shipyard-table-wrapper > div table.shipyard-table td:nth-child(4),
#coriolis .shipyard-table-wrapper > div table.shipyard-table td:nth-child(5),
#coriolis .shipyard-table-wrapper > div table.shipyard-table td:nth-child(6) {
  width: 10.75em !important;
  min-width: 10.75em !important;
  max-width: 10.75em !important;
  box-sizing: border-box !important;
  padding-left: 0.35em !important;
  padding-right: 0.35em !important;
  text-align: center !important;
}

#coriolis .shipyard-table-wrapper > div table.shipyard-table thead th:nth-child(2),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead th:nth-child(3),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead th:nth-child(4),
#coriolis .shipyard-table-wrapper > div table.shipyard-table thead th:nth-child(5),
#coriolis .shipyard-table-wrapper > div table.shipyard-table th:nth-child(6),
#coriolis .shipyard-table-wrapper > div table.shipyard-table td:nth-child(6) {
  width: 12em !important;
  min-width: 12em !important;
  max-width: 12em !important;
}

#coriolis .shipyard-table-wrapper > div table.shipyard-table thead th:nth-child(6) {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1.12 !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.03em !important;
  word-break: break-word !important;
  hyphens: auto !important;
}

#coriolis .shipyard-table-wrapper > div table.shipyard-table tbody td:nth-child(2),
#coriolis .shipyard-table-wrapper > div table.shipyard-table tbody td:nth-child(3),
#coriolis .shipyard-table-wrapper > div table.shipyard-table tbody td:nth-child(4),
#coriolis .shipyard-table-wrapper > div table.shipyard-table tbody td:nth-child(5),
#coriolis .shipyard-table-wrapper > div table.shipyard-table tbody td:nth-child(6) {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

#coriolis table.shipyard-table thead tr.main th:nth-child(7),
#coriolis table.shipyard-table thead tr.main th.lft {
  border-left: 2px solid #dc2626 !important;
}

#coriolis .shipyard-table-wrapper,
#coriolis #shipyard .shipyard-table-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  border-bottom: 1px solid rgba(220, 38, 38, 0.35) !important;
  box-sizing: border-box !important;
}

#coriolis .table-tools,
#coriolis .table-tools label,
#coriolis #shipyard .table-tools,
#coriolis #shipyard .table-tools label {
  color: #dc2626 !important;
}

#coriolis .table-tools label:hover,
#coriolis #shipyard .table-tools label:hover {
  color: #f87171 !important;
}

/* ═══ Module picker internals (grids, rows, class buttons, categories) ═══ */
#coriolis #outfit .select .compact-module-grid,
#coriolis #outfit .slot .select .compact-module-grid {
  margin: 0.65em 0 !important;
  padding: 0.65em !important;
  background: rgba(12, 12, 18, 0.98) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  gap: 0.35em !important;
}

#coriolis #outfit .select .grades-row,
#coriolis #outfit .slot .select .grades-row,
#coriolis #outfit .select .compact-module-row,
#coriolis #outfit .select .hardpoint-module-row {
  border: none !important;
  background: transparent !important;
}

#coriolis #outfit .select .category-item,
#coriolis #outfit .select .back-button,
#coriolis #outfit .select .category-item.c,
#coriolis #outfit .select .back-button.c {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #d4d4d8 !important;
  stroke: #d4d4d8 !important;
  background: rgba(18, 18, 21, 0.95) !important;
}

#coriolis #outfit .no-touch .select .category-item:hover,
#coriolis #outfit .no-touch .select .back-button:hover {
  border-color: rgba(220, 38, 38, 0.45) !important;
  color: #f87171 !important;
}

#coriolis #outfit .select .lc,
#coriolis #outfit .select .rc,
#coriolis #outfit .select .empty-c,
#coriolis #outfit .select .c:not(.compact-module):not(.hardpoint-module):not(.special-module) {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #a1a1aa !important;
  stroke: #a1a1aa !important;
  background: rgba(18, 18, 21, 0.95) !important;
}

#coriolis #outfit .select .special-module:not(.compact-module):not(.hardpoint-module):not(.category-item):not(.back-button) {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #d4d4d8 !important;
  background: rgba(18, 18, 21, 0.95) !important;
}

#coriolis #outfit .select .compact-module,
#coriolis #outfit .select .hardpoint-module,
#coriolis #outfit .select .empty-slot {
  border: 2px solid rgba(255, 255, 255, 0.12) !important;
  color: #a1a1aa !important;
  background: rgba(18, 18, 21, 0.95) !important;
}

#coriolis #outfit .no-touch .select .compact-module:hover:not(.disabled):not(.active):not(.warning),
#coriolis #outfit .no-touch .select .hardpoint-module:hover:not(.disabled):not(.active):not(.warning),
#coriolis #outfit .no-touch .select .lc:hover:not(.disabled),
#coriolis #outfit .no-touch .select .c:hover:not(.disabled) {
  color: #f87171 !important;
  stroke: #f87171 !important;
  border-color: rgba(220, 38, 38, 0.45) !important;
  background: rgba(220, 38, 38, 0.08) !important;
}

#coriolis #outfit .select .compact-module.active,
#coriolis #outfit .select .hardpoint-module.active,
#coriolis #outfit .select .special-module.active,
#coriolis #outfit .select .empty-slot.active,
#coriolis #outfit .select .lc.active,
#coriolis #outfit .select .c.active {
  color: #fff !important;
  stroke: #f87171 !important;
  border-color: #dc2626 !important;
  background: rgba(220, 38, 38, 0.12) !important;
  box-shadow: inset 0 -2px 0 #dc2626 !important;
}

#coriolis #outfit .select .hardpoint-module .mount-icon,
#coriolis #outfit .select .special-module .mount-icon {
  stroke: #a1a1aa !important;
  fill: none !important;
}

#coriolis #outfit .select .hardpoint-module.active .mount-icon,
#coriolis #outfit .select .hardpoint-module:hover:not(.disabled) .mount-icon {
  stroke: #f87171 !important;
}

#coriolis #outfit .react-fuzzy-search,
#coriolis #outfit .react-fuzzy-search > *,
#coriolis #outfit .react-fuzzy-search input {
  color: #e5e7eb !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.45) !important;
}

/* Fitted slots in columns — no orange fill */
#coriolis #outfit .slot {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(18, 18, 21, 0.95) !important;
  color: #e5e7eb !important;
}

#coriolis #outfit .slot .sz {
  color: #a1a1aa !important;
  stroke: #a1a1aa !important;
  border-right-color: rgba(220, 38, 38, 0.35) !important;
}

#coriolis #outfit .slot.selected {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.14), rgba(18, 18, 21, 0.98) 42%) !important;
  border-color: rgba(220, 38, 38, 0.45) !important;
  color: #fff !important;
}

#coriolis #outfit .slot.selected .sz {
  color: #f87171 !important;
  stroke: #f87171 !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-right-color: rgba(220, 38, 38, 0.45) !important;
}

#coriolis #outfit .slot .empty {
  color: #52525b !important;
  stroke: #52525b !important;
}

/* Header: СБОРКИ / СРАВНЕНИЕ — filled icon shapes (not red svg box) */
/* LAST WIN: СБОРКИ / СРАВНЕНИЕ — без класса .warning (иначе заливка всего svg) */
#coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon,
#coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon,
#coriolis header > div.menu:nth-child(3) .menu-header > svg.sky-nav-icon,
#coriolis header > div.menu:nth-child(4) .menu-header > svg.sky-nav-icon {
  fill: none !important;
  stroke: none !important;
  color: #dc2626 !important;
  background: transparent !important;
}

#coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon path,
#coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon path,
#coriolis header > div.menu:nth-child(3) .menu-header > svg.sky-nav-icon path,
#coriolis header > div.menu:nth-child(4) .menu-header > svg.sky-nav-icon path {
  fill: #dc2626 !important;
  stroke: none !important;
}

#coriolis header .sky-nav-builds .menu-header > svg.sky-nav-icon--disabled path,
#coriolis header .sky-nav-compare .menu-header > svg.sky-nav-icon--disabled path {
  fill: #52525b !important;
}

#coriolis header .sky-nav-builds .menu-header:hover > svg.sky-nav-icon path,
#coriolis header .sky-nav-compare .menu-header:hover > svg.sky-nav-icon path {
  fill: #f87171 !important;
}

/* ── Shipyard page layout (preserve Coriolis multi-table nowrap) ── */
html.skybioml-branded #coriolis header {
  overflow: visible !important;
  flex-wrap: nowrap !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type {
  position: relative !important;
}

html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  width: min(780px, calc(100vw - 1.5rem)) !important;
  min-width: 36em !important;
  max-height: min(78vh, 640px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  z-index: 500 !important;
  -webkit-column-count: 3 !important;
  -moz-column-count: 3 !important;
  column-count: 3 !important;
  padding: 0.85rem 1rem !important;
  background-color: #0a0a0f !important;
}

@media only screen and (max-width: 640px) {
  html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl {
    -webkit-column-count: 2 !important;
    -moz-column-count: 2 !important;
    column-count: 2 !important;
    width: min(540px, calc(100vw - 1.5rem)) !important;
    min-width: 24em !important;
  }
}

@media only screen and (max-width: 400px) {
  html.skybioml-branded #coriolis header > .menu.l:first-of-type .menu-list.dbl {
    -webkit-column-count: 1 !important;
    -moz-column-count: 1 !important;
    column-count: 1 !important;
    min-width: 16em !important;
  }
}

html.skybioml-branded #coriolis header > .menu.l .menu-list.dbl a.block {
  display: block !important;
  padding: 0.25em 0.5em !important;
  text-transform: none !important;
  font-family: var(--sky-font-body, "Play", "Segoe UI", sans-serif) !important;
  font-size: 0.92em !important;
  letter-spacing: 0.02em !important;
}

html.skybioml-branded #coriolis header > .menu.r.skybioml-nav-skylink .menu-item-label {
  display: inline-block !important;
  font-family: "Audiowide", "Eurostile", sans-serif !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

html.skybioml-branded #coriolis #shipyard {
  display: block !important;
  width: 100% !important;
  max-width: min(100%, 1680px) !important;
  margin: 0 auto !important;
  padding: 0.75rem 1rem 1.25rem !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

html.skybioml-branded #coriolis .shipyard-filter-bar.filter-desktop {
  display: flex !important;
}

html.skybioml-branded #coriolis .shipyard-filter-bar.filter-mobile {
  display: none !important;
}

@media only screen and (max-width: 640px) {
  html.skybioml-branded #coriolis .shipyard-filter-bar.filter-desktop {
    display: none !important;
  }

  html.skybioml-branded #coriolis .shipyard-filter-bar.filter-mobile {
    display: flex !important;
  }
}

html.skybioml-branded #coriolis .shipyard-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.5rem 1.25rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 0.85rem !important;
  padding: 0.65rem 0.85rem !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
  background: rgba(8, 8, 12, 0.98) !important;
  border: 1px solid rgba(220, 38, 38, 0.28) !important;
  border-bottom: 2px solid #dc2626 !important;
}

html.skybioml-branded #coriolis .shipyard-filter-bar .filter-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.35rem 0.5rem !important;
}

html.skybioml-branded #coriolis .shipyard-filter-bar .filter-label {
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  margin-right: 0.25rem !important;
}

html.skybioml-branded #coriolis .shipyard-filter-bar .filter-option {
  font-size: 0.8rem !important;
  padding: 0.2rem 0.55rem !important;
  line-height: 1.3 !important;
}

html.skybioml-branded #coriolis #shipyard .content-wrapper {
  display: inline-block !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: left !important;
  vertical-align: top !important;
}

html.skybioml-branded #coriolis .shipyard-table-wrapper {
  display: inline-block !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  width: auto !important;
  margin: 0 auto !important;
  font-size: 0.9rem !important;
  position: relative !important;
  vertical-align: top !important;
  overflow: visible !important;
}

html.skybioml-branded #coriolis .shipyard-table-wrapper > table.shipyard-table {
  width: 12em !important;
  position: absolute !important;
  z-index: 2 !important;
}

html.skybioml-branded #coriolis .shipyard-table-wrapper > div {
  overflow-x: auto !important;
  max-width: 100% !important;
  -webkit-overflow-scrolling: touch !important;
}

html.skybioml-branded #coriolis #shipyard table.shipyard-table {
  width: auto !important;
  min-width: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.35 !important;
}

html.skybioml-branded #coriolis #shipyard table.shipyard-table thead th,
html.skybioml-branded #coriolis #shipyard table.shipyard-table tbody td {
  padding: 0.35rem 0.45rem !important;
  font-size: 0.85rem !important;
  vertical-align: middle !important;
}

html.skybioml-branded #coriolis #shipyard .table-tools {
  margin: 0.5rem 0 0.35rem !important;
  padding: 0.35rem 0 !important;
  font-size: 0.85rem !important;
}

html.skybioml-branded #coriolis .shipyard-table-wrapper .sky-thead-lines-layer {
  background: transparent !important;
  z-index: 0 !important;
}

/* ── v92: shipyard ship names + module picker opacity ── */
html.skybioml-branded #coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody td.le a,
html.skybioml-branded #coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody td.le a:visited,
html.skybioml-branded #coriolis .shipyard-table-wrapper > table.shipyard-table tbody td a,
html.skybioml-branded #coriolis .shipyard-table-wrapper > table.shipyard-table tbody td a:visited,
#coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody td.le a,
#coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody td.le a:visited,
#coriolis .shipyard-table-wrapper > table.shipyard-table tbody td a,
#coriolis .shipyard-table-wrapper > table.shipyard-table tbody td a:visited {
  color: #f3f4f6 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

html.skybioml-branded #coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody td.le a:hover,
html.skybioml-branded #coriolis .shipyard-table-wrapper > table.shipyard-table tbody td a:hover,
#coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody td.le a:hover,
#coriolis .shipyard-table-wrapper > table.shipyard-table tbody td a:hover {
  color: #f87171 !important;
}

html.skybioml-branded #coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody tr.highlighted td.le a,
html.skybioml-branded #coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody tr.comparehighlight td.le a,
#coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody tr.highlighted td.le a,
#coriolis #shipyard .shipyard-table-wrapper > table.shipyard-table tbody tr.comparehighlight td.le a {
  color: #fff !important;
}

html.skybioml-branded #coriolis table.shipyard-table thead,
html.skybioml-branded #coriolis table.shipyard-table thead th,
#coriolis table.shipyard-table thead,
#coriolis table.shipyard-table thead th {
  position: relative !important;
  z-index: 2 !important;
}

#coriolis #outfit .menu-section-wrapper.open .select,
#coriolis #outfit .menu-section-wrapper.open > .select,
#coriolis #outfit .slot .menu-section-wrapper.open .select,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select,
html.skybioml-branded #coriolis.sky-portal-ui .slot .menu-section-wrapper.open .select {
  background: #0a0a0f !important;
  background-color: #0a0a0f !important;
  opacity: 1 !important;
}

#coriolis #outfit .menu-section-wrapper.open .select .c,
#coriolis #outfit .menu-section-wrapper.open .select .c:not(.compact-module),
#coriolis #outfit .menu-section-wrapper.open .select .compact-module,
#coriolis #outfit .menu-section-wrapper.open .select .hardpoint-module,
#coriolis #outfit .menu-section-wrapper.open .select .category-item,
#coriolis #outfit .menu-section-wrapper.open .select .back-button,
#coriolis #outfit .menu-section-wrapper.open .select .compact-module-row,
#coriolis #outfit .menu-section-wrapper.open .select .hardpoint-module-row,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .c,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .compact-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .hardpoint-module,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .category-item,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .back-button,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .compact-module-row,
html.skybioml-branded #coriolis.sky-portal-ui .menu-section-wrapper.open .select .hardpoint-module-row {
  background: #121215 !important;
  background-color: #121215 !important;
}
