:root {
  --paper: #f8fbfc;
  --ink: #152e3b;
  --muted: #506474;
  --green: #086d67;
  --line: #d6e3e8;
  background: var(--paper);
}
body {
  background: radial-gradient(85% 600px at 90% 0, #edf6fa 0, transparent 69%),
    linear-gradient(180deg, #fff 0, #f5f9fb 75%, #fff 100%);
}
#mast {
  border-bottom-color: #dbe7ec;
  background: rgba(255, 255, 255, 0.98);
}
.brand {
  color: #18394a;
}
.brand small {
  color: #51827f;
}
.saved-nav {
  background: #184a54;
}
.saved-nav b {
  background: #33626b;
}
.bar {
  min-height: 67px;
}
.hero {
  isolation: isolate;
  position: relative;
  min-height: 207px;
  color: #123343;
  border-color: #c6e1e4;
  background-color: #e7f6f7;
  background-image: linear-gradient(95deg, #f5fbf9 0%, #e6f4f4 42%, #d3ebf5 85%, #e3f3f3 100%);
}
.hero:before {
  inset: 0 -2% 0 28%;
  background-position: center 48%;
  background-size: cover;
  opacity: 0.98;
  animation: atlas-city-in 1.05s cubic-bezier(0.2, 0.65, 0.22, 1) both;
}
.hero:after {
  background: linear-gradient(
    90deg,
    #f1faf7 0%,
    #edf8f5 23%,
    rgba(234, 247, 246, 0.88) 35%,
    rgba(230, 246, 247, 0.12) 58%,
    transparent 85%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero h1 {
  font-size: clamp(32px, 3.25vw, 51px);
  letter-spacing: -0.07em;
  color: #133743;
}
.hero p {
  color: #405c68;
}
.eyebrow {
  color: #277a72;
  font-size: 10px;
  letter-spacing: 0.15em;
}
.eyebrow i {
  background: #159c8d;
  box-shadow: 0 0 0 3px #bbe7dd;
}
.hero-cap {
  color: #406371;
  background: #f2fbfbec;
  border: 1px solid #bed9db;
}
.hero-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 7px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 650;
  color: white;
  background: #175c65;
  box-shadow: 0 3px 7px #234f5722;
}
.hero-cta:hover {
  background: #0f4a55;
  text-decoration: none;
}
.city-beam {
  position: absolute;
  z-index: -1;
  left: 47%;
  right: 0;
  height: 2px;
  top: 19%;
  background: linear-gradient(90deg, transparent, #74d4d799, transparent);
  transform-origin: center;
  pointer-events: none;
  animation: cityscan 3.4s ease-in-out 1;
}
.city-pointer {
  display: flex;
  position: absolute;
  z-index: 2;
  left: 68.5%;
  top: 31%;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f9ffffe6;
  box-shadow: 0 2px 10px #1a5c6630;
  border: 1px solid #89b7bd;
  font: 650 10px ui-monospace, monospace;
  color: #24636b;
}
.city-pointer:after {
  content: '';
  position: absolute;
  left: 9px;
  top: 100%;
  height: 22px;
  width: 1px;
  background: #509697;
  transform: rotate(18deg);
  transform-origin: top;
}
.stat-icon {
  color: #147466;
  background: #dff2eb;
}
.tone1 {
  color: #2d698b;
  background: #e4f0f7;
}
.tone2 {
  color: #816325;
  background: #fbf0d7;
}
.tone3 {
  color: #706091;
  background: #f0eaf7;
}
.stat,
.panel,
.supplier-card,
.market-row,
.sector,
.route-card {
  box-shadow: 0 3px 14px #16354305;
}
.route-card .points {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.points a {
  padding: 3px 6px;
  background: #edf5f4;
  color: #234f58;
  border-radius: 4px;
}
.points span {
  color: #6a8690;
}
.num-box {
  background: #e2f1ec;
  color: #166e62;
}
.map-tabs {
  background: #edf3f4;
}
.kicker {
  color: #3c7478;
}
.workgrid .card-head {
  background: linear-gradient(110deg, #fff, #f7fbfc);
}
.detail-actions .primary,
.btn.primary {
  background: #175b62;
  border-color: #175b62;
}
.contact-line {
  background: #f3f7f7;
}
.contact-name {
  flex-shrink: 1;
}
.supplier-foot > details {
  min-width: 0;
  flex: 1;
}
.st-workbench .st-intro {
  padding: 20px 22px;
  border: 1px solid #cbe2e7;
  border-left: 4px solid #359a98;
  border-radius: 13px;
  background: linear-gradient(100deg, #f6fcfb, #e6f4f6 67%, #edf2fb);
}
.st-workbench .st-builder {
  border-top-color: #4eaaa7;
  background: linear-gradient(115deg, #fff 55%, #edf7f9);
}
.st-workbench .st-results > .st-card {
  animation: panel-in 0.38s cubic-bezier(0.2, 0.65, 0.25, 1) both;
}
.st-workbench .st-results > .st-card:nth-child(2) {
  animation-delay: 55ms;
}
.st-workbench .st-results > .st-card:nth-child(3) {
  animation-delay: 100ms;
}
.st-workbench .st-primary {
  background: #176a71;
  border-color: #176a71;
}
.px-view .px-intro,
.page-head {
  animation: panel-in 0.32s ease-out;
}
.stat,
.hero-cta,
.btn,
.route-card,
.sector,
.market-row,
.search-hit,
.st-chip {
  transition: transform 0.19s ease, box-shadow 0.19s ease, background-color 0.19s ease,
    border-color 0.19s ease;
}
.stat:hover,
.hero-cta:hover,
.route-card:hover,
.sector:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 17px #1c566713;
}
.point-heading {
  animation: point-in 0.24s ease-out;
}
main > section:first-child,
.workgrid,
.stats {
  animation: panel-in 0.44s ease-out both;
}
.workgrid {
  animation-delay: 0.07s;
}
.stats {
  animation-delay: 0.035s;
}
.stats .num {
  font-variant-numeric: tabular-nums;
}
.sources summary,
.sources p {
  overflow-wrap: anywhere;
}
.map-summary .map-date {
  color: #4f6c70;
}
.nav-tools > *:hover {
  box-shadow: 0 2px 8px #18445515;
}
.route-card b {
  font-weight: 720;
}
.field strong {
  color: #224b52;
}
@keyframes atlas-city-in {
  from {
    opacity: 0.3;
    transform: translate(9px, 6px) scale(1.024);
  }
  to {
    opacity: 0.98;
    transform: none;
  }
}
@keyframes cityscan {
  0%,
  100% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 0.75;
  }
  85% {
    opacity: 0.3;
    transform: translateY(140px);
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes point-in {
  from {
    opacity: 0.7;
    transform: translateX(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 920px) {
  .bar {
    gap: 13px;
  }
  #main-navigation {
    gap: 13px;
  }
  .hero {
    min-height: 175px;
  }
}
@media (max-width: 740px) {
  .bar {
    min-height: 0;
    gap: 0;
  }
  .hero {
    min-height: 157px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero p {
    max-width: min(85%, 320px);
  }
  .hero:before {
    inset: 0 -22% 0 23%;
    background-size: cover;
    opacity: 0.8;
  }
  .hero:after {
    background: linear-gradient(90deg, #f0faf7 0%, #eef9f7fb 17%, #eaf7f4b8 52%, #eaf7f420 100%);
  }
  .hero-cap {
    font-size: 8px;
  }
  .hero-cta {
    padding: 7px 9px;
    margin-top: 9px;
  }
  .city-pointer {
    display: none;
  }
  #main-navigation a {
    font-size: 12px;
  }
  .bar .nav-tools {
    margin-left: auto;
  }
  .map-summary .map-date {
    display: none;
  }
}
@media (max-width: 370px) {
  #main-navigation {
    gap: 4px;
  }
  #main-navigation a {
    font-size: 11px;
  }
  .hero {
    padding: 15px;
  }
  .map-summary {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .city-beam {
    display: none;
  }
}
.st-workbench .st-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.st-workbench .st-intro::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 0 48%;
  background: linear-gradient(90deg, #eaf7f500, transparent),
    url(./board-traces.svg) right center/auto 110% no-repeat;
  opacity: 0.78;
}
.st-workbench .st-local {
  background: #f8fdfc;
  border: 1px solid #bfd9d9;
}
.px-view .px-filters > .btn {
  align-self: end;
  font-size: 13px;
  min-height: 36px;
}
.px-view .px-filters > .btn:disabled {
  opacity: 0.48;
}
@media (max-width: 740px) {
  .st-workbench .st-intro::after {
    opacity: 0.27;
    inset: 0 0 0 36%;
  }
}
.map-summary .mobile-detail {
  display: none;
}
.details-panel:focus {
  outline: none;
}
.details-panel:focus-visible {
  outline: 2px solid #408c99;
  outline-offset: 2px;
}
@media (max-width: 740px) {
  .map-summary .mobile-detail {
    display: inline-flex;
    background: #edf5f5;
    border-radius: 5px;
    padding: 4px 6px;
    color: #135c67;
  }
  .map-summary,
  .map-summary button {
    font-size: 10px;
  }
  .map-panel,
  .details-panel {
    scroll-margin-top: 7px;
  }
}
.st-workbench .qv-wrap {
  gap: 0;
  border-color: #c9e2e2;
  background: #fff;
}
.qv-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}
.qv-title .st-local {
  white-space: nowrap;
}
.qv-title h2 {
  margin-bottom: 5px;
}
.qv-meter {
  height: 4px;
  background: #e9f0f2;
  border-radius: 5px;
  overflow: hidden;
  margin: 12px 0 4px;
}
.qv-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #3d8a9b, #78bbad);
  border-radius: 5px;
}
.qv-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.12fr) minmax(114px, 0.7fr) minmax(140px, 1.35fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e4edef;
}
.qv-row:last-child {
  border-bottom: 0;
}
.qv-part,
.qv-money,
.qv-channel {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.qv-part strong {
  font-size: 14px;
  color: #20414d;
}
.qv-part span,
.qv-row small {
  font-size: 12px;
  color: #4e6872;
}
.qv-money b {
  font: 700 15px ui-monospace, monospace;
  color: #174f63;
}
.qv-channel a {
  font-size: 12px;
}
.qv-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qv-actions a,
.qv-more summary {
  font-size: 12px;
}
.st-workbench .qv-pick {
  cursor: pointer;
  color: #126564;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 8px;
  background: #eff8f6;
  border: 1px solid #c7dfdc;
  border-radius: 5px;
}
.qv-more summary {
  padding: 7px 0;
  color: #2b6870;
  cursor: pointer;
  font-weight: 650;
}
@media (max-width: 740px) {
  .qv-title {
    display: block;
  }
  .qv-title .st-local {
    margin-top: 6px;
  }
  .qv-row {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 0.76fr);
    gap: 6px 10px;
  }
  .qv-money,
  .qv-actions {
    justify-self: end;
    text-align: right;
  }
  .qv-actions {
    flex-direction: column;
  }
  .qv-part span,
  .qv-channel a {
    font-size: 11px;
  }
  .qv-money b {
    font-size: 13px;
  }
  .qv-title p {
    font-size: 12px;
  }
}
.st-workbench .qv-compute {
  padding: 7px 9px;
  color: #375968;
  background: #eef6f8;
  border-radius: 5px;
  line-height: 1.5;
  font-size: 12px;
  margin: 4px 0;
}
