/* Macro Map · MODE · INDUSTRY / PORTS · mockup 08 · pixel fidelity · fonts+ */

#ih-panel-macro-map[data-mm-mode="osm_assets"] {
  --ind-gold: #D48E2F;
  --ind-gold-bright: #E8A84A;
  --ind-bg: #0B0B0B;
  --ind-panel: #111111;
  --ind-line: rgba(212, 142, 47, 0.42);
  --ind-muted: #8a8a8a;
  --ind-up: #3DDC84;
  --ind-down: #FF4D4D;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-map-stage {
  background: var(--ind-bg) !important;
  border: 1px solid rgba(42, 42, 42, 0.95) !important;
  outline: none;
  overflow: hidden;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] #cal-map-host {
  bottom: 168px !important;
  left: 348px !important;
  right: 0 !important;
  top: 88px !important;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] #cal-map-host,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-maplibre {
  background: #000 !important;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .maplibregl-ctrl-attrib,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .maplibregl-ctrl-bottom-left,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .maplibregl-ctrl-bottom-right {
  display: none !important;
}

/* Film header · GCT Global Commodity Tracker */
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film {
  background: #0B0B0B !important;
  border-bottom: 1px solid #2A2A2A !important;
  left: 0;
  padding: 0 !important;
  right: 0;
  z-index: 14;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__top {
  align-items: center;
  display: flex !important;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px 6px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__brand {
  align-items: baseline;
  display: flex;
  gap: 10px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__gct-word {
  color: var(--ind-gold);
  font: 800 24px/1 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.04em;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__gct-product {
  color: #f2f2f2;
  font: 600 14px/1.25 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__center {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__mode-center {
  color: var(--ind-gold) !important;
  font: 700 18px/1.2 "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: 0.18em !important;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__right {
  align-items: center;
  display: flex;
  gap: 14px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__bbg {
  color: #cfcfcf;
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__ico-row {
  align-items: center;
  color: #bdbdbd;
  display: inline-flex;
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  gap: 12px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__sub {
  align-items: center;
  border-top: 1px solid #222;
  display: flex !important;
  gap: 4px;
  justify-content: space-between;
  padding: 0 10px 0 8px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__tabs {
  display: flex;
  gap: 2px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #9a9a9a;
  cursor: default;
  font: 700 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  padding: 12px 14px 10px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-tab.is-on {
  border-bottom-color: var(--ind-gold);
  color: var(--ind-gold);
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-film__sub-tools {
  align-items: center;
  display: flex;
  gap: 12px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-watch {
  align-items: center;
  color: #cfcfcf;
  display: inline-flex;
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  gap: 6px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-sug {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(212, 142, 47, 0.55);
  color: var(--ind-gold);
  cursor: pointer;
  display: inline-flex;
  font: 700 13px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  gap: 8px;
  letter-spacing: 0.06em;
  padding: 7px 12px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-sug > i {
  background: #3a3a3a;
  border-radius: 999px;
  display: inline-block;
  height: 16px;
  position: relative;
  width: 30px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-sug > i::after {
  background: #bbb;
  border-radius: 50%;
  content: '';
  height: 12px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 12px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-sug.is-on > i {
  background: var(--ind-gold);
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-ind-sug.is-on > i::after {
  background: #111;
  left: 16px;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] #ih-mm-disaster-foot,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-sessions,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-kpi,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-module-bar,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-layer-menu {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Left layers rail */
#ih-panel-macro-map .ih-mm-ind-rail {
  background: #0B0B0B;
  border-right: 1px solid #2A2A2A;
  bottom: 168px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  left: 0;
  overflow: auto;
  padding: 14px 14px 12px;
  pointer-events: auto;
  position: absolute;
  top: 88px;
  width: 348px; /* +30% vs 268 */
  z-index: 12;
}

#ih-panel-macro-map .ih-mm-ind-rail[hidden] {
  display: none !important;
}

#ih-panel-macro-map .ih-mm-ind-rail__hd {
  color: #9a9a9a;
  font: 700 13px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

#ih-panel-macro-map .ih-mm-ind-layer {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  color: #d6d6d6;
  cursor: pointer;
  display: flex;
  font: 600 15px/1.25 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 0;
  text-align: left;
  width: 100%;
}

#ih-panel-macro-map .ih-mm-ind-layer__l {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

#ih-panel-macro-map .ih-mm-ind-layer__ico {
  background: currentColor;
  color: var(--ind-gold);
  display: inline-block;
  height: 16px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  opacity: 0.85;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  width: 16px;
}

#ih-panel-macro-map .ih-mm-ind-layer__ico--ports {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M4 20V10l8-6 8 6v10'/><path d='M9 20v-6h6v6'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M4 20V10l8-6 8 6v10'/><path d='M9 20v-6h6v6'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--ref {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M5 20V9l4-3 4 3v11'/><path d='M13 12h5v8H13'/><path d='M16 8v4'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M5 20V9l4-3 4 3v11'/><path d='M13 12h5v8H13'/><path d='M16 8v4'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--lng {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><circle cx='8' cy='14' r='3'/><circle cx='16' cy='14' r='3'/><path d='M5 20h14'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><circle cx='8' cy='14' r='3'/><circle cx='16' cy='14' r='3'/><path d='M5 20h14'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--pipe {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M3 12h18'/><path d='M7 9v6M12 9v6M17 9v6'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M3 12h18'/><path d='M7 9v6M12 9v6M17 9v6'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--ship {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M3 16l3-8h12l3 8'/><path d='M4 18c2 1.5 4 1.5 6 0s4-1.5 6 0 4 1.5 6 0'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M3 16l3-8h12l3 8'/><path d='M4 18c2 1.5 4 1.5 6 0s4-1.5 6 0 4 1.5 6 0'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--store {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M4 10h16v10H4z'/><path d='M4 10l2-5h12l2 5'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M4 10h16v10H4z'/><path d='M4 10l2-5h12l2 5'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--demand {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><circle cx='12' cy='12' r='8'/><path d='M12 8v8M8 12h8'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><circle cx='12' cy='12' r='8'/><path d='M12 8v8M8 12h8'/></svg>");
}
#ih-panel-macro-map .ih-mm-ind-layer__ico--corr {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M4 18c4-8 12-8 16 0'/><path d='M4 12c4-6 12-6 16 0'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'><path d='M4 18c4-8 12-8 16 0'/><path d='M4 12c4-6 12-6 16 0'/></svg>");
}

#ih-panel-macro-map .ih-mm-ind-sw {
  background: #3a3a3a;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 18px;
  position: relative;
  width: 34px;
}

#ih-panel-macro-map .ih-mm-ind-sw::after {
  background: #bbb;
  border-radius: 50%;
  content: '';
  height: 14px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 14px;
}

#ih-panel-macro-map .ih-mm-ind-layer.is-on .ih-mm-ind-sw {
  background: var(--ind-gold);
}

#ih-panel-macro-map .ih-mm-ind-layer.is-on .ih-mm-ind-sw::after {
  background: #111;
  left: 18px;
}

#ih-panel-macro-map .ih-mm-ind-filters label {
  color: #9a9a9a;
  display: block;
  font: 700 13px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  margin: 10px 0 5px;
}

#ih-panel-macro-map .ih-mm-ind-filters select {
  appearance: none;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #f0f0f0;
  font: 600 15px/1.25 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  padding: 9px 12px;
  width: 100%;
}

#ih-panel-macro-map .ih-mm-ind-reset {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 1px solid rgba(212, 142, 47, 0.55);
  color: var(--ind-gold);
  cursor: pointer;
  display: inline-flex;
  font: 700 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.06em;
  margin-top: 14px;
  padding: 10px 12px;
  width: 100%;
}

/* Map overlays */
#ih-panel-macro-map .ih-mm-ind-mapchrome {
  left: 284px;
  max-width: 420px;
  pointer-events: none;
  position: absolute;
  top: 102px;
  z-index: 9;
}

#ih-panel-macro-map .ih-mm-ind-mapchrome[hidden] {
  display: none !important;
}

#ih-panel-macro-map .ih-mm-ind-infobox {
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid rgba(212, 142, 47, 0.45);
  color: #e8e8e8;
  padding: 12px 14px;
}

#ih-panel-macro-map .ih-mm-ind-infobox strong {
  color: var(--ind-gold);
  display: block;
  font: 700 14px/1.25 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

#ih-panel-macro-map .ih-mm-ind-infobox span {
  color: #bdbdbd;
  font: 500 14px/1.4 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#ih-panel-macro-map .ih-mm-ind-legend {
  background: rgba(12, 12, 12, 0.92);
  border: 1px solid #2A2A2A;
  bottom: 184px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  left: 284px;
  padding: 12px 14px;
  pointer-events: none;
  position: absolute;
  z-index: 9;
}

#ih-panel-macro-map .ih-mm-ind-legend[hidden] {
  display: none !important;
}

