body.supply {
  background: #080b0a;
  color: #e7ebe7;
}

.supply-app {
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-columns: 218px minmax(0, 1fr);
  background:
    radial-gradient(circle at 70% 10%, rgba(169, 255, 101, 0.025), transparent 22%),
    #080b0a;
}

.supply-sidebar {
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 27px 17px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.075);
  background: #0a0e0c;
}

.supply-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 7px 25px;
}

.supply-logo__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 5px;
  background: linear-gradient(145deg, #d6ff6e, #86c74b);
  box-shadow: 0 0 22px rgba(190, 255, 101, 0.1);
  color: #0a130b;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
}

.supply-logo > span:last-child {
  display: flex;
  flex-direction: column;
}

.supply-logo b {
  color: #eef3ed;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.12em;
}

.supply-logo small {
  color: #616b65;
  font-family: var(--display);
  font-size: 6px;
  letter-spacing: 0.15em;
}

.workspace-switch {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  background: #0e1310;
}

.workspace-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 6px;
  background: #1b261f;
  color: #a6e36b;
  font-family: var(--display);
  font-size: 11px;
}

.workspace-switch > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.workspace-switch small {
  color: #535e57;
  font-size: 6px;
  letter-spacing: 0.12em;
}

.workspace-switch b {
  color: #9ea8a2;
  font-size: 8px;
  font-weight: 500;
}

.workspace-switch i {
  color: #59635d;
  font-size: 10px;
  font-style: normal;
}

.supply-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 17px;
}

.supply-nav > span {
  margin: 18px 10px 7px;
  color: #46514a;
  font-family: var(--display);
  font-size: 6px;
  letter-spacing: 0.17em;
}

.supply-nav a {
  position: relative;
  display: flex;
  height: 40px;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border-radius: 6px;
  color: #768179;
  font-size: 10px;
}

.supply-nav a .icon {
  width: 15px;
  height: 15px;
  color: #66716a;
}

.supply-nav a.is-active {
  background: #131b16;
  color: #d6e0d9;
}

.supply-nav a.is-active .icon {
  color: #b6f262;
}

.supply-nav a.is-active::before {
  position: absolute;
  left: 0;
  width: 2px;
  height: 18px;
  border-radius: 2px;
  background: #b6f262;
  content: "";
}

.supply-nav a b {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  margin-left: auto;
  border-radius: 5px;
  background: #1c261f;
  color: #8aa574;
  font-size: 7px;
  font-weight: 500;
}

.risk-dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: #ff9c67;
  box-shadow: 0 0 9px rgba(255, 156, 103, 0.6);
}

.axis-card {
  margin-top: auto;
  padding: 14px;
  border: 1px solid #263028;
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(169, 255, 101, 0.11), transparent 38%),
    #0d130f;
}

.axis-card > span {
  color: #8da277;
  font-family: var(--display);
  font-size: 6px;
  letter-spacing: 0.15em;
}

.axis-card b {
  display: block;
  margin: 8px 0 14px;
  color: #bbc5bd;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
}

.axis-card button {
  display: flex;
  width: 100%;
  height: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border-radius: 5px;
  background: #b6f262;
  color: #0a110b;
  font-size: 7px;
  font-weight: 600;
}

.axis-card button i {
  font-size: 9px;
  font-style: normal;
}

.supply-user {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  padding: 14px 5px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.supply-avatar {
  width: 31px;
  height: 31px;
  background: linear-gradient(145deg, #344b37, #18231b);
  color: #d3e4d0;
  font-family: var(--display);
  font-size: 8px;
}

.supply-user > div {
  display: flex;
  flex-direction: column;
}

.supply-user b {
  color: #b9c3bc;
  font-size: 9px;
}

.supply-user small {
  color: #5a655e;
  font-size: 7px;
}

.supply-user > span:last-child {
  color: #505b54;
  font-size: 9px;
}

.supply-main {
  min-width: 0;
  height: 100vh;
  overflow: hidden;
}

.supply-topbar {
  display: flex;
  height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(9, 13, 11, 0.88);
}

.supply-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #535e57;
  font-size: 9px;
}

.supply-breadcrumb i {
  color: #353e38;
  font-style: normal;
}

.supply-breadcrumb b {
  color: #8d9891;
  font-weight: 500;
}

.supply-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.supply-search {
  display: flex;
  width: 242px;
  height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #0c110e;
}

.supply-search .icon {
  width: 14px;
  color: #4d5851;
}

.supply-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #c0c8c2;
  font-size: 8px;
}

