.rh-logistics {
  --rh-ink: #2b2418;
  --rh-muted: #6f6658;
  --rh-line: #d8cbb8;
  --rh-bronze: #b9863a;
  --rh-teal: #2f7f86;
  --rh-blue: #2d6f9f;
  --rh-paper: #fffaf2;
  overflow: hidden;
}

.rh-logistics-panel {
  position: relative;
  border: 1px solid rgba(216, 203, 184, 0.95);
  background: linear-gradient(180deg, #fffaf2 0%, #f7efe2 100%);
  border-radius: 18px;
  box-shadow: 0 24px 60px -38px rgba(43, 36, 24, 0.35);
}

.rh-logistics-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  gap: 12px;
  min-width: 1396px;
  padding: 88px 32px 36px;
}

.rh-logistics-rail {
  position: absolute;
  left: 68px;
  right: 68px;
  top: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--rh-bronze), var(--rh-teal), var(--rh-blue));
  border-radius: 999px;
}

.rh-logistics-runner {
  position: absolute;
  left: 52px;
  top: 24px;
  z-index: 3;
  width: 58px;
  height: 34px;
  color: var(--rh-ink);
  animation: rh-logistics-drive 14s cubic-bezier(.45, 0, .25, 1) infinite;
}

.rh-logistics-runner svg,
.rh-logistics-ship svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rh-logistics-ship {
  position: absolute;
  right: 102px;
  top: 15px;
  z-index: 2;
  width: 54px;
  height: 34px;
  color: var(--rh-blue);
  opacity: 0;
  animation: rh-logistics-sail 14s cubic-bezier(.4, 0, .2, 1) infinite;
}

.rh-logistics-step {
  position: relative;
  min-height: 180px;
  padding: 22px 16px 18px;
  border: 1px solid rgba(216, 203, 184, 0.9);
  background: rgba(255, 255, 255, 0.64);
  border-radius: 10px;
}

.rh-logistics-step::before {
  content: "";
  position: absolute;
  top: -48px;
  left: 50%;
  width: 15px;
  height: 15px;
  transform: translateX(-50%);
  border: 3px solid #fffaf2;
  border-radius: 999px;
  background: var(--rh-bronze);
  box-shadow: 0 0 0 1px rgba(185, 134, 58, 0.38);
  animation: rh-logistics-pulse 14s ease-in-out infinite;
  animation-delay: var(--rh-delay, 0s);
}

.rh-logistics-step:nth-of-type(n+5)::before {
  background: var(--rh-teal);
}

.rh-logistics-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(185, 134, 58, 0.35);
  border-radius: 999px;
  color: var(--rh-bronze);
  background: #fffaf2;
}

.rh-logistics-icon svg {
  width: 20px;
  height: 20px;
}

.rh-logistics-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(216, 203, 184, 0.95);
}

.rh-logistics-kpi > div {
  padding: 22px 24px;
  border-right: 1px solid rgba(216, 203, 184, 0.95);
}

.rh-logistics-kpi > div:last-child {
  border-right: 0;
}

.rh-hyperflow {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  border: 1px solid rgba(216, 203, 184, 0.95);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.86), rgba(247, 239, 226, 0.68)),
    radial-gradient(circle at 18% 24%, rgba(185, 134, 58, 0.2), transparent 30%),
    radial-gradient(circle at 76% 42%, rgba(47, 127, 134, 0.14), transparent 34%);
  box-shadow: 0 28px 70px -45px rgba(43, 36, 24, 0.45);
}

.rh-hyperflow-stage {
  position: relative;
  min-height: 0;
  height: 248px;
  padding: 28px;
  isolation: isolate;
}

.rh-hyperflow-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(216, 203, 184, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 203, 184, 0.32) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  opacity: 0.45;
}

.rh-hyperflow-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(185, 134, 58, 0.2), transparent);
  transform: translateX(-100%);
  animation: rh-hyperflow-scan 8s cubic-bezier(.45, 0, .25, 1) infinite;
}

.rh-hyperflow-map {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  height: 100%;
  min-height: 0;
}

.rh-hyperflow-node {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(216, 203, 184, 0.78);
  border-radius: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.rh-hyperflow-node::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(185, 134, 58, 0.12), transparent);
  opacity: 0;
  animation: rh-hyperflow-node-glow 10s ease-in-out infinite;
  animation-delay: var(--rh-node-delay, 0s);
}

.rh-hyperflow-node p,
.rh-hyperflow-node strong {
  position: relative;
  z-index: 2;
}

.rh-hyperflow-node p {
  margin: 0 0 0.55rem;
  color: var(--rh-bronze);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rh-hyperflow-node strong {
  color: var(--rh-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.1;
}

.rh-hyperflow-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48%;
  z-index: 3;
  height: 3px;
  background: linear-gradient(90deg, var(--rh-bronze), var(--rh-teal), var(--rh-blue));
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(47, 127, 134, 0.22);
}

.rh-hyperflow-packet {
  position: absolute;
  left: 7%;
  top: calc(48% - 17px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 76px;
  height: 34px;
  border: 1px solid rgba(43, 36, 24, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.95);
  color: var(--rh-ink);
  box-shadow: 0 14px 30px -20px rgba(43, 36, 24, 0.5);
  animation: rh-hyperflow-packet 10s cubic-bezier(.45, 0, .25, 1) infinite;
}

.rh-hyperflow-packet svg {
  width: 26px;
  height: 20px;
  margin-left: 10px;
}

.rh-hyperflow-packet span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rh-bronze);
  box-shadow: 0 0 0 6px rgba(185, 134, 58, 0.15);
}

.rh-hyperflow-code {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 5;
  display: grid;
  gap: 4px;
  min-width: min(250px, calc(100% - 56px));
  border: 1px solid rgba(216, 203, 184, 0.82);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 250, 242, 0.86);
  color: var(--rh-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.rh-hyperflow-code span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-route-map {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid rgba(216, 203, 184, 0.95);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(247, 239, 226, 0.78));
  box-shadow: 0 28px 70px -45px rgba(43, 36, 24, 0.45);
}

.rh-route-map-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  align-items: start;
  gap: 28px;
  padding: 28px;
}

.rh-route-scene {
  position: relative;
  height: 420px;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.8);
  border-radius: 14px;
  background:
    radial-gradient(circle at 18% 25%, rgba(185, 134, 58, 0.18), transparent 28%),
    radial-gradient(circle at 78% 64%, rgba(45, 111, 159, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(240, 231, 217, 0.92));
  perspective: 900px;
}

.rh-route-plane {
  position: absolute;
  inset: 28px;
  transform: translateY(8px) rotateX(4deg);
  transform-origin: center;
  border: 1px solid rgba(216, 203, 184, 0.82);
  border-radius: 22px;
  background:
    linear-gradient(rgba(216, 203, 184, 0.36) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 203, 184, 0.32) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 250, 242, 0.86), rgba(238, 228, 210, 0.82));
  background-size: 44px 44px, 44px 44px, auto;
  box-shadow:
    0 26px 42px -30px rgba(43, 36, 24, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rh-route-svg {
  position: absolute;
  inset: 28px;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 2;
  filter: drop-shadow(0 10px 10px rgba(43, 36, 24, 0.14));
}

.rh-map-land {
  fill: rgba(255, 250, 242, 0.72);
  stroke: rgba(216, 203, 184, 0.58);
  stroke-width: 2;
}

.rh-map-sea {
  fill: rgba(45, 111, 159, 0.1);
  stroke: none;
}

.rh-route-svg path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-route-core {
  fill: none;
  stroke: rgba(185, 134, 58, 0.92);
  stroke-width: 4;
  filter: drop-shadow(0 7px 9px rgba(43, 36, 24, 0.16));
}

.rh-route-alt {
  fill: none;
  stroke: rgba(47, 127, 134, 0.74);
  stroke-width: 3;
  stroke-dasharray: 8 9;
}

.rh-route-port-line {
  fill: none;
  stroke: rgba(45, 111, 159, 0.78);
  stroke-width: 3;
}

.rh-route-coast {
  fill: none;
  stroke: rgba(45, 111, 159, 0.18);
  stroke-width: 12;
  stroke-dasharray: 0;
}

.rh-route-pulse {
  fill: none;
  stroke: #fffaf2;
  stroke-width: 8;
  opacity: 0.9;
}

.rh-route-compass,
.rh-route-scale,
.rh-route-legend {
  position: absolute;
  z-index: 6;
  border: 1px solid rgba(216, 203, 184, 0.78);
  background: rgba(255, 250, 242, 0.86);
  color: var(--rh-ink);
  box-shadow: 0 12px 24px -22px rgba(43, 36, 24, 0.45);
}

.rh-route-compass {
  right: 34px;
  top: 34px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.rh-route-compass::before {
  content: "";
  position: absolute;
  top: -9px;
  border-right: 5px solid transparent;
  border-bottom: 10px solid var(--rh-bronze);
  border-left: 5px solid transparent;
}

.rh-route-scale {
  left: 34px;
  bottom: 34px;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.68rem;
  letter-spacing: 0;
}

.rh-route-legend {
  right: 34px;
  bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: min(330px, calc(100% - 68px));
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 0.68rem;
}

.rh-route-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.rh-route-legend i {
  display: inline-block;
  flex: 0 0 auto;
}

.rh-legend-source,
.rh-legend-port {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.rh-legend-source {
  background: var(--rh-bronze);
}

.rh-legend-port {
  background: #2d6f9f;
}

.rh-legend-route {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rh-bronze), #2d6f9f);
}

.rh-route-pin {
  position: absolute;
  z-index: 5;
  min-width: 104px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rh-route-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -8px) rotateX(60deg);
  border-radius: 999px;
  background: rgba(185, 134, 58, 0.25);
  filter: blur(1px);
}

.rh-route-pin span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 146px;
  border: 1px solid rgba(216, 203, 184, 0.92);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--rh-ink);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 12px 24px -18px rgba(43, 36, 24, 0.5);
}