#ih-panel-macro-map .ih-mm-ind-legend__row {
  align-items: center;
  color: #d0d0d0;
  display: flex;
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  gap: 8px;
}

#ih-panel-macro-map .ih-mm-ind-legend__line {
  background: var(--ind-gold);
  display: inline-block;
  height: 2px;
  width: 22px;
}

#ih-panel-macro-map .ih-mm-ind-legend__line--dash {
  background: repeating-linear-gradient(90deg, var(--ind-gold) 0 4px, transparent 4px 7px);
}

#ih-panel-macro-map .ih-mm-ind-legend__dot {
  background: var(--ind-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(212, 142, 47, 0.7);
  display: inline-block;
  height: 8px;
  width: 8px;
}

#ih-panel-macro-map .ih-mm-ind-tools {
  bottom: 184px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: auto;
  position: absolute;
  right: 14px;
  z-index: 10;
}

#ih-panel-macro-map .ih-mm-ind-tools[hidden] {
  display: none !important;
}

#ih-panel-macro-map .ih-mm-ind-tool {
  align-items: center;
  appearance: none;
  background: rgba(12, 12, 12, 0.94);
  border: 1px solid #333;
  color: var(--ind-gold);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

#ih-panel-macro-map .ih-mm-ind-tool:hover {
  border-color: var(--ind-gold);
}