.supply-search input::placeholder {
  color: #4e5952;
}

.supply-search kbd {
  padding: 2px 5px;
  border: 1px solid #2a332d;
  border-radius: 3px;
  color: #4f5b53;
  font-size: 6px;
}

.sync-state {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 5px;
  color: #779077;
  font-family: var(--display);
  font-size: 6px;
  letter-spacing: 0.11em;
}

.sync-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6f262;
  box-shadow: 0 0 8px #b6f262;
  animation: supply-pulse 1.9s infinite;
}

@keyframes supply-pulse {
  50% {
    opacity: 0.35;
  }
}

.supply-tool {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: #0c110e;
  color: #68736c;
}

.supply-tool .icon {
  width: 14px;
  height: 14px;
}

.supply-tool b {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: #b6f262;
  color: #101610;
  font-size: 6px;
}

.supply-content {
  height: calc(100vh - 62px);
  padding: 19px 24px 22px;
}

.supply-heading {
  display: flex;
  height: 52px;
  align-items: flex-start;
  justify-content: space-between;
}

.supply-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64716a;
  font-family: var(--display);
  font-size: 6px;
  letter-spacing: 0.13em;
}

.supply-kicker i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6f262;
}

.supply-heading h1 {
  margin: 5px 0 0;
  color: #e4e9e4;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.supply-heading h1 small {
  margin-left: 8px;
  color: #4f5b54;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.supply-period {
  display: flex;
  height: 31px;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 6px;
  background: #0b100d;
}

.supply-period button {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #5e6962;
  font-size: 7px;
}

.supply-period button:first-child {
  background: #171f1a;
  color: #bac5bd;
}

.supply-period button:first-child i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b6f262;
}