.rh-route-region {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%) rotate(-5deg);
  color: rgba(111, 102, 88, 0.3);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  white-space: nowrap;
}

.rh-route-region-coast {
  color: rgba(45, 111, 159, 0.16);
}

.rh-route-pin span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: var(--rh-bronze);
  box-shadow: 0 0 0 5px rgba(185, 134, 58, 0.15);
}

.rh-route-pin[data-kind="port"] span::before {
  background: var(--rh-blue);
  box-shadow: 0 0 0 5px rgba(45, 111, 159, 0.14);
}

.rh-route-pin[data-kind="factory"] span {
  border-color: rgba(185, 134, 58, 0.65);
  background: rgba(255, 250, 242, 0.98);
}

.rh-route-meta {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.rh-route-meta h3 {
  margin: 0;
  color: var(--rh-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.08;
}

.rh-route-meta p {
  color: var(--rh-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.rh-route-list {
  display: grid;
  gap: 10px;
}

.rh-route-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.58);
}

.rh-route-list strong {
  color: var(--rh-ink);
  font-size: 0.85rem;
}

.rh-route-list span {
  color: var(--rh-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.rh-route-note {
  border-left: 3px solid rgba(185, 134, 58, 0.65);
  padding-left: 14px;
  color: var(--rh-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.rh-world-map .rh-route-map-inner {
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.82fr);
  align-items: stretch;
}

.rh-world-scene {
  height: auto;
  min-height: 520px;
  background:
    radial-gradient(circle at 78% 24%, rgba(45, 111, 159, 0.16), transparent 28%),
    radial-gradient(circle at 24% 70%, rgba(185, 134, 58, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(232, 239, 238, 0.9) 52%, rgba(239, 230, 216, 0.9));
  cursor: default;
  perspective: none;
  touch-action: auto;
}

.rh-world-plane {
  inset: 26px 22px;
  transform: none;
  border-radius: 28px;
  background:
    linear-gradient(rgba(45, 111, 159, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 111, 159, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 250, 242, 0.74), rgba(219, 232, 230, 0.7));
  background-size: 52px 52px, 52px 52px, auto;
}

.rh-world-svg {
  inset: 0;
  width: auto;
  height: auto;
  filter: drop-shadow(0 18px 18px rgba(43, 36, 24, 0.16));
}

.rh-world-viewport {
  position: absolute;
  inset: 78px 22px 68px;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.58);
  border-radius: 24px;
  background: rgba(220, 233, 234, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 242, 0.58),
    inset 0 -28px 44px rgba(43, 36, 24, 0.06);
}

.rh-world-map-layer {
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  transform: none !important;
}

.rh-world-map-layer .rh-world-svg,
.rh-world-map-layer .rh-business-world-map,
.rh-world-map-layer .rh-transport-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rh-business-world-map {
  z-index: 1;
  display: block;
  object-fit: fill;
  image-rendering: auto;
  pointer-events: none;
}

.rh-world-data-map {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.rh-world-ocean {
  fill: rgba(45, 111, 159, 0.16);
}

.rh-world-grid {
  fill: none;
  stroke: rgba(45, 111, 159, 0.12);
  stroke-width: 1;
}

.rh-world-land {
  fill: rgba(255, 250, 242, 0.9);
  stroke: rgba(77, 92, 95, 0.42);
  stroke-width: 0.75;
  vector-effect: non-scaling-stroke;
}

.rh-transport-svg {
  z-index: 4;
  overflow: visible;
  pointer-events: none;
}

.rh-transport-route,
.rh-transport-route-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.rh-transport-route {
  stroke: var(--rh-bronze);
  stroke-width: 3.8;
  filter: drop-shadow(0 7px 8px rgba(43, 36, 24, 0.2));
}

.rh-transport-route-flow {
  stroke: rgba(255, 250, 242, 0.96);
  stroke-width: 7;
  stroke-dasharray: 2 34;
  opacity: 0.92;
  animation: rh-world-route-flow 5.8s linear infinite;
}

.rh-world-scene[data-transport="rail"] .rh-transport-route {
  stroke: rgba(47, 127, 134, 0.9);
}

.rh-world-scene[data-transport="air"] .rh-transport-route {
  stroke: rgba(45, 111, 159, 0.92);
}

.rh-world-route,
.rh-world-route-glow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-world-route {
  stroke: rgba(185, 134, 58, 0.9);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.rh-world-route-glow {
  stroke: rgba(255, 250, 242, 0.9);
  stroke-width: 8;
  opacity: 0.88;
  vector-effect: non-scaling-stroke;
}

.rh-world-route-na,
.rh-world-route-eu {
  stroke: rgba(45, 111, 159, 0.88);
}

.rh-world-route-me,
.rh-world-route-sea {
  stroke: rgba(47, 127, 134, 0.88);
}

.rh-world-title {
  position: absolute;
  left: 32px;
  top: 28px;
  z-index: 7;
  border: 1px solid rgba(216, 203, 184, 0.82);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  color: var(--rh-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.rh-world-pin,
.rh-world-days {
  position: absolute;
  z-index: 8;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rh-world-pin span,
.rh-world-days {
  border: 1px solid rgba(216, 203, 184, 0.9);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 14px 26px -20px rgba(43, 36, 24, 0.48);
}

.rh-world-pin span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 138px;
  padding: 6px 9px;
  color: var(--rh-ink);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.rh-world-pin span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: var(--rh-blue);
  box-shadow: 0 0 0 5px rgba(45, 111, 159, 0.15);
}

.rh-world-origin span {
  border-color: rgba(185, 134, 58, 0.74);
}

.rh-world-origin span::before {
  background: var(--rh-bronze);
  box-shadow: 0 0 0 5px rgba(185, 134, 58, 0.16);
}

.rh-world-dest span {
  width: 16px;
  height: 16px;
  max-width: 16px;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  color: transparent;
  font-size: 0;
}

.rh-world-dest span::before {
  width: 8px;
  height: 8px;
  margin: auto;
}

.rh-world-days {
  min-width: 76px;
  padding: 6px 8px;
  text-align: center;
}

.rh-world-days strong,
.rh-world-days span {
  display: block;
}

.rh-world-days strong {
  color: var(--rh-ink);
  font-size: 0.72rem;
  line-height: 1;
}

.rh-world-days span {
  margin-top: 3px;
  color: var(--rh-muted);
  font-size: 0.55rem;
  line-height: 1.15;
}

.rh-world-legend {
  left: 32px;
  right: auto;
  bottom: 30px;
  max-width: calc(100% - 76px);
}

.rh-transport-controls {
  position: absolute;
  right: 28px;
  top: 24px;
  z-index: 12;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(216, 203, 184, 0.78);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.88);
  padding: 5px;
  box-shadow: 0 16px 30px -24px rgba(43, 36, 24, 0.5);
}

.rh-transport-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--rh-muted);
  font: inherit;
  cursor: pointer;
}

.rh-transport-controls button {
  gap: 5px;
  min-width: 78px;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

.rh-transport-controls svg {
  width: 16px;
  height: 16px;
}

.rh-transport-controls button.is-active {
  background: var(--rh-ink);
  color: #fffaf2;
}

.rh-world-meta .rh-route-list {
  gap: 8px;
}

.rh-world-meta {
  min-height: clamp(520px, 42vw, 590px);
  justify-content: center;
}

.rh-world-meta .rh-route-list div {
  grid-template-columns: 108px 1fr;
  padding: 10px 11px;
}

@keyframes rh-world-route-flow {
  to { stroke-dashoffset: -180; }
}

.rh-atlas-viewport {
  overflow: hidden;
  background:
    linear-gradient(rgba(45, 111, 159, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 111, 159, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 76% 20%, rgba(45, 111, 159, 0.18), transparent 26%),
    linear-gradient(135deg, #f8f4ec 0%, #e6f0ef 54%, #f5ebdd 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.rh-world-scene[data-enhanced="1"] > .rh-world-svg,
.rh-world-scene[data-enhanced="1"] .rh-business-world-map {
  display: none !important;
}

.rh-atlas-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45, 111, 159, 0.14) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.42;
}

.rh-atlas-header,
.rh-atlas-domestic,
.rh-atlas-global,
.rh-atlas-legend {
  position: absolute;
  z-index: 2;
}

.rh-atlas-header {
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--rh-ink);
}

.rh-atlas-header span {
  color: var(--rh-bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rh-atlas-header strong {
  font-size: 0.76rem;
}

.rh-atlas-domestic {
  left: 18px;
  right: 18px;
  top: 54px;
  height: 158px;
  border: 1px solid rgba(216, 203, 184, 0.76);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.rh-atlas-domestic svg,
.rh-atlas-route-svg,
.rh-atlas-world-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rh-atlas-block {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(185, 134, 58, 0.45);
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.95);
  padding: 9px 11px;
  box-shadow: 0 14px 24px -20px rgba(43, 36, 24, 0.45);
}

.rh-atlas-factory {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.rh-atlas-block span,
.rh-atlas-ocean-label {
  display: block;
  color: var(--rh-bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-atlas-block strong {
  display: block;
  margin-top: 2px;
  color: var(--rh-ink);
  font-size: 0.78rem;
  line-height: 1.2;
}

.rh-atlas-block small {
  display: block;
  margin-top: 2px;
  color: var(--rh-muted);
  font-size: 0.6rem;
  line-height: 1.1;
}

.rh-atlas-port-list {
  position: absolute;
  z-index: 4;
  right: 12px;
  top: 12px;
  bottom: 12px;
  display: grid;
  gap: 8px;
  align-content: center;
}

.rh-atlas-port-list span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 112px;
  border: 1px solid rgba(45, 111, 159, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px 9px;
  color: var(--rh-ink);
  font-size: 0.68rem;
  font-weight: 700;
}

.rh-atlas-road-base,
.rh-atlas-domestic-road,
.rh-atlas-domestic-flow,
.rh-atlas-route,
.rh-atlas-route-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.rh-atlas-road-base {
  stroke: rgba(45, 111, 159, 0.26);
  stroke-width: 1.4;
  stroke-dasharray: 4 10;
}

.rh-atlas-domestic-road {
  stroke: rgba(185, 134, 58, 0.78);
  stroke-width: 3.4;
}

.rh-atlas-domestic-flow {
  stroke: rgba(255, 250, 242, 0.95);
  stroke-width: 6;
  stroke-dasharray: 1 26;
  animation: rh-world-route-flow 5.8s linear infinite;
}

.rh-atlas-road-text,
.rh-atlas-domestic-days {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  paint-order: stroke;
  stroke: rgba(255, 250, 242, 0.92);
  stroke-width: 4px;
}

.rh-atlas-road-text {
  fill: rgba(77, 92, 95, 0.76);
  font-size: 10px;
  letter-spacing: 0.02em;
}

.rh-atlas-domestic-days {
  fill: var(--rh-ink);
  font-size: 14px;
  stroke-width: 5px;
}

.rh-domestic-sea {
  fill: rgba(45, 111, 159, 0.12);
  stroke: rgba(45, 111, 159, 0.18);
  stroke-width: 1;
}

.rh-domestic-coast {
  fill: none;
  stroke: rgba(45, 111, 159, 0.45);
  stroke-width: 2;
  stroke-dasharray: 8 8;
}

.rh-domestic-province {
  fill: rgba(255, 250, 242, 0.46);
  stroke: rgba(77, 92, 95, 0.18);
  stroke-width: 1.2;
}

.rh-domestic-province-south {
  fill: rgba(246, 239, 228, 0.55);
}

.rh-domestic-region,
.rh-domestic-sea-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(255, 250, 242, 0.86);
  stroke-width: 4px;
}

.rh-domestic-region {
  fill: rgba(77, 92, 95, 0.52);
}

.rh-domestic-sea-label {
  fill: rgba(45, 111, 159, 0.58);
}

.rh-atlas-node-source,
.rh-atlas-node-port {
  stroke: rgba(255, 250, 242, 0.95);
  stroke-width: 3;
}

.rh-atlas-node-source {
  fill: var(--rh-bronze);
}

.rh-atlas-node-port {
  fill: var(--rh-blue);
}

.rh-atlas-global {
  left: 18px;
  right: 18px;
  top: 232px;
  bottom: 56px;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.78);
  border-radius: 22px;
  background:
    linear-gradient(rgba(45, 111, 159, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 111, 159, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(219, 234, 237, 0.98), rgba(246, 239, 228, 0.94));
  background-size: 70px 70px, 70px 70px, auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rh-atlas-global::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 24.8%, rgba(45, 111, 159, 0.2) 25%, transparent 25.2%),
    linear-gradient(90deg, transparent 49.8%, rgba(45, 111, 159, 0.2) 50%, transparent 50.2%),
    linear-gradient(90deg, transparent 74.8%, rgba(45, 111, 159, 0.2) 75%, transparent 75.2%),
    linear-gradient(0deg, transparent 33%, rgba(45, 111, 159, 0.16) 33.2%, transparent 33.4%),
    linear-gradient(0deg, transparent 66%, rgba(45, 111, 159, 0.16) 66.2%, transparent 66.4%);
  pointer-events: none;
}

.rh-atlas-world-base {
  z-index: 1;
  inset: 0 !important;
  opacity: 0.88;
}

.rh-atlas-world-base .rh-world-ocean {
  fill: transparent;
}

.rh-atlas-world-base .rh-world-grid {
  stroke: rgba(45, 111, 159, 0.18);
  stroke-width: 1;
}

.rh-atlas-world-base .rh-world-land {
  fill: rgba(255, 250, 242, 0.66);
  stroke: rgba(77, 92, 95, 0.28);
  stroke-width: 0.75;
}

.rh-atlas-hub {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -50%);
  color: rgba(77, 92, 95, 0.72);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 250, 242, 0.9);
  pointer-events: none;
}

.rh-atlas-hub::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 999px;
  background: var(--rh-blue);
  box-shadow: 0 0 0 3px rgba(45, 111, 159, 0.12);
  vertical-align: middle;
}

.rh-atlas-ocean-label {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 6;
  border: 1px solid rgba(216, 203, 184, 0.78);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  padding: 7px 10px;
}

.rh-atlas-route-svg {
  z-index: 4;
  pointer-events: auto;
}

.rh-atlas-route-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: stroke;
  vector-effect: non-scaling-stroke;
}

.rh-atlas-route {
  stroke: var(--rh-bronze);
  stroke-width: 3.8;
  filter: drop-shadow(0 8px 8px rgba(43, 36, 24, 0.2));
  transition: stroke 220ms ease, stroke-width 220ms ease, opacity 220ms ease;
  pointer-events: none;
}

.rh-atlas-route-flow {
  stroke: rgba(255, 250, 242, 0.97);
  stroke-width: 6.8;
  stroke-dasharray: 2 34;
  animation: rh-world-route-flow 5.4s linear infinite;
  pointer-events: none;
}

.rh-atlas-route.is-active {
  stroke-width: 5;
  opacity: 1;
}

.rh-world-scene[data-transport="rail"] .rh-atlas-route {
  stroke: rgba(47, 127, 134, 0.96);
}

.rh-atlas-label-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.rh-atlas-route-label {
  position: absolute;
  min-width: 76px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(216, 203, 184, 0.9);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  padding: 6px 8px;
  text-align: center;
  box-shadow: 0 14px 26px -20px rgba(43, 36, 24, 0.48);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rh-atlas-route-label.is-active {
  transform: translate(-50%, -50%) translateY(-2px);
  border-color: rgba(185, 134, 58, 0.72);
  box-shadow: 0 18px 34px -22px rgba(43, 36, 24, 0.58);
}

.rh-atlas-route-label strong,
.rh-atlas-route-label span {
  display: block;
}

.rh-atlas-route-label strong {
  color: var(--rh-ink);
  font-size: 0.72rem;
  line-height: 1;
}

.rh-atlas-route-label span {
  margin-top: 3px;
  color: var(--rh-muted);
  font-size: 0.55rem;
  line-height: 1.15;
}

.rh-atlas-legend {
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 7;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  border: 1px solid rgba(216, 203, 184, 0.78);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  padding: 8px 11px;
  color: var(--rh-muted);
  font-size: 0.68rem;
}

.rh-atlas-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rh-atlas-legend i {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--rh-bronze);
}

.rh-atlas-legend .source {
  width: 8px;
  height: 8px;
}

.rh-atlas-legend .port {
  width: 8px;
  height: 8px;
  background: var(--rh-blue);
}

.rh-atlas-legend .route {
  background: linear-gradient(90deg, var(--rh-bronze), rgba(255, 250, 242, 0.95), var(--rh-bronze));
}

.rh-atlas-legend .road {
  background: repeating-linear-gradient(90deg, rgba(45, 111, 159, 0.42) 0 6px, transparent 6px 12px);
}

.rh-atlas-tooltip {
  position: absolute;
  z-index: 9;
  min-width: 172px;
  transform: translate(-50%, calc(-100% - 16px));
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 24px 44px -30px rgba(43, 36, 24, 0.58);
  padding: 11px 12px;
  color: var(--rh-muted);
  font-size: 0.68rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.rh-atlas-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 10px));
}

.rh-atlas-tooltip strong,
.rh-atlas-tooltip span {
  display: block;
}

.rh-atlas-tooltip strong {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.68);
  color: var(--rh-ink);
  font-size: 0.76rem;
}

@keyframes rh-hyperflow-scan {
  0% { transform: translateX(-100%); opacity: 0; }
  18% { opacity: 1; }
  72% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes rh-hyperflow-node-glow {
  0%, 14%, 100% { opacity: 0; }
  5%, 9% { opacity: 1; }
}

@keyframes rh-hyperflow-packet {
  0% { left: 7%; transform: scale(0.96); }
  15% { left: 7%; transform: scale(1); }
  32% { left: 26%; }
  49% { left: 45%; }
  66% { left: 64%; }
  83% { left: calc(92% - 76px); transform: scale(1); }
  100% { left: calc(92% - 76px); transform: scale(0.96); }
}

@keyframes rh-route-pulse {
  to { stroke-dashoffset: -180; }
}

@keyframes rh-logistics-drive {
  0% { left: 52px; opacity: 1; }
  66% { left: calc(100% - 126px); opacity: 1; }
  72% { left: calc(100% - 126px); opacity: 0; }
  100% { left: 52px; opacity: 0; }
}

@keyframes rh-logistics-sail {
  0%, 55% { transform: translateX(-32px); opacity: 0; }
  62% { opacity: 1; }
  88% { transform: translateX(56px); opacity: 1; }
  100% { transform: translateX(86px); opacity: 0; }
}

@keyframes rh-logistics-pulse {
  0%, 12%, 100% { box-shadow: 0 0 0 1px rgba(185, 134, 58, 0.38); transform: translateX(-50%) scale(1); }
  6% { box-shadow: 0 0 0 9px rgba(185, 134, 58, 0.16); transform: translateX(-50%) scale(1.08); }
}

@media (max-width: 1023px) {
  .rh-logistics-panel {
    border-radius: 12px;
  }

  .rh-logistics-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: rgba(185, 134, 58, 0.55) rgba(216, 203, 184, 0.35);
  }

  .rh-logistics-track {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 720px) {
  .rh-route-map {
    border-radius: 12px;
  }

  .rh-world-map {
    left: 50%;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    transform: translateX(-50%);
  }

  .rh-route-map-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .rh-world-map .rh-route-map-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
    padding: 10px;
  }

  .rh-route-scene {
    height: auto;
    min-height: 400px;
  }

  .rh-world-scene {
    height: auto;
    min-height: clamp(780px, 190vw, 900px);
  }

  .rh-route-plane {
    inset: 20px 16px 86px;
    transform: translateY(5px) rotateX(3deg);
  }

  .rh-world-plane {
    inset: 18px 12px 74px;
    transform: none;
  }

  .rh-route-svg {
    inset: 20px 16px 86px;
  }

  .rh-world-svg {
    inset: 0;
  }

  .rh-world-viewport {
    top: 92px;
    right: 10px;
    bottom: auto;
    left: 10px;
    height: clamp(680px, 164vw, 780px);
    border-radius: 18px;
  }

  .rh-world-title {
    left: 22px;
    top: 22px;
    max-width: calc(100% - 44px);
    white-space: normal;
  }

  .rh-world-origin span {
    width: 18px;
    height: 18px;
    max-width: 18px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    white-space: nowrap;
  }

  .rh-world-days {
    min-width: 64px;
    max-width: 76px;
    padding: 5px 6px;
  }

  .rh-world-days strong {
    font-size: 0.64rem;
  }

  .rh-world-days span {
    font-size: 0.48rem;
  }

  .rh-route-pin {
    min-width: 90px;
  }

  .rh-route-pin span {
    max-width: 112px;
    padding: 6px 8px;
    font-size: 0.62rem;
  }

  .rh-route-compass {
    right: 22px;
    top: 22px;
    width: 30px;
    height: 30px;
    font-size: 0.64rem;
  }

  .rh-route-scale {
    left: 22px;
    bottom: 58px;
    max-width: calc(100% - 44px);
    white-space: normal;
  }

  .rh-route-legend {
    right: auto;
    left: 22px;
    bottom: 20px;
    max-width: calc(100% - 44px);
    gap: 6px 10px;
    padding: 8px 9px;
    font-size: 0.62rem;
  }

  .rh-world-legend {
    left: 22px;
    bottom: 20px;
    max-width: calc(100% - 44px);
  }

  .rh-world-meta {
    min-height: 0;
    justify-content: flex-start;
  }

  .rh-transport-controls {
    left: 16px;
    right: 16px;
    top: 50px;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 12px;
  }

  .rh-transport-controls button {
    min-width: 0;
    padding: 6px 5px;
    font-size: 0.64rem;
  }

  .rh-transport-controls svg {
    width: 14px;
    height: 14px;
  }

  .rh-atlas-header {
    left: 14px;
    right: 14px;
    top: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .rh-atlas-domestic {
    left: 12px;
    right: 12px;
    top: 74px;
    height: 174px;
  }

  .rh-atlas-factory {
    left: 10px;
    max-width: 112px;
    padding: 8px 9px;
  }

  .rh-atlas-block strong {
    font-size: 0.7rem;
  }

  .rh-atlas-port-list {
    right: 10px;
    top: 10px;
    bottom: 10px;
  }

  .rh-atlas-port-list span {
    min-width: 88px;
    padding: 4px 7px;
    font-size: 0.6rem;
  }

  .rh-atlas-global {
    left: 12px;
    right: 12px;
    top: 266px;
    bottom: 72px;
    border-radius: 18px;
  }

  .rh-domestic-region,
  .rh-domestic-sea-label,
  .rh-atlas-road-text {
    display: none;
  }

  .rh-atlas-domestic-days {
    font-size: 13px;
  }

  .rh-atlas-ocean-label {
    left: 12px;
    top: 12px;
    max-width: calc(100% - 24px);
    border-radius: 12px;
    white-space: normal;
  }

  .rh-atlas-route-label {
    min-width: 62px;
    max-width: 76px;
    padding: 5px 6px;
  }

  .rh-atlas-route-label strong {
    font-size: 0.63rem;
  }

  .rh-atlas-route-label span {
    font-size: 0.48rem;
  }

  .rh-atlas-tooltip {
    display: none;
  }

  .rh-atlas-hub {
    display: none;
  }

  .rh-atlas-legend {
    left: 12px;
    right: 12px;
    bottom: 14px;
    border-radius: 14px;
    gap: 6px 10px;
    padding: 8px 9px;
    font-size: 0.62rem;
  }

  .rh-route-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rh-hyperflow {
    margin-top: 2rem;
    border-radius: 12px;
  }

  .rh-hyperflow-stage {
    height: auto;
    min-height: 0;
    padding: 18px;
  }

  .rh-hyperflow-map {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rh-hyperflow-node {
    min-height: 96px;
    padding: 16px;
    padding-left: 56px;
  }

  .rh-hyperflow-node::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    width: 12px;
    height: 12px;
    border: 3px solid #fffaf2;
    border-radius: 999px;
    background: var(--rh-bronze);
    box-shadow: 0 0 0 1px rgba(185, 134, 58, 0.32);
  }

  .rh-hyperflow-line,
  .rh-hyperflow-packet,
  .rh-hyperflow-code {
    display: none;
  }

  .rh-logistics-scroll {
    overflow: visible;
  }

  .rh-logistics-track {
    display: grid;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 18px;
  }

  .rh-logistics-rail,
  .rh-logistics-runner,
  .rh-logistics-ship {
    display: none;
  }

  .rh-logistics-step {
    min-height: 0;
    padding: 18px;
    padding-left: 58px;
  }

  .rh-logistics-step::before {
    top: 22px;
    left: 28px;
    transform: none;
  }

  .rh-logistics-kpi {
    grid-template-columns: 1fr 1fr;
  }

  .rh-logistics-kpi > div:nth-child(2) {
    border-right: 0;
  }

  .rh-logistics-kpi > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(216, 203, 184, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-hyperflow-scan,
  .rh-hyperflow-packet,
  .rh-hyperflow-node::before,
  .rh-logistics-runner,
  .rh-logistics-ship,
  .rh-logistics-step::before {
    animation: none;
  }

  .rh-logistics-ship {
    opacity: 1;
  }

  .rh-hyperflow-packet {
    opacity: 1;
  }
}

/* Final overflow guard: keep the logistics section fitted to the viewport at every breakpoint. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.rh-logistics,
.rh-logistics * {
  box-sizing: border-box;
}

.rh-logistics-panel,
.rh-logistics-scroll {
  max-width: 100%;
}

.rh-logistics-scroll {
  overflow-x: visible;
}

.rh-logistics-track {
  grid-template-columns: 1fr;
  min-width: 0;
  width: 100%;
  padding: 32px 18px;
}

.rh-logistics-rail,
.rh-logistics-runner,
.rh-logistics-ship {
  display: none;
}

.rh-logistics-step {
  min-height: 0;
  padding: 18px 18px 18px 58px;
}

.rh-logistics-step::before {
  top: 22px;
  left: 28px;
  transform: none;
}

.rh-logistics-kpi {
  grid-template-columns: 1fr;
}

.rh-logistics-kpi > div {
  border-right: 0;
  border-bottom: 1px solid rgba(216, 203, 184, 0.95);
}

.rh-logistics-kpi > div:last-child {
  border-bottom: 0;
}

@media (min-width: 721px) {
  .rh-logistics-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px;
  }

  .rh-logistics-kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-logistics-kpi > div:nth-child(odd) {
    border-right: 1px solid rgba(216, 203, 184, 0.95);
  }

  .rh-logistics-kpi > div:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .rh-logistics-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .rh-logistics-scroll {
    overflow-x: hidden;
  }

  .rh-logistics-track {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 88px 32px 36px;
  }

  .rh-logistics-rail,
  .rh-logistics-runner,
  .rh-logistics-ship {
    display: block;
  }

  .rh-logistics-step {
    min-height: 180px;
    padding: 22px 16px 18px;
  }

  .rh-logistics-step::before {
    top: -48px;
    left: 50%;
    transform: translateX(-50%);
  }

  .rh-logistics-kpi {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .rh-logistics-kpi > div {
    border-bottom: 0;
    border-right: 1px solid rgba(216, 203, 184, 0.95);
  }

  .rh-logistics-kpi > div:last-child {
    border-right: 0;
  }
}

@media (max-width: 360px) {
  header .container-wide {
    gap: 0.5rem;
  }

  header .locale-trigger {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  header .locale-trigger span {
    display: none !important;
  }

  header .lg\:hidden {
    margin-right: 0;
  }
}

/* Export supply-chain control tower and Incoterm planner. */
.rh-control-tower {
  position: relative;
  margin-top: 3rem;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.95);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 28px 70px -48px rgba(43, 36, 24, 0.48);
  color: var(--rh-ink);
}

.rh-control-tower::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(216, 203, 184, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 203, 184, 0.17) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 38%);
  opacity: 0.58;
}

.rh-ct-topbar,
.rh-ct-controls,
.rh-ct-route-summary,
.rh-ct-journey,
.rh-ct-workspace,
.rh-ct-metrics,
.rh-ct-note {
  position: relative;
  z-index: 1;
}

.rh-ct-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 32px 25px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.9);
}