/* Bottom dock · commodities + news */
#ih-panel-macro-map .ih-mm-ind-dock {
  background: #0B0B0B;
  border-top: 1px solid #2A2A2A;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1fr 260px;
  left: 0;
  min-height: 134px;
  pointer-events: auto;
  position: absolute;
  right: 0;
  z-index: 12;
}

#ih-panel-macro-map .ih-mm-ind-dock[hidden] {
  display: none !important;
}

#ih-panel-macro-map .ih-mm-ind-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#ih-panel-macro-map .ih-mm-ind-card {
  border-right: 1px solid #2A2A2A;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
}

#ih-panel-macro-map .ih-mm-ind-card__name {
  color: #9a9a9a;
  font: 700 13px/1.25 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
}

#ih-panel-macro-map .ih-mm-ind-card__px {
  color: #f5f5f5;
  font: 700 22px/1.1 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#ih-panel-macro-map .ih-mm-ind-card__chg {
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#ih-panel-macro-map .ih-mm-ind-card__chg.is-up { color: var(--ind-up); }
#ih-panel-macro-map .ih-mm-ind-card__chg.is-down { color: var(--ind-down); }

#ih-panel-macro-map .ih-mm-ind-card__spark {
  height: 28px;
  margin-top: 2px;
  width: 100%;
}

#ih-panel-macro-map .ih-mm-ind-news {
  border-left: 1px solid #2A2A2A;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 14px;
}

#ih-panel-macro-map .ih-mm-ind-news__hd {
  align-items: center;
  color: #cfcfcf;
  display: flex;
  font: 700 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  justify-content: space-between;
  letter-spacing: 0.1em;
}

#ih-panel-macro-map .ih-mm-ind-news__hd a {
  color: var(--ind-gold);
  font-size: 13px;
  text-decoration: none;
}

#ih-panel-macro-map .ih-mm-ind-news__item {
  color: #bdbdbd;
  font: 500 14px/1.35 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#ih-panel-macro-map .ih-mm-ind-news__item b {
  color: #888;
  font-weight: 600;
  margin-right: 6px;
}

/* Footer strip */
#ih-panel-macro-map .ih-mm-ind-foot {
  align-items: center;
  background: #0B0B0B;
  border-top: 1px solid #2A2A2A;
  bottom: 0;
  color: #9a9a9a;
  display: flex;
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  height: 34px;
  justify-content: space-between;
  left: 0;
  padding: 0 14px;
  pointer-events: auto;
  position: absolute;
  right: 0;
  z-index: 13;
}

#ih-panel-macro-map .ih-mm-ind-foot[hidden] {
  display: none !important;
}