.supply-period .period-calendar {
  padding: 0 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.period-calendar .icon {
  width: 12px;
  height: 12px;
}

.supply-kpis {
  display: grid;
  height: 110px;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.supply-kpis article {
  padding: 15px 16px 13px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(13, 18, 15, 0.82);
}

.supply-kpi__top,
.supply-kpi__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.supply-kpi__top > span:first-child {
  color: #69766e;
  font-size: 8px;
}

.kpi-tag {
  color: #87a86b;
  font-family: var(--display);
  font-size: 6px;
}

.kpi-tag--muted {
  color: #5b6760;
}

.kpi-tag--risk {
  padding: 2px 5px;
  border: 1px solid rgba(255, 156, 103, 0.18);
  border-radius: 3px;
  background: rgba(255, 156, 103, 0.07);
  color: #d09a7d;
}

.supply-kpi__value {
  margin-top: 7px;
  color: #e1e6e1;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1;
}

.supply-kpi__value small {
  margin-left: 2px;
  color: #66736b;
  font-size: 8px;
}

.kpi-line {
  height: 2px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 2px;
  background: #1a221c;
}

.kpi-line i {
  display: block;
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, #8dcc58, #c9ff70);
}

.kpi-line--mint i {
  background: linear-gradient(90deg, #319a80, #66e1be);
}

.supply-kpi__bottom {
  color: #4e5a53;
  font-size: 6px;
}

.spark-bars {
  display: flex;
  height: 12px;
  align-items: flex-end;
  gap: 3px;
  margin: 7px 0 9px;
}

.spark-bars i {
  flex: 1;
  border-radius: 1px 1px 0 0;
  background: #3d563e;
}

.spark-bars i:nth-child(1) {
  height: 25%;
}

.spark-bars i:nth-child(2) {
  height: 48%;
}

.spark-bars i:nth-child(3) {
  height: 36%;
}

.spark-bars i:nth-child(4) {
  height: 66%;
}

.spark-bars i:nth-child(5) {
  height: 53%;
}

.spark-bars i:nth-child(6) {
  height: 76%;
}

.spark-bars i:nth-child(7) {
  height: 70%;
}

.spark-bars i:nth-child(8) {
  height: 88%;
}

.spark-bars i:nth-child(9) {
  height: 82%;
}

.spark-bars i:nth-child(10) {
  height: 100%;
  background: #b6f262;
}

.risk-shapes {
  display: flex;
  gap: 5px;
  margin: 8px 0 9px;
}

.risk-shapes span {
  padding: 2px 5px;
  border-radius: 2px;
  background: rgba(255, 156, 103, 0.08);
  color: #b68066;
  font-size: 6px;
}

.risk-shapes span:nth-child(2) {
  background: rgba(225, 192, 102, 0.07);
  color: #a58d58;
}

.risk-shapes span:last-child {
  background: rgba(107, 178, 156, 0.07);
  color: #6d9b8c;
}

.supply-workspace {
  display: grid;
  height: calc(100vh - 62px - 41px - 52px - 8px - 110px - 22px);
  min-height: 540px;
  grid-template-columns: minmax(0, 1.9fr) minmax(270px, 0.72fr);
  gap: 10px;
  margin-top: 10px;
}

.map-panel,
.inventory-panel,
.activity-panel {
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  background: rgba(12, 17, 14, 0.84);
}

.map-panel {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.map-head {
  display: flex;
  height: 59px;
  flex: 0 0 59px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.panel-kicker {
  color: #4c5851;
  font-family: var(--display);
  font-size: 6px;
  letter-spacing: 0.15em;
}

.map-head h2,
.side-head h2 {
  margin: 4px 0 0;
  color: #c9d1cb;
  font-size: 12px;
  font-weight: 500;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #626e67;
  font-size: 7px;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.legend-dot--green {
  background: #b6f262;
}

.legend-dot--amber {
  background: #e8bd67;
}

.legend-dot--red {
  background: #ff8a6a;
}

.map-legend button {
  height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: transparent;
  color: #77837c;
  font-size: 6px;
}

.world-map {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(119, 181, 87, 0.035), transparent 60%),
    #090e0b;
}

.world-map > svg {
  width: 100%;
  height: 100%;
}

.map-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.027);
  stroke-width: 1;
}

.map-land path {
  fill: url(#map-dots);
  stroke: rgba(106, 126, 114, 0.1);
  stroke-width: 1;
}

.map-land-map path {
  fill: rgba(71, 92, 78, 0.12);
}

.route {
  fill: none;
  stroke-linecap: round;
}

.route--main {
  stroke: url(#route-glow);
  stroke-width: 1.7;
  stroke-dasharray: 5 8;
  filter: url(#glow);
  animation: route-move 20s linear infinite;
}

.route--secondary {
  stroke: rgba(91, 190, 157, 0.35);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  animation: route-move 28s linear infinite reverse;
}

.route--warm {
  stroke: rgba(218, 176, 100, 0.23);
}

@keyframes route-move {
  to {
    stroke-dashoffset: -220;
  }
}

.node text {
  fill: #8c9b92;
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.node text.node-small {
  fill: #4f5e55;
  font-size: 5.5px;
  letter-spacing: 0.04em;
}

.node-halo {
  fill: rgba(182, 242, 98, 0.08);
  stroke: rgba(182, 242, 98, 0.3);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: map-node-pulse 2.8s ease-out infinite;
}

.node-core {
  fill: #b6f262;
  filter: url(#glow);
}

.node--amber .node-halo {
  fill: rgba(232, 189, 103, 0.08);
  stroke: rgba(232, 189, 103, 0.35);
}

.node--amber .node-core {
  fill: #e8bd67;
}

.node--red .node-halo {
  fill: rgba(255, 138, 106, 0.08);
  stroke: rgba(255, 138, 106, 0.4);
}

.node--red .node-core {
  fill: #ff8a6a;
}

.node--offline .node-core {
  fill: #53615a;
  filter: none;
}

@keyframes map-node-pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.ship-marker circle {
  fill: rgba(11, 22, 14, 0.94);
  stroke: #a9e966;
  stroke-width: 1;
}

.ship-marker path {
  fill: none;
  stroke: #b6f262;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-float {
  position: absolute;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(10, 15, 12, 0.84);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.map-float--shipments {
  top: 8%;
  left: 4%;
  width: 130px;
}

.map-float--shipments > span {
  color: #526058;
  font-family: var(--display);
  font-size: 5px;
  letter-spacing: 0.13em;
}

.map-float--shipments > strong {
  display: block;
  margin: 5px 0;
  color: #d9e2da;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
}

.map-float--shipments > div {
  display: flex;
  gap: 2px;
}

.map-float--shipments i {
  width: 10px;
  height: 2px;
  background: #304531;
}

.map-float--shipments i:nth-child(n + 5) {
  background: #b6f262;
}

.map-float--weather {
  right: 4%;
  bottom: 7%;
  width: 185px;
}

.map-float--weather > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.weather-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 7px;
  background: rgba(232, 189, 103, 0.08);
  color: #d6ad62;
  font-size: 16px;
}

.map-float--weather > div > span:last-child {
  display: flex;
  flex-direction: column;
}

.map-float--weather small {
  color: #5d6962;
  font-family: var(--display);
  font-size: 5px;
  letter-spacing: 0.1em;
}

.map-float--weather b {
  color: #b5bfb7;
  font-size: 9px;
  font-weight: 500;
}

.map-float--weather em {
  display: block;
  margin-top: 8px;
  color: #5a665f;
  font-size: 6px;
  font-style: normal;
}

.map-footer {
  display: flex;
  height: 39px;
  flex: 0 0 39px;
  align-items: center;
  gap: 21px;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #4f5b54;
  font-size: 6px;
}

.map-footer > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-beacon {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b6f262;
}

.map-footer__stats {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.map-footer__stats b {
  margin-left: 4px;
  color: #819086;
  font-weight: 500;
}

.supply-side {
  display: grid;
  min-height: 0;
  grid-template-rows: 1.08fr 0.92fr;
  gap: 10px;
}

.inventory-panel,
.activity-panel {
  min-height: 0;
  padding: 15px 16px;
}

.side-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.side-head > button {
  border: 0;
  background: transparent;
  color: #4c5851;
  font-size: 9px;
}

.health-gauge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0 16px;
}

.gauge-ring {
  position: relative;
  display: grid;
  width: 91px;
  height: 91px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#b6f262 0 87.4%, #1a221c 87.4% 100%);
}

.gauge-ring::before {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #0d120f;
  content: "";
}

.gauge-ring::after {
  position: absolute;
  inset: -4px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.gauge-ring span {
  position: relative;
  z-index: 2;
  color: #dbe4dc;
  font-family: var(--display);
  font-size: 20px;
}

.gauge-ring small {
  color: #78857d;
  font-size: 8px;
}

.gauge-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gauge-copy b {
  color: #b9c3bc;
  font-size: 10px;
  font-weight: 500;
}

.gauge-copy small {
  color: #70925e;
  font-size: 7px;
}

.inventory-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.inventory-bars > div {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  gap: 7px;
  align-items: center;
  color: #647168;
  font-size: 6px;
}

.inventory-bars > div > div {
  height: 3px;
  overflow: hidden;
  background: #1b231d;
}

.inventory-bars i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #4d7042, #b6f262);
}

.inventory-bars b {
  color: #7e8a82;
  font-family: var(--display);
  font-size: 6px;
  font-weight: 400;
  text-align: right;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #71846c;
  font-family: var(--display);
  font-size: 6px;
}

.live-label i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b6f262;
  box-shadow: 0 0 8px #b6f262;
}

.activity-list {
  margin-top: 9px;
}

.activity-list article {
  display: grid;
  min-height: 57px;
  grid-template-columns: 28px 1fr auto;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.activity-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 6px;
}

.activity-icon .icon {
  width: 12px;
  height: 12px;
}

.activity-icon--mint {
  background: rgba(77, 194, 158, 0.09);
  color: #5bc5a5;
}

.activity-icon--amber {
  background: rgba(232, 189, 103, 0.09);
  color: #c9a257;
}

.activity-icon--blue {
  background: rgba(104, 157, 211, 0.09);
  color: #729bca;
}

.activity-list article > div {
  display: flex;
  flex-direction: column;
}

.activity-list b {
  color: #aab5ad;
  font-size: 7.5px;
  font-weight: 500;
}

.activity-list span {
  color: #5d6961;
  font-size: 6px;
}

.activity-list small {
  color: #414d46;
  font-size: 5.5px;
}

.activity-list em {
  padding: 2px 4px;
  border-radius: 2px;
  background: rgba(111, 191, 141, 0.08);
  color: #679778;
  font-size: 5.5px;
  font-style: normal;
}

.activity-list em.is-warn {
  background: rgba(232, 189, 103, 0.08);
  color: #a68750;
}

.activity-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: #627068;
  font-size: 6px;
}