.rh-ct-kicker,
.rh-ct-detail-kicker {
  margin: 0 0 8px;
  color: var(--rh-bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rh-ct-topbar h3,
.rh-ct-detail h4,
.rh-ct-scope h4 {
  margin: 0;
  color: var(--rh-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

.rh-ct-topbar h3 {
  max-width: 650px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.rh-ct-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--rh-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rh-ct-live span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d8b73;
  box-shadow: 0 0 0 5px rgba(61, 139, 115, 0.12);
  animation: rh-ct-live 2.4s ease-in-out infinite;
}

.rh-ct-controls {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(250px, 0.95fr) minmax(240px, 1fr);
  gap: 24px;
  padding: 22px 32px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.9);
  background: rgba(247, 239, 226, 0.46);
}

.rh-ct-controls fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rh-ct-controls legend,
.rh-ct-select > span {
  display: block;
  margin: 0 0 8px;
  color: var(--rh-muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rh-ct-segment {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 42px;
  overflow: hidden;
  border: 1px solid rgba(157, 145, 127, 0.48);
  border-radius: 6px;
  background: #fffaf2;
}

.rh-ct-segment button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 0;
  border-right: 1px solid rgba(157, 145, 127, 0.34);
  padding: 9px 12px;
  background: transparent;
  color: var(--rh-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.rh-ct-segment button:last-child {
  border-right: 0;
}

.rh-ct-segment button:hover,
.rh-ct-segment button:focus-visible {
  background: rgba(185, 134, 58, 0.1);
  color: var(--rh-ink);
  outline: none;
}

.rh-ct-segment button.is-active {
  background: var(--rh-ink);
  color: #fffaf2;
}

.rh-ct-mode {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rh-ct-mode button {
  gap: 7px;
}

.rh-ct-mode svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.rh-ct-select {
  display: block;
  min-width: 0;
}

.rh-ct-select select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(157, 145, 127, 0.48);
  border-radius: 6px;
  padding: 8px 38px 8px 13px;
  background: #fffaf2;
  color: var(--rh-ink);
  font: inherit;
  font-size: 0.8rem;
}

.rh-ct-select select:focus-visible {
  border-color: var(--rh-bronze);
  outline: 2px solid rgba(185, 134, 58, 0.2);
  outline-offset: 1px;
}

.rh-ct-advisory {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  border-left: 2px solid var(--rh-teal);
  padding: 2px 0 2px 12px;
  color: var(--rh-muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.rh-ct-advisory.is-warning {
  border-left-color: var(--rh-bronze);
  color: #675536;
}

.rh-ct-route-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1.2fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(216, 203, 184, 0.9);
}

.rh-ct-route-summary div {
  min-width: 0;
}

.rh-ct-route-summary span {
  display: block;
  margin-bottom: 5px;
  color: var(--rh-muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.rh-ct-route-summary strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--rh-ink);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.rh-ct-route-summary i {
  position: relative;
  display: block;
  height: 1px;
  background: rgba(185, 134, 58, 0.62);
}

.rh-ct-route-summary i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--rh-bronze);
  border-right: 1px solid var(--rh-bronze);
  transform: rotate(45deg);
}

.rh-ct-journey {
  padding: 40px 32px 26px;
  overflow: hidden;
}

.rh-ct-track {
  position: absolute;
  left: 6.8%;
  right: 6.8%;
  top: 66px;
  height: 2px;
  overflow: visible;
  background: rgba(157, 145, 127, 0.34);
}

.rh-ct-track > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--rh-bronze), var(--rh-teal));
  transition: width 560ms cubic-bezier(.22, .8, .22, 1);
}

.rh-ct-track > b {
  position: absolute;
  left: calc(var(--ct-progress, 0) * 100%);
  top: 50%;
  z-index: 2;
  width: 15px;
  height: 15px;
  border: 3px solid #fffaf2;
  border-radius: 50%;
  background: var(--rh-teal);
  box-shadow: 0 0 0 1px rgba(47, 127, 134, 0.45), 0 0 0 7px rgba(47, 127, 134, 0.1);
  transform: translate(-50%, -50%);
  transition: left 560ms cubic-bezier(.22, .8, .22, 1);
}

.rh-ct-track::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2%;
  width: 58px;
  height: 6px;
  border-radius: 5px;
  background: rgba(185, 134, 58, 0.18);
  filter: blur(1px);
  animation: rh-ct-packet 5.8s linear infinite;
}

.rh-ct-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.rh-ct-step {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 104px;
  align-items: center;
  flex-direction: column;
  border: 0;
  padding: 0 4px;
  background: transparent;
  color: var(--rh-muted);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.rh-ct-step-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(157, 145, 127, 0.52);
  border-radius: 50%;
  background: #fffaf2;
  color: var(--rh-muted);
  transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.rh-ct-step-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.rh-ct-step-number {
  display: block;
  margin-top: 11px;
  color: var(--rh-bronze);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.61rem;
  letter-spacing: 0.1em;
}

.rh-ct-step strong {
  display: block;
  margin-top: 4px;
  max-width: 100%;
  color: var(--rh-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.rh-ct-step:hover .rh-ct-step-icon,
.rh-ct-step:focus-visible .rh-ct-step-icon {
  border-color: var(--rh-bronze);
  color: var(--rh-bronze);
  transform: translateY(-2px);
}

.rh-ct-step:focus-visible {
  outline: 2px solid rgba(185, 134, 58, 0.4);
  outline-offset: 5px;
}

.rh-ct-step.is-complete .rh-ct-step-icon {
  border-color: rgba(185, 134, 58, 0.64);
  background: #f8eedf;
  color: var(--rh-bronze);
}

.rh-ct-step.is-active .rh-ct-step-icon {
  border-color: var(--rh-teal);
  background: var(--rh-teal);
  color: #fff;
  box-shadow: 0 0 0 7px rgba(47, 127, 134, 0.1);
  transform: translateY(-2px);
}

.rh-ct-step.is-active strong {
  color: var(--rh-ink);
}

.rh-ct-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  border-top: 1px solid rgba(216, 203, 184, 0.9);
  border-bottom: 1px solid rgba(216, 203, 184, 0.9);
}

.rh-ct-detail {
  min-width: 0;
  padding: 30px 32px 32px;
}

.rh-ct-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(136px, 0.28fr);
  gap: 28px;
  align-items: start;
}

.rh-ct-detail h4,
.rh-ct-scope h4 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.14;
}

.rh-ct-detail-heading p,
.rh-ct-scope > p,
.rh-ct-detail-grid p,
.rh-ct-risk {
  color: var(--rh-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.rh-ct-detail-heading p {
  max-width: 680px;
  margin: 10px 0 0;
}

.rh-ct-detail-heading > div:last-child {
  border-left: 1px solid rgba(216, 203, 184, 0.9);
  padding-left: 20px;
}

.rh-ct-detail-heading > div:last-child span,
.rh-ct-detail-grid span,
.rh-ct-metrics span {
  display: block;
  color: var(--rh-muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rh-ct-detail-heading > div:last-child strong {
  display: block;
  margin-top: 8px;
  color: var(--rh-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.35;
}

.rh-ct-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid rgba(216, 203, 184, 0.9);
  border-left: 1px solid rgba(216, 203, 184, 0.9);
}

.rh-ct-detail-grid > div {
  min-width: 0;
  border-right: 1px solid rgba(216, 203, 184, 0.9);
  border-bottom: 1px solid rgba(216, 203, 184, 0.9);
  padding: 18px;
  background: rgba(247, 239, 226, 0.25);
}

.rh-ct-detail-grid p {
  margin: 7px 0 0;
}

.rh-ct-output {
  grid-column: 1 / -1;
}

.rh-ct-scope {
  min-width: 0;
  border-left: 1px solid rgba(216, 203, 184, 0.9);
  padding: 30px 28px;
  background: #f5eddf;
}

.rh-ct-scope > p {
  margin: 10px 0 0;
}

.rh-ct-scope-bar {
  display: flex;
  height: 12px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(157, 145, 127, 0.35);
  border-radius: 2px;
  background: #fffaf2;
}

.rh-ct-scope-bar span {
  display: block;
  height: 100%;
  transition: width 520ms cubic-bezier(.22, .8, .22, 1);
}

.rh-ct-scope-bar span:nth-child(1) {
  background: var(--rh-bronze);
}

.rh-ct-scope-bar span:nth-child(2) {
  background: var(--rh-teal);
}

.rh-ct-scope-bar span:nth-child(3) {
  background: var(--rh-ink);
}

.rh-ct-scope-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: var(--rh-muted);
  font-size: 0.65rem;
}

.rh-ct-scope-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rh-ct-scope-legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-bronze);
}

.rh-ct-scope-legend span:nth-child(2) i {
  background: var(--rh-teal);
}

.rh-ct-scope-legend span:nth-child(3) i {
  background: var(--rh-ink);
}

.rh-ct-scope dl {
  margin: 24px 0 0;
  border-top: 1px solid rgba(157, 145, 127, 0.3);
}

.rh-ct-scope dl > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(157, 145, 127, 0.3);
  padding: 11px 0;
}

.rh-ct-scope dt,
.rh-ct-scope dd {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.rh-ct-scope dt {
  color: var(--rh-muted);
}

.rh-ct-scope dd {
  color: var(--rh-ink);
  font-weight: 600;
}

.rh-ct-risk {
  margin-top: 18px;
  border-left: 2px solid var(--rh-bronze);
  padding-left: 12px;
  font-size: 0.71rem;
}

.rh-ct-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rh-ct-metrics > div {
  min-width: 0;
  border-right: 1px solid rgba(216, 203, 184, 0.9);
  padding: 20px 22px;
}

.rh-ct-metrics > div:last-child {
  border-right: 0;
}

.rh-ct-metrics strong,
.rh-ct-metrics small {
  display: block;
  overflow-wrap: anywhere;
}

.rh-ct-metrics strong {
  margin-top: 8px;
  color: var(--rh-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.3;
}

.rh-ct-metrics small {
  margin-top: 5px;
  color: var(--rh-muted);
  font-size: 0.67rem;
  line-height: 1.45;
}

.rh-ct-note {
  margin: 0;
  border-top: 1px solid rgba(216, 203, 184, 0.9);
  padding: 14px 32px 16px;
  color: var(--rh-muted);
  font-size: 0.66rem;
  line-height: 1.55;
}

.rh-ct-noscript {
  padding: 28px 32px;
}

.rh-ct-noscript h3 {
  margin: 0;
  color: var(--rh-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  letter-spacing: 0;
}

.rh-ct-noscript ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  padding: 1px;
  background: rgba(216, 203, 184, 0.9);
  list-style-position: inside;
}

.rh-ct-noscript li {
  padding: 14px;
  background: #fffaf2;
  color: var(--rh-ink);
  font-size: 0.8rem;
  line-height: 1.5;
}

.rh-ct-noscript > p:last-child {
  margin: 0;
  color: var(--rh-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

@keyframes rh-ct-live {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1); }
}

@keyframes rh-ct-packet {
  0% { left: -2%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 52px); opacity: 0; }
}

@media (max-width: 1099px) {
  .rh-ct-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-ct-select {
    grid-column: 1 / -1;
  }

  .rh-ct-journey {
    padding-top: 28px;
  }

  .rh-ct-track {
    display: none;
  }

  .rh-ct-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .rh-ct-step {
    min-height: 94px;
    border: 1px solid rgba(216, 203, 184, 0.82);
    border-radius: 6px;
    padding: 13px 8px 11px;
    background: rgba(255, 255, 255, 0.42);
  }

  .rh-ct-step-icon {
    width: 40px;
    height: 40px;
  }

  .rh-ct-step-number {
    margin-top: 8px;
  }

  .rh-ct-workspace {
    grid-template-columns: 1fr;
  }

  .rh-ct-scope {
    border-top: 1px solid rgba(216, 203, 184, 0.9);
    border-left: 0;
  }

  .rh-ct-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-ct-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .rh-ct-metrics > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(216, 203, 184, 0.9);
  }
}

@media (max-width: 720px) {
  .rh-control-tower {
    left: auto;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    margin-left: calc(50% - 50vw + 10px);
    margin-top: 2rem;
    transform: none;
  }

  .rh-ct-topbar {
    display: block;
    padding: 22px 18px 19px;
  }

  .rh-ct-live {
    margin-top: 16px;
    font-size: 0.61rem;
  }

  .rh-ct-controls {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 18px;
  }

  .rh-ct-select {
    grid-column: auto;
  }

  .rh-ct-route-summary {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 7px 12px;
    padding: 20px 18px;
  }

  .rh-ct-route-summary div {
    grid-column: 2;
  }

  .rh-ct-route-summary i {
    grid-column: 1;
    width: 1px;
    height: 22px;
    justify-self: center;
    background: rgba(185, 134, 58, 0.62);
  }

  .rh-ct-route-summary i::after {
    right: -3px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }

  .rh-ct-journey {
    padding: 20px 18px;
  }

  .rh-ct-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rh-ct-step {
    display: grid;
    grid-template-columns: 40px 34px minmax(0, 1fr);
    min-height: 58px;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    text-align: left;
  }

  .rh-ct-step-icon {
    grid-row: 1;
    width: 38px;
    height: 38px;
  }

  .rh-ct-step-number,
  .rh-ct-step strong {
    margin: 0;
  }

  .rh-ct-step strong {
    font-size: 0.79rem;
  }

  .rh-ct-detail,
  .rh-ct-scope {
    padding: 23px 18px;
  }

  .rh-ct-detail-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rh-ct-detail-heading > div:last-child {
    border-top: 1px solid rgba(216, 203, 184, 0.9);
    border-left: 0;
    padding-top: 14px;
    padding-left: 0;
  }

  .rh-ct-detail-grid {
    grid-template-columns: 1fr;
  }

  .rh-ct-output {
    grid-column: auto;
  }

  .rh-ct-scope dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .rh-ct-metrics {
    grid-template-columns: 1fr;
  }

  .rh-ct-metrics > div,
  .rh-ct-metrics > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(216, 203, 184, 0.9);
    padding: 17px 18px;
  }

  .rh-ct-metrics > div:last-child {
    border-bottom: 0;
  }

  .rh-ct-note {
    padding: 13px 18px 15px;
  }

  .rh-ct-noscript {
    padding: 22px 18px;
  }

  .rh-ct-noscript ol {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-ct-live span,
  .rh-ct-track::after {
    animation: none;
  }

  .rh-ct-track > span,
  .rh-ct-track > b,
  .rh-ct-scope-bar span {
    transition: none;
  }
}

/* P1+ 3D logistics replacement: native, no external runtime dependency. */
.rh-world-scene[data-enhanced="3d"] {
  height: auto;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  perspective: none;
}

.rh-world-scene[data-enhanced="3d"] .rh-route-plane,
.rh-world-scene[data-enhanced="3d"] > .rh-world-svg,
.rh-world-scene[data-enhanced="3d"] > .rh-world-title,
.rh-world-scene[data-enhanced="3d"] > .rh-world-pin,
.rh-world-scene[data-enhanced="3d"] > .rh-world-days,
.rh-world-scene[data-enhanced="3d"] > .rh-world-legend {
  display: none;
}

.rh-domestic-static {
  margin-bottom: 20px;
}

.rh-3d-logistics {
  --rh-3d-bg: #fffaf2;
  --rh-3d-panel: rgba(255, 255, 255, 0.68);
  --rh-3d-ink: #2b2418;
  --rh-3d-muted: #6f6658;
  --rh-3d-line: #d8cbb8;
  --rh-3d-bronze: #b9863a;
  --rh-3d-blue: #2d6f9f;
  --rh-3d-teal: #2f7f86;
  --rh-3d-rail: #c06c2f;
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.95);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(185, 134, 58, 0.18), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(45, 111, 159, 0.12), transparent 34%),
    linear-gradient(180deg, #fffaf2 0%, #f5eadb 100%);
  color: var(--rh-3d-ink);
  box-shadow: 0 28px 70px -45px rgba(43, 36, 24, 0.45);
}

.rh-3d-logistics.is-dark {
  --rh-3d-bg: #15120d;
  --rh-3d-panel: rgba(35, 29, 20, 0.78);
  --rh-3d-ink: #fff7e8;
  --rh-3d-muted: #d8cbb8;
  --rh-3d-line: rgba(232, 210, 183, 0.26);
  --rh-3d-bronze: #d69a4c;
  --rh-3d-blue: #7fb4d9;
  --rh-3d-teal: #74b8ad;
  --rh-3d-rail: #ef9b52;
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 154, 76, 0.18), transparent 30%),
    radial-gradient(circle at 78% 62%, rgba(127, 180, 217, 0.12), transparent 34%),
    linear-gradient(180deg, #17120c 0%, #241d13 100%);
}