/*
 * Suggested Data (#ih-mm-bmap) · no Commodity Tracker o dock cobre bottom ~168px.
 * Sem este offset o menu fica enterrado sob as cards (só uma moldura vazia).
 */
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-bmap,
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-bmap.is-collapsed {
  bottom: 178px !important;
  left: 362px !important;
  right: auto !important;
  top: auto !important;
  width: auto !important;
  z-index: 130 !important;
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-bmap.is-open {
  bottom: 178px !important;
  left: 362px !important;
  top: 96px !important;
  width: min(380px, 40vw) !important;
  z-index: 130 !important;
}

/* Hub-full · vence inset:0 do eikon e deixa espaço pro dock+foot */
body.ih-hub-full #view-caleco.ih-view.active.ih-show-calendar #ih-panel-macro-map[data-mm-mode="osm_assets"] #cal-map-host,
#view-caleco.ih-show-calendar #ih-panel-macro-map[data-mm-mode="osm_assets"] #cal-map-host,
#ih-panel-macro-map[data-mm-mode="osm_assets"] #cal-map-host {
  bottom: 168px !important;
  height: auto !important;
  inset: auto !important;
  left: 348px !important;
  max-height: none !important;
  min-height: 0 !important;
  right: 0 !important;
  top: 88px !important;
  width: auto !important;
}

#ih-panel-macro-map .ih-mm-ind-foot__ok {
  align-items: center;
  color: var(--ind-up);
  display: inline-flex;
  gap: 6px;
}

#ih-panel-macro-map .ih-mm-ind-foot__ok > i {
  background: var(--ind-up);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(61, 220, 132, 0.7);
  display: inline-block;
  height: 7px;
  width: 7px;
}

#ih-panel-macro-map .ih-mm-ind-foot__links {
  display: inline-flex;
  gap: 14px;
}

#ih-panel-macro-map .ih-mm-ind-foot__links button {
  appearance: none;
  background: transparent;
  border: 0;
  color: #bdbdbd;
  cursor: pointer;
  font: 600 14px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

#ih-panel-macro-map .ih-mm-ind-back {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(212, 142, 47, 0.55);
  color: var(--ind-gold, #D48E2F);
  cursor: pointer;
  display: block;
  font: 700 14px/1.2 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

#ih-panel-macro-map .ih-mm-ind-back:hover {
  background: rgba(212, 142, 47, 0.12);
  border-color: var(--ind-gold-bright, #E8A84A);
}

#ih-panel-macro-map .ih-mm-ind-foot__links button[data-ind-back] {
  color: var(--ind-gold, #D48E2F);
  font-weight: 700;
}

/* Industry / Banks · card Map Modes acima do dock (voltar + Banks / outros) */
#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-layer-menu.ih-mm-layer-menu--film-nav,
#ih-panel-macro-map[data-mm-mode="market_players"] .ih-mm-layer-menu.ih-mm-layer-menu--film-nav {
  bottom: 178px !important;
  left: 362px !important;
  max-height: min(38vh, 420px) !important;
  width: min(280px, 36vw) !important;
  z-index: 16 !important;
}

#ih-panel-macro-map[data-mm-mode="market_players"] .ih-mm-layer-menu.ih-mm-layer-menu--film-nav {
  left: 72px !important;
  bottom: 120px !important;
}

#ih-panel-macro-map .ih-mm-layer-menu__home {
  appearance: none;
  background: rgba(114, 201, 161, 0.12);
  border: 0;
  border-bottom: 1px solid rgba(114, 201, 161, 0.35);
  color: #72C9A1;
  cursor: pointer;
  display: block;
  font: 700 12px/1.2 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.1em;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

#ih-panel-macro-map .ih-mm-layer-menu__home:hover {
  background: rgba(114, 201, 161, 0.2);
}

#ih-panel-macro-map[data-mm-mode="osm_assets"] .ih-mm-layer-menu__home {
  background: rgba(212, 142, 47, 0.12);
  border-bottom-color: rgba(212, 142, 47, 0.4);
  color: #D48E2F;
}

#ih-panel-macro-map[data-mm-mode="market_players"] .ih-mm-layer-menu__home {
  background: rgba(255, 159, 0, 0.12);
  border-bottom-color: rgba(255, 159, 0, 0.4);
  color: #FF9F00;
}

/* Industry hub HTML pins */
.ih-mm-ind-pin {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  width: max-content;
}

.ih-mm-ind-pin__head {
  align-items: center;
  display: flex;
  gap: 8px;
}

.ih-mm-ind-pin__badge {
  align-items: center;
  background: rgba(8, 8, 8, 0.92);
  border: 2px solid #D48E2F;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(212, 142, 47, 0.55);
  color: #D48E2F;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.ih-mm-ind-pin__badge svg {
  display: block;
  height: 18px;
  width: 18px;
}

.ih-mm-ind-pin__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ih-mm-ind-pin__txt strong {
  color: #D48E2F;
  font: 800 15px/1.15 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
}

.ih-mm-ind-pin__txt span {
  color: #e0e0e0;
  font: 600 13px/1.25 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  max-width: 200px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}