.rh-3d-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  padding: 22px 24px 0;
}

.rh-3d-topbar span,
.rh-3d-panel-head span,
.rh-3d-detail > span {
  display: block;
  color: var(--rh-3d-bronze);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rh-3d-topbar strong,
.rh-3d-panel-head strong {
  display: block;
  margin-top: 5px;
  color: var(--rh-3d-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.rh-3d-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.rh-3d-controls button,
.rh-3d-controls select {
  min-height: 38px;
  border: 1px solid var(--rh-3d-line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.8);
  color: var(--rh-3d-ink);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1;
}

.rh-3d-logistics.is-dark .rh-3d-controls button,
.rh-3d-logistics.is-dark .rh-3d-controls select {
  background: rgba(255, 250, 242, 0.08);
}

.rh-3d-controls button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rh-3d-controls button svg {
  width: 16px;
  height: 16px;
}

.rh-3d-controls button span {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rh-3d-controls button.is-active {
  border-color: rgba(185, 134, 58, 0.7);
  background: var(--rh-3d-bronze);
  color: #fffaf2;
}

.rh-3d-controls select {
  max-width: 180px;
  padding: 0 34px 0 13px;
}

.rh-3d-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  padding: 18px 24px 20px;
}

.rh-3d-domestic,
.rh-3d-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rh-3d-line);
  border-radius: 16px;
  background: var(--rh-3d-panel);
}

.rh-3d-domestic {
  padding: 18px;
}

.rh-3d-domestic svg {
  display: block;
  width: 100%;
  height: 270px;
  margin-top: 16px;
  overflow: visible;
}

.rh-3d-map-paper { fill: rgba(255, 250, 242, 0.34); }
.rh-3d-sea { fill: rgba(45, 111, 159, 0.11); }
.rh-3d-coast { fill: none; stroke: rgba(45, 111, 159, 0.24); stroke-width: 10; stroke-linecap: round; }
.rh-3d-province { fill: rgba(255, 250, 242, 0.76); stroke: rgba(216, 203, 184, 0.72); stroke-width: 2; }
.rh-3d-province-east { fill: rgba(249, 242, 232, 0.82); }
.rh-3d-province-south { fill: rgba(247, 239, 226, 0.86); }
.rh-3d-road-base { fill: none; stroke: rgba(111, 102, 88, 0.2); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 10 10; }
.rh-3d-minor-road { fill: none; stroke: rgba(111, 102, 88, 0.18); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 9 13; }
.rh-3d-road,
.rh-3d-road-flow { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rh-3d-road { stroke: rgba(185, 134, 58, 0.86); stroke-width: 5; }
.rh-3d-road-flow { stroke: #fffaf2; stroke-width: 2.2; stroke-dasharray: 16 22; animation: rh-3d-flow 2.8s linear infinite; }
.rh-3d-road-text,
.rh-3d-region,
.rh-3d-sea-label,
.rh-3d-days,
.rh-3d-city-label,
.rh-3d-city-sub,
.rh-3d-factory-label,
.rh-3d-port-label { font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; pointer-events: none; }
.rh-3d-road-text { fill: rgba(111, 102, 88, 0.58); font-size: 14px; font-weight: 650; letter-spacing: 0; }
.rh-3d-region,
.rh-3d-sea-label { fill: rgba(111, 102, 88, 0.36); font-size: 14px; font-weight: 650; letter-spacing: 0.02em; }
.rh-3d-sea-label { fill: rgba(45, 111, 159, 0.34); }
.rh-3d-days { fill: var(--rh-3d-ink); font-size: 16px; font-weight: 800; letter-spacing: 0; }
.rh-3d-city-label { fill: rgba(43, 36, 24, 0.72); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.rh-3d-city-sub { fill: rgba(111, 102, 88, 0.62); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.rh-3d-factory-label,
.rh-3d-port-label { fill: var(--rh-3d-ink); font-size: 15px; font-weight: 800; letter-spacing: 0; }
.rh-3d-source,
.rh-3d-port,
.rh-3d-waypoint,
.rh-3d-export-dot { stroke: #fffaf2; stroke-width: 4; }
.rh-3d-source,
.rh-3d-export-dot { fill: var(--rh-3d-bronze); }
.rh-3d-port { fill: var(--rh-3d-blue); }
.rh-3d-waypoint { fill: rgba(111, 102, 88, 0.46); }

.rh-3d-domestic-labels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.rh-3d-domestic-labels span {
  border: 1px solid var(--rh-3d-line);
  border-radius: 999px;
  padding: 8px 9px;
  background: rgba(255, 250, 242, 0.65);
  color: var(--rh-3d-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
}

.rh-3d-stage {
  min-height: 560px;
  background:
    linear-gradient(rgba(216, 203, 184, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 203, 184, 0.22) 1px, transparent 1px),
    var(--rh-3d-panel);
  background-size: 38px 38px, 38px 38px, auto;
  perspective: 1100px;
}

.rh-3d-orbit {
  position: absolute;
  inset: 7% 5% 18%;
  border: 1px dashed rgba(185, 134, 58, 0.22);
  border-radius: 50%;
  transform: rotateX(60deg);
  pointer-events: none;
}

.rh-3d-globe {
  position: absolute;
  left: 50%;
  top: 45%;
  width: min(92%, 700px);
  aspect-ratio: 1.92 / 1;
  transform: translate(-50%, -50%) rotateX(10deg);
  transform-style: preserve-3d;
  border: 1px solid rgba(216, 203, 184, 0.72);
  border-radius: 50% / 44%;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 250, 242, 0.55), transparent 22%),
    linear-gradient(145deg, rgba(45, 111, 159, 0.14), rgba(255, 250, 242, 0.5));
  box-shadow:
    0 32px 55px -45px rgba(43, 36, 24, 0.8),
    inset -34px -24px 50px rgba(43, 36, 24, 0.12),
    inset 20px 18px 36px rgba(255, 255, 255, 0.34);
}

.rh-3d-globe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.16), transparent 34%, rgba(43,36,24,0.12)),
    repeating-linear-gradient(90deg, rgba(216,203,184,0.18) 0 1px, transparent 1px 9%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.rh-3d-world,
.rh-3d-world-svg,
.rh-3d-routes,
.rh-3d-labels {
  position: absolute;
  inset: 0;
}

.rh-3d-world-svg { width: 100%; height: 100%; opacity: 0.96; }
.rh-3d-world-svg .rh-world-ocean { fill: transparent; }
.rh-3d-world-svg .rh-world-grid { stroke: rgba(111, 102, 88, 0.15); stroke-width: 0.9; }
.rh-3d-world-svg .rh-world-land { fill: rgba(255, 250, 242, 0.58); stroke: rgba(111, 102, 88, 0.34); stroke-width: 0.8; }
.rh-3d-logistics.is-dark .rh-3d-world-svg .rh-world-land { fill: rgba(255, 250, 242, 0.2); stroke: rgba(255, 250, 242, 0.28); }

.rh-3d-routes {
  z-index: 5;
  overflow: visible;
}

.rh-3d-route,
.rh-3d-route-flow,
.rh-3d-route-hit {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-3d-route-hit { stroke: transparent; stroke-width: 24; cursor: pointer; }
.rh-3d-route { stroke: var(--rh-3d-blue); stroke-width: 4; opacity: 0.72; filter: drop-shadow(0 6px 7px rgba(43, 36, 24, 0.16)); transition: opacity 0.2s ease, stroke 0.2s ease, stroke-width 0.2s ease; }
.rh-3d-route-rail { stroke: var(--rh-3d-rail); }
.rh-3d-route-flow { stroke: #fffaf2; stroke-width: 2; stroke-dasharray: 14 20; opacity: 0.92; animation: rh-3d-route-flow 3.6s linear infinite; }
.rh-3d-route.is-hovered,
.rh-3d-route.is-selected,
.rh-3d-route-flow.is-hovered,
.rh-3d-route-flow.is-selected { opacity: 1; stroke-width: 6; }
.rh-3d-route.is-selected { stroke: var(--rh-3d-bronze); }

.rh-3d-labels {
  z-index: 8;
  pointer-events: none;
}

.rh-3d-route-label {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 2px;
  min-width: 96px;
  border: 1px solid var(--rh-3d-line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--rh-3d-ink);
  box-shadow: 0 14px 24px -20px rgba(43, 36, 24, 0.55);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rh-3d-logistics.is-dark .rh-3d-route-label { background: rgba(35, 29, 20, 0.92); }
.rh-3d-route-label strong { color: var(--rh-3d-bronze); font-size: 0.72rem; line-height: 1; }
.rh-3d-route-label span { color: var(--rh-3d-muted); font-size: 0.62rem; font-weight: 700; line-height: 1.1; }
.rh-3d-route-label.is-hovered,
.rh-3d-route-label.is-selected { transform: translate(-50%, -50%) translateY(-2px); border-color: rgba(185, 134, 58, 0.72); background: #fffaf2; }

.rh-3d-detail {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 12;
  width: min(330px, calc(100% - 36px));
  border: 1px solid var(--rh-3d-line);
  border-radius: 14px;
  padding: 15px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--rh-3d-muted);
  box-shadow: 0 18px 32px -24px rgba(43, 36, 24, 0.55);
}

.rh-3d-logistics.is-dark .rh-3d-detail { background: rgba(35, 29, 20, 0.92); }
.rh-3d-detail strong { display: block; margin-top: 6px; color: var(--rh-3d-ink); font-family: "Playfair Display", Georgia, serif; font-size: 1.08rem; line-height: 1.15; }
.rh-3d-detail p { margin: 9px 0 0; color: var(--rh-3d-muted); font-size: 0.76rem; line-height: 1.5; }
.rh-3d-detail dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; }
.rh-3d-detail div { border: 1px solid var(--rh-3d-line); border-radius: 10px; padding: 8px; background: rgba(255, 255, 255, 0.38); }
.rh-3d-detail dt { color: var(--rh-3d-bronze); font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.rh-3d-detail dd { margin: 3px 0 0; color: var(--rh-3d-ink); font-size: 0.68rem; font-weight: 700; }

.rh-3d-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0 24px 22px;
}

.rh-3d-legend span { display: inline-flex; align-items: center; gap: 7px; color: var(--rh-3d-muted); font-size: 0.7rem; font-weight: 700; }
.rh-3d-legend i { display: inline-block; flex: 0 0 auto; }
.rh-3d-legend .source,
.rh-3d-legend .port { width: 9px; height: 9px; border-radius: 999px; }
.rh-3d-legend .source { background: var(--rh-3d-bronze); }
.rh-3d-legend .port { background: var(--rh-3d-blue); }
.rh-3d-legend .road,
.rh-3d-legend .route { width: 24px; height: 3px; border-radius: 999px; }
.rh-3d-legend .road { background: var(--rh-3d-bronze); }
.rh-3d-legend .route { background: linear-gradient(90deg, var(--rh-3d-blue), var(--rh-3d-teal)); }

@keyframes rh-3d-flow { to { stroke-dashoffset: -38; } }
@keyframes rh-3d-route-flow { to { stroke-dashoffset: -34; } }

@media (max-width: 1100px) {
  .rh-3d-topbar { flex-direction: column; }
  .rh-3d-controls { justify-content: flex-start; }
  .rh-3d-grid { grid-template-columns: 1fr; }
  .rh-3d-stage { min-height: 520px; }
}

@media (max-width: 640px) {
  .rh-3d-topbar,
  .rh-3d-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rh-3d-grid { gap: 14px; }
  .rh-3d-controls { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .rh-3d-controls select,
  .rh-3d-controls button { width: 100%; justify-content: center; }
  .rh-3d-controls select { grid-column: auto; max-width: none; }
  .rh-3d-domestic { padding: 14px; }
  .rh-3d-domestic svg { height: 230px; }
  .rh-3d-domestic-labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rh-3d-stage { min-height: 500px; }
  .rh-3d-globe { top: 38%; width: 112%; }
  .rh-3d-route-label { min-width: 74px; padding: 6px 7px; }
  .rh-3d-route-label strong { font-size: 0.64rem; }
  .rh-3d-route-label span { font-size: 0.55rem; }
  .rh-3d-detail { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .rh-3d-detail dl { grid-template-columns: 1fr; }
  .rh-3d-legend { padding-left: 14px; padding-right: 14px; }
}

.rh-world-scene[data-enhanced="real-3d"] {
  height: auto;
  min-height: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.rh-world-map[data-real3d="1"] .rh-route-map-inner {
  grid-template-columns: 1fr;
}

.rh-world-map[data-real3d="1"] .rh-world-meta {
  display: block;
  min-height: 0;
}

.rh-world-map[data-real3d="1"] .rh-world-meta .rh-route-list {
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rh-world-map[data-real3d="1"] .rh-route-note {
  margin: 12px 0 0;
}

.rh-route-details {
  margin-top: 16px;
  border: 1px solid rgba(216, 203, 184, 0.86);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
}

.rh-route-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--rh-ink);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 750;
  list-style: none;
}

.rh-route-details summary::-webkit-details-marker {
  display: none;
}

.rh-route-details summary b {
  color: var(--rh-bronze);
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.rh-route-details[open] summary {
  border-bottom: 1px solid rgba(216, 203, 184, 0.72);
}

.rh-route-details[open] summary b {
  font-size: 0;
}

.rh-route-details[open] summary b::after {
  content: "Hide routes";
  font-size: 0.7rem;
}

.rh-route-details .rh-route-list {
  padding: 12px;
}

@media (max-width: 1100px) {
  .rh-world-map[data-real3d="1"] .rh-world-meta .rh-route-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rh-world-map[data-real3d="1"] .rh-world-meta .rh-route-list {
    grid-template-columns: 1fr;
  }
}

.rh-world-scene[data-enhanced="real-3d"] .rh-route-plane,
.rh-world-scene[data-enhanced="real-3d"] > .rh-world-svg,
.rh-world-scene[data-enhanced="real-3d"] > .rh-world-title,
.rh-world-scene[data-enhanced="real-3d"] > .rh-world-pin,
.rh-world-scene[data-enhanced="real-3d"] > .rh-world-days,
.rh-world-scene[data-enhanced="real-3d"] > .rh-world-legend {
  display: none;
}

.rh-real-3d {
  min-height: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-stretch: normal;
  letter-spacing: 0;
}

.rh-real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 18px 24px 20px;
}

.rh-real-domestic,
.rh-real-international,
.rh-real-stage {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rh-3d-line);
  border-radius: 16px;
  background: var(--rh-3d-panel);
}

.rh-real-domestic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px;
  align-items: stretch;
}

.rh-real-domestic-copy,
.rh-real-international-copy {
  min-width: 0;
}

.rh-real-domestic-copy p,
.rh-real-international-copy p {
  margin-top: 12px;
  color: var(--rh-3d-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.rh-real-3d .rh-3d-topbar span,
.rh-real-3d .rh-3d-panel-head span,
.rh-real-3d .rh-real-detail > span,
.rh-real-3d .rh-real-domestic-kpis span {
  letter-spacing: 0.1em;
}

.rh-real-3d .rh-3d-controls button span {
  letter-spacing: 0;
  text-transform: none;
}

.rh-real-3d .rh-3d-controls button,
.rh-real-3d .rh-3d-controls select,
.rh-real-3d .rh-3d-legend span,
.rh-real-3d .rh-real-label,
.rh-real-3d .rh-real-detail p,
.rh-real-3d .rh-real-detail dt,
.rh-real-3d .rh-real-detail dd,
.rh-real-3d .rh-real-domestic-kpis span {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.rh-real-domestic-kpis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.rh-real-domestic-kpis div {
  border: 1px solid var(--rh-3d-line);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 250, 242, 0.52);
}

.rh-real-domestic-kpis span {
  display: block;
  color: var(--rh-3d-bronze);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rh-real-domestic-kpis strong {
  display: block;
  margin-top: 5px;
  color: var(--rh-3d-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  line-height: 1.1;
}

.rh-real-domestic-note {
  margin: 0;
  color: var(--rh-3d-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.rh-real-international {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 22px;
}

.rh-real-international-head {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 18px;
  align-items: end;
}

.rh-real-international-head .rh-3d-controls {
  justify-content: flex-end;
}

.rh-real-stage {
  position: relative;
  height: clamp(460px, 52vw, 680px);
  min-height: 0;
  contain: layout paint;
  background:
    linear-gradient(rgba(216, 203, 184, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 203, 184, 0.16) 1px, transparent 1px),
    var(--rh-3d-panel);
  background-size: 42px 42px, 42px 42px, auto;
}

.rh-real-canvas {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: pan-y;
}

.rh-real-canvas:active {
  cursor: grabbing;
}

.rh-real-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.rh-real-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}

.rh-real-label {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  padding: 4px 7px;
  border: 1px solid rgba(216, 203, 184, 0.56);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
  color: var(--rh-3d-ink);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(255, 250, 242, 0.86);
  box-shadow: 0 12px 18px -16px rgba(43, 36, 24, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
  white-space: nowrap;
}

.rh-real-3d.is-dark .rh-real-label {
  background: rgba(35, 29, 20, 0.72);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.rh-real-detail {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  width: min(340px, calc(100% - 36px));
  border: 1px solid var(--rh-3d-line);
  border-radius: 14px;
  padding: 15px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--rh-3d-muted);
  box-shadow: 0 18px 32px -24px rgba(43, 36, 24, 0.55);
  backdrop-filter: blur(10px);
}

.rh-real-3d.is-dark .rh-real-detail {
  background: rgba(35, 29, 20, 0.9);
}

.rh-real-detail > span {
  display: block;
  color: var(--rh-3d-bronze);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rh-real-detail strong {
  display: block;
  margin-top: 6px;
  color: var(--rh-3d-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.15;
}

.rh-real-detail p {
  margin: 9px 0 0;
  color: var(--rh-3d-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.rh-real-detail dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.rh-real-detail div {
  border: 1px solid var(--rh-3d-line);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.38);
}

.rh-real-detail dt {
  color: var(--rh-3d-bronze);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rh-real-detail dd {
  margin: 3px 0 0;
  color: var(--rh-3d-ink);
  font-size: 0.68rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .rh-world-map[data-real3d="1"] .rh-world-meta {
    grid-template-columns: 1fr;
  }

  .rh-world-map[data-real3d="1"] .rh-world-meta .rh-route-list {
    grid-template-columns: 1fr;
  }

  .rh-real-international-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .rh-real-international-head .rh-3d-controls {
    justify-content: flex-start;
  }

  .rh-real-stage {
    height: clamp(450px, 62vw, 620px);
  }

  .rh-real-domestic-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rh-real-grid {
    padding-left: 14px;
    padding-right: 14px;
  }

  .rh-real-domestic,
  .rh-real-international {
    padding: 14px;
  }

  .rh-real-domestic-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-real-stage {
    height: clamp(440px, 135vw, 560px);
  }

  .rh-real-label {
    font-size: 0.58rem;
    padding: 3px 6px;
  }

  .rh-real-detail {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .rh-real-detail dl {
    grid-template-columns: 1fr;
  }
}
