/* Generated by build_native_shell_assets.ps1; legacy content only. */

@scope (#vieter-content) {
:scope {
  --bg: #f3f1ea;
  --surface: #faf7f0;
  --ink: #17252f;
  --ink-soft: #36505e;
  --line: rgba(23, 37, 47, 0.18);
  --brand: #0f5c7d;
  --brand-strong: #0a445d;
  --accent: #c9782a;
  --accent-soft: #e6a45f;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 34, 45, 0.12);
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "IBM Plex Sans", "Be Vietnam Pro", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  position: relative;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0);
  opacity: 0.34;
}

.bg-orb-1 {
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(15, 92, 125, 0.4), rgba(15, 92, 125, 0));
  top: -12rem;
  left: -8rem;
}

.bg-orb-2 {
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(201, 120, 42, 0.34), rgba(201, 120, 42, 0));
  right: -8rem;
  top: 20%;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 37, 47, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 37, 47, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(250, 247, 240, 0.78);
  border-bottom: 1px solid rgba(23, 37, 47, 0.08);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Be Vietnam Pro", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-logo {
  width: auto;
  height: 2.05rem;
  object-fit: contain;
  display: block;
}

.brand-text {
  letter-spacing: 0.01em;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(23, 37, 47, 0.18);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.72);
}

.lang-btn {
  min-width: 2.05rem;
  height: 1.8rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  font-size: 0.93rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-more {
  position: relative;
}

.nav-more summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.93rem;
  padding-bottom: 0.2rem;
  user-select: none;
}

.nav-more summary::-webkit-details-marker {
  display: none;
}

.nav-more summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.08rem) rotate(45deg);
  transition: transform 0.22s ease;
}

.nav-more[open] summary::after {
  transform: translateY(0.08rem) rotate(225deg);
}

.nav-more-count {
  min-width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(15, 92, 125, 0.1);
  color: var(--brand-strong);
  font-size: 0.68rem;
  font-weight: 800;
}

.nav-more-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  z-index: 80;
  width: min(28rem, 88vw);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid rgba(23, 37, 47, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 46px rgba(15, 34, 45, 0.18);
  backdrop-filter: blur(12px);
}

.nav-more-panel a {
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.46rem 0.7rem;
  border-radius: 12px;
  font-weight: 700;
  background: rgba(15, 92, 125, 0.04);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.16rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after,
.nav-more.active summary::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-more summary::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.16rem;
  width: calc(100% - 1.55rem);
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: transform 0.28s ease;
}

.site-nav a.nav-disabled,
.footer-grid a.nav-disabled {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
}

.site-nav a.nav-disabled::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: var(--ink);
}

.btn {
  border: none;
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: "Be Vietnam Pro", sans-serif;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 68, 93, 0.24);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(15, 92, 125, 0.32);
  color: var(--brand-strong);
}

.section {
  padding: 4.8rem 0;
}

.hero {
  padding-top: 5.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.page-hero {
  padding-top: 5rem;
  padding-bottom: 3.2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  max-width: 16ch;
}

.lead {
  margin-top: 1.2rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-meta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-panel,
.metric-panel,
.card,
.stack-item,
.cta,
.map-surface {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 37, 47, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel,
.metric-panel,
.map-surface {
  padding: 1.4rem;
}

.hero-panel h2,
.metric-panel h2 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.22rem;
  margin-bottom: 0.9rem;
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero-panel li strong {
  color: var(--ink);
}

.mini-link {
  margin-top: 1rem;
  display: inline-block;
  color: var(--brand-strong);
  font-weight: 600;
}

.section-title {
  margin-bottom: 1.5rem;
}

h2 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.3rem;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 92, 125, 0.36);
}

.card h3,
.stack-item h3 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.08rem;
}

.card p,
.stack-item p,
.list-lines div,
.footer-grid p {
  margin-top: 0.55rem;
  color: var(--ink-soft);
}

.split {
  padding-top: 1rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metrics div {
  background: rgba(15, 92, 125, 0.07);
  border-radius: 12px;
  padding: 0.8rem;
}

.metrics strong {
  display: block;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.2rem;
  color: var(--brand-strong);
}

.metrics span {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack-item {
  padding: 1.2rem;
}

.list-lines {
  display: grid;
  gap: 0.55rem;
}

.list-lines div {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 92, 125, 0.07);
  font-size: 0.94rem;
}

.map-surface {
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-content: center;
  background:
    radial-gradient(circle at 18% 25%, rgba(15, 92, 125, 0.18), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(201, 120, 42, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.72);
}

.map-chip {
  padding: 0.85rem;
  border-radius: 999px;
  text-align: center;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 37, 47, 0.14);
}

.cta-section {
  padding-top: 1.2rem;
}

.cta {
  text-align: center;
  padding: 2.1rem 1.2rem;
  background:
    linear-gradient(140deg, rgba(15, 92, 125, 0.9), rgba(10, 68, 93, 0.88)),
    var(--brand);
  color: var(--white);
}

.cta p {
  margin: 0.8rem auto 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
}

.cta .btn {
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  color: #2b1a08;
}

.site-footer {
  border-top: 1px solid rgba(23, 37, 47, 0.1);
  margin-top: 3rem;
  padding: 2.4rem 0;
  background: rgba(250, 247, 240, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

.footer-grid h4 {
  font-family: "Be Vietnam Pro", sans-serif;
  margin-bottom: 0.8rem;
}

.footer-grid a {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 0.44rem;
}

.footer-contact {
  margin-top: 1rem;
  display: grid;
  gap: 0.42rem;
}

.footer-contact h4 {
  margin: 0;
}

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-contact-line > span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.footer-contact-line a,
.footer-contact-line > span:last-child {
  color: var(--brand-strong);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 0.75rem;
  }

  .site-nav a {
    font-size: 0.88rem;
  }

  .hero-grid,
  .split-grid,
  .cols-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 1rem 4vw 1.1rem;
    background: rgba(250, 247, 240, 0.97);
    border-bottom: 1px solid rgba(23, 37, 47, 0.1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-more {
    width: 100%;
  }

  .nav-more summary {
    width: 100%;
    justify-content: space-between;
  }

  .nav-more-panel {
    position: static;
    width: 100%;
    margin-top: 0.55rem;
    grid-template-columns: 1fr;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.58);
  }

  .nav-wrap > .btn-outline {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 4.8rem;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .lead {
    font-size: 0.99rem;
  }

  .hero-meta {
    gap: 0.6rem;
    font-size: 0.85rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-logo {
    height: 1.8rem;
  }
}

/* Data-driven sections */
.metrics-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.data-toolbar {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 37, 47, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.filter-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.filter-field {
  display: grid;
  gap: 0.35rem;
}

.filter-field label {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.form-input,
.form-select {
  width: 100%;
  height: 2.35rem;
  border: 1px solid rgba(23, 37, 47, 0.18);
  border-radius: 10px;
  padding: 0 0.7rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: rgba(15, 92, 125, 0.5);
  box-shadow: 0 0 0 3px rgba(15, 92, 125, 0.12);
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: end;
}

.data-status {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.data-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.data-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 37, 47, 0.11);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.data-card h3 {
  font-size: 1rem;
  font-family: "Be Vietnam Pro", sans-serif;
}

.data-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.data-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.56rem;
  font-size: 0.75rem;
  background: rgba(15, 92, 125, 0.1);
  border: 1px solid rgba(15, 92, 125, 0.18);
  color: var(--brand-strong);
}

.badge-soft {
  background: rgba(201, 120, 42, 0.1);
  border-color: rgba(201, 120, 42, 0.2);
  color: #7c4a18;
}

.line-list {
  display: grid;
  gap: 0.6rem;
}

.line-list div {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.58rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 92, 125, 0.07);
  font-size: 0.9rem;
}

.line-list b {
  font-family: "Be Vietnam Pro", sans-serif;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-btn {
  border: 1px solid rgba(23, 37, 47, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  font-size: 0.82rem;
  cursor: pointer;
}

.chip-btn.active {
  border-color: rgba(15, 92, 125, 0.4);
  background: rgba(15, 92, 125, 0.12);
  color: var(--brand-strong);
}

.pager {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.pager-info {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.empty-state {
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(23, 37, 47, 0.22);
  border-radius: 12px;
  padding: 1rem;
  color: var(--ink-soft);
  text-align: center;
}

.compact-note {
  font-size: 0.83rem;
  color: var(--ink-soft);
}

@media (max-width: 1080px) {
  .metrics-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .data-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .metrics-4,
  .filter-grid {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    width: 100%;
  }

  .filter-actions .btn {
    flex: 1;
  }
}

/* B2B marketplace visual refresh */
:scope {
  --bg: #f7f9f6;
  --surface: #ffffff;
  --surface-strong: #f0f6ef;
  --ink: #102238;
  --ink-soft: #52677d;
  --line: rgba(16, 34, 56, 0.14);
  --brand: #0c6a4d;
  --brand-strong: #074734;
  --accent: #ff7a1a;
  --accent-soft: #ffb067;
  --trade-blue: #155e9f;
  --success: #18a572;
  --shadow: 0 18px 44px rgba(21, 55, 82, 0.12);
}

body {
  background:
    radial-gradient(760px 360px at 8% 0%, rgba(24, 165, 114, 0.13), transparent 62%),
    radial-gradient(660px 320px at 92% 12%, rgba(255, 122, 26, 0.13), transparent 60%),
    linear-gradient(180deg, #fbfcf8 0%, #f2f7f2 48%, #f7f9f6 100%);
}

.bg-orb-1 {
  background: radial-gradient(circle, rgba(24, 165, 114, 0.28), rgba(24, 165, 114, 0));
}

.bg-orb-2 {
  background: radial-gradient(circle, rgba(255, 122, 26, 0.24), rgba(255, 122, 26, 0));
}

.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(16, 34, 56, 0.09);
  box-shadow: 0 10px 30px rgba(16, 34, 56, 0.05);
}

.brand {
  color: var(--ink);
}

.site-nav a {
  font-weight: 600;
}

.btn {
  background: linear-gradient(135deg, var(--brand), var(--success));
  box-shadow: 0 10px 22px rgba(12, 106, 77, 0.18);
}

.btn:hover {
  box-shadow: 0 12px 28px rgba(12, 106, 77, 0.25);
}

.btn-outline,
.btn-ghost {
  background: #fff;
  color: var(--brand-strong);
  border-color: rgba(12, 106, 77, 0.24);
  box-shadow: none;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #321704;
  box-shadow: 0 12px 24px rgba(255, 122, 26, 0.24);
}

.hero {
  padding-top: 4.7rem;
}

.hero-grid.market-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 1.35rem;
}

body[data-page="home"] .hero-grid.market-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.72fr);
  align-items: start;
}

.hero-copy {
  position: relative;
}

.hero-copy h1 {
  max-width: 18ch;
  letter-spacing: -0.045em;
}

.hero-market-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(12, 106, 77, 0.18);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-market-tag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(24, 165, 114, 0.14);
}

.trade-search {
  margin-top: 1.55rem;
  max-width: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  padding: 0.42rem;
  border: 1px solid rgba(12, 106, 77, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(17, 54, 79, 0.1);
}

.trade-search input {
  border: none;
  background: transparent;
  min-height: 2.9rem;
  padding: 0 0.8rem;
  color: var(--ink);
  font: inherit;
}

.trade-search input:focus {
  outline: none;
}

.home-intel-board {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.78fr);
  gap: 0.9rem;
  max-width: 1080px;
}

.home-map-shell {
  margin-top: 1rem;
}

.home-park-map-panel,
.home-rail-section {
  border: 1px solid rgba(16, 34, 56, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(17, 54, 79, 0.1);
  overflow: hidden;
}

.home-park-map-panel {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
}

.home-right-rail {
  margin-top: 2.72rem;
  min-height: 558px;
  display: grid;
  grid-template-rows: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 0.58rem;
}

.home-rail-section {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
}

.home-panel-head {
  min-height: 4rem;
  padding: 0.68rem 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(16, 34, 56, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 246, 0.86));
}

.home-panel-head span {
  display: block;
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-panel-head h2 {
  margin-top: 0.1rem;
  color: #102238;
  font-size: 1rem;
  line-height: 1.25;
}

.home-panel-head a {
  flex: 0 0 auto;
  border: 1px solid rgba(12, 106, 77, 0.18);
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  background: #ffffff;
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 900;
}

.home-park-map {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background:
    linear-gradient(rgba(16, 34, 56, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 34, 56, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 26%, rgba(255, 122, 26, 0.1), transparent 30%),
    linear-gradient(145deg, #edf6f0, #f8fcfb);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.home-leaflet-map {
  position: relative;
  min-height: 410px;
  background: #dcebe7;
  z-index: 1;
}

.home-leaflet-map .leaflet-control-zoom {
  border: none;
  box-shadow: 0 10px 20px rgba(12, 33, 54, 0.2);
}

.home-leaflet-map .leaflet-control-zoom a {
  border-radius: 8px;
  border: 1px solid #d3dfeb;
}

.home-leaflet-map .leaflet-interactive {
  outline: none;
}

.home-map-popup .map-park-popup-actions a {
  width: 100%;
}

.map-park-popup-shell .leaflet-popup-content-wrapper {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(13, 35, 54, 0.22);
}

.map-park-popup-shell .leaflet-popup-content {
  width: 286px !important;
  margin: 0;
}

.map-park-popup-shell .leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.96);
}

.map-park-popup {
  padding: 0.86rem;
}

.map-park-popup-kicker {
  color: #0c6a4d;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-park-popup h3 {
  margin: 0.16rem 0 0.32rem;
  color: #102238;
  font-size: 1rem;
  line-height: 1.25;
}

.map-park-popup p {
  margin: 0;
  color: #60758a;
  font-size: 0.8rem;
  line-height: 1.45;
}

.map-park-popup-metrics {
  margin-top: 0.58rem;
  display: grid;
  gap: 0.36rem;
}

.map-park-popup-metrics span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  background: #eef6f3;
  color: #60758a;
  font-size: 0.72rem;
}

.map-park-popup-metrics b {
  color: #102238;
}

.map-park-popup-actions {
  margin-top: 0.68rem;
}

.map-park-popup-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #123c5d, #166d6c);
  color: #f8fcff;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-vn-outline {
  position: absolute;
  inset: 8% 14% 8% 18%;
  border-radius: 58% 42% 55% 45% / 24% 34% 66% 76%;
  background:
    radial-gradient(circle at 62% 18%, rgba(12, 106, 77, 0.16), transparent 11%),
    radial-gradient(circle at 55% 38%, rgba(12, 106, 77, 0.18), transparent 13%),
    radial-gradient(circle at 44% 60%, rgba(12, 106, 77, 0.16), transparent 15%),
    radial-gradient(circle at 38% 82%, rgba(12, 106, 77, 0.15), transparent 14%),
    linear-gradient(170deg, rgba(12, 106, 77, 0.16), rgba(21, 94, 159, 0.08));
  box-shadow: inset 0 0 0 1px rgba(12, 106, 77, 0.14);
  transform: rotate(-7deg);
  opacity: 0.92;
}

.home-map-points {
  position: absolute;
  inset: 0;
}

.home-map-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0.62rem;
  height: 0.62rem;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #ff7a1a;
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.15), 0 7px 14px rgba(16, 34, 56, 0.22);
  transform: translate(-50%, -50%);
  animation: homeMapPulse 2.8s ease-in-out infinite;
  animation-delay: var(--d);
}

.home-map-point:nth-child(3n) {
  background: #0c6a4d;
  box-shadow: 0 0 0 4px rgba(12, 106, 77, 0.14), 0 7px 14px rgba(16, 34, 56, 0.2);
}

.home-map-point:nth-child(5n) {
  width: 0.74rem;
  height: 0.74rem;
  background: #155e9f;
  box-shadow: 0 0 0 4px rgba(21, 94, 159, 0.13), 0 7px 14px rgba(16, 34, 56, 0.2);
}

@keyframes homeMapPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.18);
  }
}

.home-map-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: rgba(255, 255, 255, 0.88);
  color: #60758a;
  font-size: 0.78rem;
  font-weight: 800;
}

.home-map-empty[hidden] {
  display: none;
}

.home-map-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.68rem;
  border-top: 1px solid rgba(16, 34, 56, 0.08);
  background: rgba(248, 252, 250, 0.92);
}

.home-map-metrics div {
  min-height: 3.6rem;
  border-radius: 12px;
  padding: 0.56rem;
  background: #102238;
  color: #fff;
}

.home-map-metrics strong {
  display: block;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.home-map-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.home-news-list,
.home-market-list {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
  padding: 0.56rem;
  min-height: 0;
}

.home-news-card,
.home-market-card {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 0.22rem;
  border: 1px solid rgba(16, 34, 56, 0.08);
  border-radius: 13px;
  padding: 0.54rem 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-news-card:hover,
.home-market-card:hover {
  transform: translateY(-1px);
  border-color: rgba(12, 106, 77, 0.24);
  box-shadow: 0 12px 22px rgba(16, 34, 56, 0.1);
}

.home-news-card span,
.home-market-card span {
  color: #0c6a4d;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-news-card h3,
.home-market-card h3 {
  color: #102238;
  font-size: 0.84rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-card p,
.home-market-card p {
  color: #60758a;
  font-size: 0.74rem;
  line-height: 1.36;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-card.is-featured,
.home-market-card.is-featured {
  background:
    radial-gradient(circle at 96% 10%, rgba(255, 122, 26, 0.11), transparent 36%),
    #ffffff;
}

.home-market-card span {
  color: #155e9f;
}

.hero-meta.trade-meta {
  gap: 0.55rem;
}

.hero-meta.trade-meta span {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 999px;
  padding: 0.34rem 0.64rem;
  background: rgba(255, 255, 255, 0.72);
  color: #30495e;
  font-weight: 700;
}

.market-terminal {
  position: relative;
  border: 1px solid rgba(16, 34, 56, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(239, 248, 243, 0.92)),
    radial-gradient(circle at 20% 10%, rgba(24, 165, 114, 0.16), transparent 34%);
  box-shadow: 0 28px 70px rgba(24, 62, 88, 0.18);
  padding: 1rem;
  overflow: hidden;
}

.market-terminal::before {
  content: "";
  position: absolute;
  inset: -35% -10% auto auto;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: rgba(255, 122, 26, 0.13);
}

.terminal-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem 0.9rem;
}

.terminal-head strong {
  font-family: "Be Vietnam Pro", sans-serif;
}

.terminal-live {
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
  background: rgba(24, 165, 114, 0.12);
  color: var(--brand-strong);
  font-size: 0.74rem;
  font-weight: 800;
}

.deal-flow {
  position: relative;
  display: grid;
  gap: 0.65rem;
}

.deal-card {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 18px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(16, 34, 56, 0.08);
}

.deal-card h3 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1rem;
}

.deal-card p {
  margin-top: 0.32rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.deal-meta {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.deal-meta span {
  border-radius: 999px;
  padding: 0.22rem 0.52rem;
  background: rgba(21, 94, 159, 0.08);
  color: #1c4f7b;
  font-size: 0.74rem;
  font-weight: 700;
}

.market-stats-bar {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.market-stats-bar div {
  border-radius: 16px;
  padding: 0.78rem;
  background: #102238;
  color: #fff;
}

.market-stats-bar strong {
  display: block;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.15rem;
}

.market-stats-bar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.card,
.hero-panel,
.metric-panel,
.stack-item,
.cta,
.map-surface,
.data-toolbar,
.data-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(16, 34, 56, 0.1);
}

.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: rgba(12, 106, 77, 0.28);
  box-shadow: 0 18px 44px rgba(24, 62, 88, 0.14);
}

.card-kicker {
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card-link {
  margin-top: 1rem;
  display: inline-flex;
  color: var(--brand-strong);
  font-weight: 800;
}

.home-service-card {
  min-height: 15rem;
  display: grid;
  align-content: start;
}

.home-service-card h3,
.home-service-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-service-card h3 {
  -webkit-line-clamp: 2;
}

.home-service-card p {
  -webkit-line-clamp: 3;
}

.home-service-section {
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

.home-tools-section {
  padding-top: 0;
}

.home-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-tool-card {
  min-height: 11rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(23, 37, 47, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(15, 37, 53, 0.08);
  color: var(--ink);
}

.home-tool-card span {
  width: fit-content;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 154, 111, 0.1);
  color: var(--brand-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.home-tool-card h3 {
  font-size: 1.06rem;
  line-height: 1.35;
}

.home-tool-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

.market-lane {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 24px;
  padding: 1rem;
  background:
    radial-gradient(circle at 14% 0%, rgba(24, 165, 114, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.market-lane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
}

.market-lane article {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 18px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
}

.market-lane h3 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.05rem;
}

.market-lane p {
  margin-top: 0.45rem;
  color: var(--ink-soft);
}

.cta {
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 122, 26, 0.26), transparent 34%),
    linear-gradient(140deg, #063a2c, #0c6a4d 58%, #155e9f);
}

@media (max-width: 1080px) {
  .hero-grid.market-hero,
  .home-intel-board,
  .market-lane-grid {
    grid-template-columns: 1fr;
  }

  .market-terminal {
    max-width: 720px;
  }

  .home-intel-board {
    max-width: 760px;
  }

  body[data-page="home"] .hero-grid.market-hero {
    grid-template-columns: 1fr;
  }

  .home-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-right-rail {
    margin-top: 0;
    max-width: 760px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .trade-search {
    grid-template-columns: 1fr;
  }

  .home-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-park-map {
    min-height: 240px;
  }

  .home-leaflet-map {
    min-height: 310px;
  }

  .home-map-metrics {
    grid-template-columns: 1fr;
  }

  .home-news-list {
    grid-template-rows: none;
  }

  .home-market-list {
    grid-template-rows: none;
  }

  .home-tools-grid {
    grid-template-columns: 1fr;
  }

  .home-tool-card {
    min-height: 0;
  }

  .market-stats-bar {
    grid-template-columns: 1fr;
  }
}

/* Section console pattern for B2B content pages */
.section-console {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(24, 165, 114, 0.12), transparent 36%),
    radial-gradient(circle at 86% 100%, rgba(255, 122, 26, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 48px rgba(21, 55, 82, 0.11);
  overflow: hidden;
}

.section-console-head {
  padding: 1.2rem 1.2rem 1rem;
  border-bottom: 1px solid rgba(16, 34, 56, 0.09);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.section-console-head h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.18;
}

.section-console-head p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.console-head-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.kpi-row {
  padding: 1rem 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  border-bottom: 1px solid rgba(16, 34, 56, 0.08);
  background: rgba(246, 250, 247, 0.82);
}

.kpi-item {
  border: 1px solid rgba(16, 34, 56, 0.09);
  border-radius: 12px;
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.92);
}

.kpi-item strong {
  display: block;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 1.2rem;
  color: var(--brand-strong);
}

.kpi-item span {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.console-main-grid {
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 0.9rem;
}

.console-feed-panel,
.console-side-panel {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.9rem;
}

.console-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.console-tab {
  border: 1px solid rgba(16, 34, 56, 0.14);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  background: rgba(255, 255, 255, 0.9);
  color: #38556c;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.console-tab.active {
  background: linear-gradient(135deg, var(--brand), var(--success));
  color: #fff;
  border-color: transparent;
}

.tab-count {
  margin-left: 0.28rem;
  padding: 0.05rem 0.34rem;
  border-radius: 999px;
  background: rgba(16, 34, 56, 0.08);
  font-size: 0.68rem;
}

.console-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.feed-list {
  display: grid;
  gap: 0.55rem;
}

.feed-card {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 12px;
  padding: 0.76rem;
  background: rgba(255, 255, 255, 0.93);
}

.feed-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.feed-card p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.feed-meta {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.feed-meta span {
  border: 1px solid rgba(16, 34, 56, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  background: rgba(243, 248, 246, 0.86);
  color: #345371;
  font-weight: 700;
}

.feed-detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  border: 1px solid rgba(15, 92, 125, 0.24);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  background: linear-gradient(135deg, rgba(15, 92, 125, 0.1), rgba(201, 120, 42, 0.1));
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.feed-detail-link:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 92, 125, 0.42);
  background: rgba(15, 92, 125, 0.12);
}

.mini-lines {
  display: grid;
  gap: 0.42rem;
}

.mini-lines div {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid rgba(16, 34, 56, 0.08);
  border-radius: 10px;
  background: rgba(247, 250, 252, 0.82);
  padding: 0.46rem 0.58rem;
  font-size: 0.82rem;
}

.service-category-line {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid rgba(16, 34, 56, 0.08);
  border-radius: 10px;
  background: rgba(247, 250, 252, 0.82);
  color: var(--ink);
  padding: 0.46rem 0.58rem;
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  cursor: pointer;
}

.service-category-line:hover,
.service-category-line.active {
  border-color: rgba(15, 92, 125, 0.34);
  background: rgba(15, 92, 125, 0.08);
}

.service-category-line span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-category-line b {
  color: var(--brand-strong);
}

.mini-lines b {
  font-family: "Be Vietnam Pro", sans-serif;
}

.ops-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ops-card {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.85rem;
}

.ops-card h3 {
  font-size: 1rem;
}

.ops-card p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.87rem;
}

.ops-card .card-link {
  margin-top: 0.65rem;
}

.tool-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tool-box {
  border: 1px solid rgba(16, 34, 56, 0.1);
  border-radius: 14px;
  padding: 0.84rem;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 0.55rem;
}

.tool-box h3 {
  font-size: 1rem;
}

.tool-box p {
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.tool-fields {
  display: grid;
  gap: 0.45rem;
}

.tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 0.6fr);
  gap: 0.4rem;
}

.tool-output {
  border: 1px solid rgba(12, 106, 77, 0.2);
  border-radius: 10px;
  padding: 0.48rem 0.58rem;
  background: rgba(12, 106, 77, 0.06);
  color: #0e4a36;
  font-size: 0.84rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .kpi-row,
  .ops-grid,
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-console-head,
  .kpi-row,
  .console-main-grid {
    padding-left: 0.86rem;
    padding-right: 0.86rem;
  }

  .kpi-row,
  .ops-grid,
  .tool-grid,
  .tool-row {
    grid-template-columns: 1fr;
  }
}

/* Page-specific layout variations to avoid a uniform 3-column look */
body[data-page="news-insights"] .deal-flow {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

body[data-page="news-insights"] .deal-flow .deal-card:first-child {
  grid-row: span 2;
  min-height: 240px;
}

body[data-page="news-insights"] .console-main-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
}

body[data-page="news-insights"] .ops-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr) minmax(0, 0.9fr);
}

body[data-page="news-insights"] .ops-grid .ops-card:first-child {
  grid-row: span 2;
}

body[data-page="enterprise-services"] .deal-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="enterprise-services"] .deal-flow .deal-card:first-child {
  grid-column: span 2;
}

body[data-page="enterprise-services"] .console-main-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

body[data-page="enterprise-services"] .ops-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
}

body[data-page="mro"] .deal-flow {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

body[data-page="mro"] .deal-flow .deal-card:nth-child(3) {
  grid-column: span 2;
}

body[data-page="mro"] .console-main-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

body[data-page="mro"] .ops-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
}

body[data-page="tools"] .hero-grid.market-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
}

body[data-page="tools"] .tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="tools"] .tool-box:nth-child(1),
body[data-page="tools"] .tool-box:nth-child(4) {
  grid-column: span 2;
}

body.workspace-page[data-page="global-market"] .workspace-report-grid {
  grid-template-columns: minmax(300px, 0.84fr) minmax(760px, 1.9fr) minmax(360px, 0.92fr);
}

body.workspace-page[data-page="global-market"] .workspace-panel:nth-child(2) .panel-body {
  display: grid;
  gap: 1rem;
}

body.workspace-page[data-page="global-market"] .workspace-panel:nth-child(2) .panel-block:last-child .workspace-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  body[data-page="news-insights"] .deal-flow,
  body[data-page="enterprise-services"] .deal-flow,
  body[data-page="mro"] .deal-flow,
  body[data-page="tools"] .tool-grid,
  body[data-page="news-insights"] .ops-grid,
  body[data-page="enterprise-services"] .ops-grid,
  body[data-page="mro"] .ops-grid,
  body[data-page="news-insights"] .console-main-grid,
  body[data-page="enterprise-services"] .console-main-grid,
  body[data-page="mro"] .console-main-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="news-insights"] .deal-flow .deal-card:first-child,
  body[data-page="enterprise-services"] .deal-flow .deal-card:first-child,
  body[data-page="mro"] .deal-flow .deal-card:nth-child(3),
  body[data-page="tools"] .tool-box:nth-child(1),
  body[data-page="tools"] .tool-box:nth-child(4),
  body[data-page="news-insights"] .ops-grid .ops-card:first-child {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  body.workspace-page[data-page="global-market"] .workspace-report-grid {
    grid-template-columns: 1fr;
  }

  body.workspace-page[data-page="global-market"] .workspace-panel:nth-child(2) .panel-block:last-child .workspace-list {
    grid-template-columns: 1fr;
  }
}

}

@scope (#vieter-content) {
:scope {
  --sci-ink: #132b4f;
  --sci-text: #263d58;
  --sci-muted: #6f8093;
  --sci-line: #dbe6f0;
  --sci-paper: #f4f7fb;
  --sci-panel: #ffffff;
  --sci-blue: #0b6fbd;
  --sci-teal: #119887;
  --sci-orange: #cf7427;
  --sci-red: #c9534b;
}

body[data-page="industry-insight"] { background: var(--sci-paper); color: var(--sci-text); }
.sci-main { position: relative; z-index: 1; padding: 18px 0 58px; font-family: "IBM Plex Sans", "Be Vietnam Pro", sans-serif; }
.sci-main .container { max-width: 1500px; }
.sci-subnav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 13px 16px; margin-bottom: 14px; background: #fff; border: 1px solid var(--sci-line); border-radius: 10px; box-shadow: 0 8px 22px rgba(28, 55, 86, .05); }
.sci-subnav strong { margin-right: 14px; color: var(--sci-ink); font-size: 15px; }
.sci-subnav a { padding: 7px 10px; border-bottom: 2px solid transparent; color: #536a82; font-size: 13px; font-weight: 700; }
.sci-subnav a:hover, .sci-subnav a.active { color: var(--sci-blue); border-color: var(--sci-blue); text-decoration: none; }

.sci-hero { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(370px, .78fr); gap: 18px; min-height: 470px; margin-bottom: 18px; }
.sci-hero-copy { position: relative; overflow: hidden; padding: 54px 54px 42px; border: 1px solid var(--sci-line); border-radius: 14px; background-color: #fff; background-image: linear-gradient(#e8eff6 1px, transparent 1px), linear-gradient(90deg, #e8eff6 1px, transparent 1px); background-size: 48px 48px; }
.sci-hero-copy::after { content: "VN"; position: absolute; right: 24px; bottom: -50px; color: rgba(11, 111, 189, .055); font: 800 220px/1 "IBM Plex Mono", monospace; letter-spacing: -22px; pointer-events: none; }
.sci-eyebrow { margin: 0 0 10px; color: var(--sci-blue); font: 600 11px/1.4 "IBM Plex Mono", monospace; letter-spacing: 2px; text-transform: uppercase; }
.sci-hero h1 { position: relative; z-index: 1; margin: 0; max-width: 760px; color: var(--sci-ink); font-size: clamp(42px, 5.1vw, 76px); line-height: .98; letter-spacing: -3px; }
.sci-hero h1 span { color: var(--sci-blue); }
.sci-lead { position: relative; z-index: 1; max-width: 760px; margin: 24px 0 0; color: #566c83; font-size: 16px; line-height: 1.85; }
.sci-hero-actions { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 26px; }
.sci-source-note { position: relative; z-index: 1; margin: 24px 0 0; padding-top: 15px; border-top: 1px solid var(--sci-line); color: var(--sci-muted); font-size: 11px; }
.sci-hero-console { padding: 24px; border: 1px solid #214c72; border-radius: 14px; background: #122e4c; color: #fff; box-shadow: 0 20px 44px rgba(12, 37, 63, .16); }
.sci-console-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.13); font: 600 11px "IBM Plex Mono", monospace; letter-spacing: 1.4px; }
.sci-console-head b { color: #79e1cf; font-weight: 600; }
.sci-console-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 18px; border-top: 1px solid rgba(255,255,255,.13); border-left: 1px solid rgba(255,255,255,.13); }
.sci-console-grid > div { min-height: 120px; padding: 18px; border-right: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }
.sci-console-grid span, .sci-console-grid small { display: block; color: rgba(255,255,255,.58); }
.sci-console-grid span { font-size: 12px; }
.sci-console-grid strong { display: block; margin: 12px 0 5px; font: 600 30px "IBM Plex Mono", monospace; }
.sci-console-grid small { font: 500 9px "IBM Plex Mono", monospace; letter-spacing: 1px; }
.sci-coverage { margin-top: 20px; }
.sci-coverage > div:first-child { display: flex; justify-content: space-between; font-size: 12px; }
.sci-coverage p { margin: 9px 0 0; color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.5; }
.sci-meter { height: 6px; margin-top: 10px; overflow: hidden; background: rgba(255,255,255,.11); }
.sci-meter i { display: block; width: 0; height: 100%; background: #55d5bd; transition: width .5s ease; }

.sci-intel-grid, .sci-bottom-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-bottom: 26px; }
.sci-panel { border: 1px solid var(--sci-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(28, 55, 86, .04); }
.sci-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 17px; border-bottom: 1px solid var(--sci-line); }
.sci-panel-head h2 { margin: 0 0 5px; color: var(--sci-ink); font-size: 20px; }
.sci-panel-head span { color: var(--sci-muted); font-size: 12px; }
.sci-panel-head > b { color: var(--sci-blue); font: 600 18px "IBM Plex Mono", monospace; }
.sci-panel-head > a { color: var(--sci-blue); font-size: 12px; font-weight: 700; }
.sci-bars { padding: 18px 24px; }
.sci-bar { display: grid; grid-template-columns: 122px minmax(100px, 1fr) 56px; align-items: center; gap: 12px; margin: 11px 0; }
.sci-bar-label { display: flex; align-items: center; gap: 9px; color: #40566d; font-size: 12px; }
.sci-bar-code { width: 28px; color: var(--sci-blue); font: 600 11px "IBM Plex Mono", monospace; }
.sci-bar-track { height: 8px; background: #edf2f7; }
.sci-bar-track i { display: block; height: 100%; background: var(--sci-blue); }
.sci-bar:nth-child(2n) .sci-bar-track i { background: #4a89b8; }
.sci-bar b { text-align: right; color: var(--sci-ink); font: 600 12px "IBM Plex Mono", monospace; }
.sci-panel-foot { display: flex; justify-content: space-between; gap: 18px; padding: 14px 24px; border-top: 1px solid var(--sci-line); color: var(--sci-muted); font-size: 11px; }
.sci-city-list { padding: 12px 24px 20px; }
.sci-city-row { display: grid; grid-template-columns: 28px minmax(120px, .75fr) minmax(100px, 1fr) 55px; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf2f6; }
.sci-city-row:last-child { border-bottom: 0; }
.sci-city-row em { color: #9aabbc; font: normal 10px "IBM Plex Mono", monospace; }
.sci-city-row span { font-size: 12px; }
.sci-city-row i { height: 5px; background: #d6e8f4; }
.sci-city-row b { text-align: right; color: var(--sci-ink); font: 600 11px "IBM Plex Mono", monospace; }

.sci-industry, .sci-opportunity { margin-top: 30px; }
.sci-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 15px; }
.sci-section-head h2 { margin: 0; color: var(--sci-ink); font-size: 27px; letter-spacing: -.5px; }
.sci-section-head > p { max-width: 560px; margin: 0; color: var(--sci-muted); font-size: 12px; text-align: right; }
.sci-industry-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 9px; }
.sci-industry-tab { padding: 15px 16px; border: 1px solid var(--sci-line); border-bottom: 3px solid transparent; border-radius: 9px 9px 4px 4px; background: #fff; color: #52687e; text-align: left; cursor: pointer; }
.sci-industry-tab b, .sci-industry-tab span { display: block; }
.sci-industry-tab b { color: var(--sci-ink); font-size: 14px; }
.sci-industry-tab span { margin-top: 4px; color: var(--sci-muted); font: 500 10px "IBM Plex Mono", monospace; }
.sci-industry-tab.active { border-color: #b8d5e9; border-bottom-color: var(--sci-blue); background: #eef7fd; color: var(--sci-blue); }
.sci-chain-board { overflow: hidden; border: 1px solid var(--sci-line); border-radius: 12px; background: #fff; }
.sci-chain-head { display: flex; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--sci-line); background: #f9fbfd; }
.sci-chain-head > div:first-child { display: flex; align-items: center; gap: 12px; }
.sci-chain-head > div:first-child > span { padding: 7px 9px; background: var(--sci-ink); color: #fff; font: 600 11px "IBM Plex Mono", monospace; }
.sci-chain-head h3 { margin: 0; color: var(--sci-ink); font-size: 20px; }
.sci-chain-stat { text-align: right; }
.sci-chain-stat b, .sci-chain-stat span { display: block; }
.sci-chain-stat b { color: var(--sci-blue); font: 600 22px "IBM Plex Mono", monospace; }
.sci-chain-stat span { color: var(--sci-muted); font-size: 10px; }
.sci-chain-flow { display: grid; grid-template-columns: repeat(4, 1fr); padding: 20px; gap: 10px; }
.sci-stage { position: relative; min-width: 0; padding: 16px; border: 1px solid var(--sci-line); border-top: 4px solid var(--stage-color); border-radius: 9px; background: #fff; }
.sci-stage:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -16px; top: 47px; width: 22px; height: 22px; border: 1px solid var(--sci-line); border-radius: 50%; background: #fff; color: var(--sci-blue); font-weight: 800; line-height: 20px; text-align: center; }
.sci-stage-index { color: var(--stage-color); font: 600 10px "IBM Plex Mono", monospace; letter-spacing: 1px; }
.sci-stage h4 { min-height: 42px; margin: 8px 0 12px; color: var(--sci-ink); font-size: 15px; }
.sci-stage-items { display: grid; gap: 6px; }
.sci-stage-items a { display: block; padding: 8px 9px; border: 1px solid #e5edf4; background: #f8fafc; color: #40566e; font-size: 11px; line-height: 1.4; }
.sci-stage-items a:hover { border-color: var(--stage-color); background: #fff; color: var(--sci-blue); text-decoration: none; }
.sci-chain-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; border-top: 1px solid var(--sci-line); background: #f9fbfd; }
.sci-chain-actions p { margin: 0; color: var(--sci-muted); font-size: 11px; }

.sci-signal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sci-signal { min-height: 210px; padding: 20px; border: 1px solid var(--sci-line); border-top: 4px solid var(--signal); border-radius: 10px; background: #fff; }
.sci-signal > span { color: var(--signal); font: 600 10px "IBM Plex Mono", monospace; letter-spacing: 1.2px; }
.sci-signal strong { display: block; margin: 22px 0 7px; color: var(--sci-ink); font: 600 30px "IBM Plex Mono", monospace; }
.sci-signal h3 { margin: 0 0 9px; color: var(--sci-ink); font-size: 15px; }
.sci-signal p { margin: 0; color: var(--sci-muted); font-size: 11px; line-height: 1.6; }
.sci-signal small { display: block; margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--sci-line); color: #8b9bab; font-size: 9px; }
.sci-bottom-grid { margin-top: 28px; }
.sci-evidence-list { padding: 8px 24px 18px; }
.sci-evidence-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 70px; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf2f6; }
.sci-evidence-row:last-child { border-bottom: 0; }
.sci-evidence-row b { display: block; overflow: hidden; color: var(--sci-ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sci-evidence-row span { color: var(--sci-muted); font: 500 10px "IBM Plex Mono", monospace; }
.sci-evidence-row em { color: var(--sci-blue); font: normal 600 11px "IBM Plex Mono", monospace; text-align: right; }
.sci-action-list { display: grid; }
.sci-action-list a { position: relative; display: block; min-height: 82px; padding: 17px 70px 17px 22px; border-bottom: 1px solid var(--sci-line); color: var(--sci-text); }
.sci-action-list a:last-child { border-bottom: 0; }
.sci-action-list a:hover { background: #f4f9fc; text-decoration: none; }
.sci-action-list b, .sci-action-list span { display: block; }
.sci-action-list b { color: var(--sci-ink); font-size: 14px; }
.sci-action-list span { margin-top: 5px; color: var(--sci-muted); font-size: 11px; }
.sci-action-list em { position: absolute; top: 20px; right: 22px; color: #b2c2d0; font: normal 600 13px "IBM Plex Mono", monospace; }
.sci-methodology { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px 24px; border: 1px solid #b8d3e7; border-left: 5px solid var(--sci-blue); background: #eef7fd; }
.sci-methodology b { color: var(--sci-ink); }
.sci-methodology p { margin: 0; color: #526980; font-size: 11px; line-height: 1.65; }
.sci-methodology a { color: var(--sci-blue); font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) {
  .sci-hero, .sci-intel-grid, .sci-bottom-grid { grid-template-columns: 1fr; }
  .sci-chain-flow { grid-template-columns: repeat(2, 1fr); }
  .sci-stage:not(:last-child)::after { display: none; }
  .sci-signal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sci-main { padding-top: 8px; }
  .sci-subnav { flex-wrap: nowrap; overflow-x: auto; }
  .sci-subnav strong, .sci-subnav a { flex: 0 0 auto; }
  .sci-hero { min-height: 0; }
  .sci-hero-copy { padding: 34px 24px; }
  .sci-hero h1 { font-size: 44px; letter-spacing: -2px; }
  .sci-hero-console { padding: 18px; }
  .sci-console-grid > div { min-height: 100px; padding: 14px; }
  .sci-console-grid strong { font-size: 24px; }
  .sci-section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sci-section-head > p { text-align: left; }
  .sci-industry-tabs { grid-template-columns: repeat(2, 1fr); }
  .sci-chain-flow, .sci-signal-grid { grid-template-columns: 1fr; }
  .sci-chain-head, .sci-chain-actions { align-items: flex-start; flex-direction: column; }
  .sci-chain-stat { text-align: left; }
  .sci-bar { grid-template-columns: 100px minmax(70px, 1fr) 45px; }
  .sci-methodology { grid-template-columns: 1fr; gap: 8px; }
}

/* 2026-08-06: linked chain / map / company workbench */
.sci-command { display: grid; grid-template-columns: minmax(0,1fr) minmax(620px,.95fr); align-items: stretch; margin-bottom: 12px; overflow: hidden; border: 1px solid #173d5f; border-radius: 13px; background: #102b47; color: #fff; box-shadow: 0 18px 42px rgba(13,41,68,.14); }
.sci-command-copy { padding: 27px 30px 25px; background-image: linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px); background-size: 36px 36px; }
.sci-command-copy .sci-eyebrow { color: #66dfd0; }
.sci-command h1 { margin: 0; color: #fff; font-size: clamp(28px,3vw,44px); letter-spacing: -1.5px; }
.sci-command-copy > p:last-child { max-width: 720px; margin: 12px 0 0; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.65; }
.sci-command-stats { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid rgba(255,255,255,.12); }
.sci-command-stats > div { display: flex; min-width: 0; padding: 20px 16px; border-right: 1px solid rgba(255,255,255,.1); flex-direction: column; justify-content: center; }
.sci-command-stats > div:last-child { border-right: 0; }
.sci-command-stats span,.sci-command-stats small { display: block; color: rgba(255,255,255,.55); }
.sci-command-stats span { font-size: 11px; }
.sci-command-stats strong { display: block; margin: 8px 0 4px; color: #fff; font: 600 24px "IBM Plex Mono",monospace; }
.sci-command-stats small { overflow: hidden; font: 500 8px "IBM Plex Mono",monospace; letter-spacing: .5px; text-overflow: ellipsis; white-space: nowrap; }

.sci-workbench { margin-bottom: 30px; overflow: hidden; border: 1px solid #cddbe7; border-radius: 13px; background: #e7eef4; box-shadow: 0 14px 38px rgba(17,48,77,.08); }
.sci-workbench-head { display: flex; min-height: 76px; padding: 10px 15px; border-bottom: 1px solid #c7d6e2; background: #f7fafc; align-items: center; justify-content: space-between; gap: 18px; }
.sci-workbench-head > div:first-child { display: flex; min-width: 0; align-items: center; gap: 13px; }
.sci-workbench-head > div:first-child > span { color: #7890a5; font: 600 9px "IBM Plex Mono",monospace; letter-spacing: 1.3px; }
.sci-workbench .sci-industry-tabs { display: flex; gap: 6px; margin: 0; }
.sci-workbench .sci-industry-tab { display: flex; min-width: 150px; padding: 10px 12px; border: 1px solid #d5e0e9; border-radius: 7px; background: #fff; align-items: center; justify-content: space-between; gap: 12px; }
.sci-workbench .sci-industry-tab b { font-size: 12px; }
.sci-workbench .sci-industry-tab span { margin: 0; color: #70869a; font: 600 10px "IBM Plex Mono",monospace; }
.sci-workbench .sci-industry-tab.active { border-color: #0b7899; background: #e8f5f7; box-shadow: inset 0 -2px #0b7899; }
.sci-workbench-scope { display: grid; flex: 0 0 auto; grid-template-columns: auto auto; align-items: center; column-gap: 8px; }
.sci-workbench-scope b { color: #0b6fbd; font: 600 20px "IBM Plex Mono",monospace; }
.sci-workbench-scope span { color: #6d8295; font-size: 10px; }
.sci-workbench-scope a { grid-column: 1/3; margin-top: 2px; color: #0b6fbd; font-size: 10px; font-weight: 700; }
.sci-workbench-grid { display: grid; min-height: 720px; grid-template-columns: 315px minmax(500px,1fr) 370px; gap: 1px; background: #c7d6e2; }
.sci-work-panel { position: relative; display: flex; min-width: 0; overflow: hidden; background: #fff; flex-direction: column; }
.sci-work-panel > header { display: flex; min-height: 75px; padding: 16px 18px 13px; border-bottom: 1px solid #dce6ee; background: #f9fbfd; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sci-work-panel > header .sci-eyebrow { margin-bottom: 4px; font-size: 8px; letter-spacing: 1.4px; }
.sci-work-panel > header h2 { margin: 0; color: #142d49; font-size: 17px; }
.sci-chain-panel > header > span { margin-top: 16px; padding: 4px 6px; background: #142d49; color: #fff; font: 600 9px "IBM Plex Mono",monospace; }

.sci-chain-vertical { flex: 1; padding: 11px; overflow-y: auto; background: #f3f7fa; }
.sci-chain-step { margin-bottom: 8px; overflow: hidden; border: 1px solid #d8e3eb; border-radius: 8px; background: #fff; transition: border-color .18s,box-shadow .18s; }
.sci-chain-step.active { border-color: #0c8a9b; box-shadow: 0 5px 16px rgba(9,111,137,.1); }
.sci-chain-step-head { display: grid; width: 100%; padding: 12px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; grid-template-columns: 28px minmax(0,1fr) 15px; gap: 8px; }
.sci-chain-step-head > span { color: #0b7899; font: 600 10px "IBM Plex Mono",monospace; }
.sci-chain-step-head h3 { margin: 0; color: #17334f; font-size: 12px; }
.sci-chain-step-head p { margin: 4px 0 0; color: #7a8d9f; font-size: 9px; line-height: 1.45; }
.sci-chain-step-head em { color: #9badbd; font-style: normal; }
.sci-chain-step.active .sci-chain-step-head { background: #eef8f9; }
.sci-chain-tags { display: flex; padding: 0 12px 12px; flex-wrap: wrap; gap: 5px; }
.sci-chain-tags button { padding: 5px 7px; border: 1px solid #e0e8ee; border-radius: 4px; background: #f8fafb; color: #566d82; font-size: 9px; cursor: pointer; }
.sci-chain-tags button:hover,.sci-chain-tags button.active { border-color: #0c8a9b; background: #e4f4f5; color: #076b7a; }
.sci-chain-panel > footer { padding: 13px 15px; border-top: 1px solid #dbe5ec; background: #fff; }
.sci-chain-panel > footer p { margin: 0 0 9px; color: #6e8295; font-size: 9px; line-height: 1.5; }
.sci-chain-panel > footer button { padding: 6px 9px; border: 1px solid #b9cad8; background: #fff; color: #31516f; font-size: 9px; font-weight: 700; cursor: pointer; }

.sci-map-panel > header a { margin-top: 16px; color: #0b6fbd; font-size: 10px; font-weight: 700; }
.sci-map-canvas { z-index: 1; flex: 1; min-height: 570px; background: #dce8ee; }
.sci-map-panel .leaflet-container { font-family: "IBM Plex Sans","Be Vietnam Pro",sans-serif; }
.sci-map-panel .leaflet-tile-pane { filter: saturate(.45) contrast(.96) brightness(1.03); }
.sci-map-panel .leaflet-control-zoom a { color: #173b5b; }
.sci-map-overlay { position: absolute; z-index: 500; top: 91px; left: 15px; display: grid; padding: 9px 11px; border: 1px solid rgba(19,53,80,.16); border-radius: 7px; background: rgba(255,255,255,.93); box-shadow: 0 7px 20px rgba(20,50,75,.13); grid-template-columns: auto auto; align-items: center; gap: 2px 8px; pointer-events: none; }
.sci-map-overlay > span { grid-column: 1/3; color: #6b8194; font-size: 9px; }
.sci-map-overlay i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #08a6a6; }
.sci-map-overlay b { color: #153754; font: 600 19px "IBM Plex Mono",monospace; }
.sci-map-overlay small { color: #778b9e; font-size: 9px; }
.sci-map-empty { position: absolute; z-index: 510; top: 48%; left: 50%; padding: 10px 14px; border: 1px solid #ccd9e2; background: rgba(255,255,255,.94); color: #667e93; font-size: 11px; transform: translate(-50%,-50%); }
.sci-map-panel > footer { display: flex; min-height: 54px; padding: 10px 15px; border-top: 1px solid #d8e3ea; background: #fff; align-items: center; justify-content: space-between; gap: 15px; }
.sci-map-panel > footer strong { color: #153754; font-size: 11px; }
.sci-map-panel > footer span { color: #8192a1; font-size: 9px; text-align: right; }
.sci-map-popup small { color: #0b7899; font-size: 9px; }
.sci-map-popup h3 { margin: 5px 0 7px; color: #173550; font-size: 14px; }
.sci-map-popup p { margin: 5px 0; color: #687f92; font-size: 10px; line-height: 1.45; }
.sci-map-popup a { color: #0b6fbd; font-size: 10px; font-weight: 700; }

.sci-company-panel > header > b { margin-top: 13px; color: #0b7899; font: 600 22px "IBM Plex Mono",monospace; }
.sci-company-status { padding: 9px 14px; border-bottom: 1px solid #dbe5ec; background: #eef5f8; color: #678095; font-size: 9px; }
.sci-company-list { flex: 1; padding: 9px; overflow-y: auto; background: #f3f7fa; }
.sci-company-card { display: block; margin-bottom: 7px; padding: 12px; border: 1px solid #dbe5ec; border-radius: 7px; background: #fff; color: inherit; transition: border-color .18s,transform .18s; }
.sci-company-card:hover { border-color: #74a9bd; text-decoration: none; transform: translateY(-1px); }
.sci-company-card-top,.sci-company-card > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sci-company-card-top span { color: #0b7899; font: 600 9px "IBM Plex Mono",monospace; }
.sci-company-card-top em { color: #8294a5; font-size: 8px; font-style: normal; }
.sci-company-card h3 { margin: 7px 0 5px; color: #17334f; font-size: 12px; line-height: 1.45; }
.sci-company-card p { min-height: 28px; margin: 0 0 8px; color: #74889a; font-size: 9px; line-height: 1.5; }
.sci-company-card small { color: #96a5b2; font-size: 8px; }
.sci-company-card b { color: #0b6fbd; font-size: 9px; }
.sci-company-empty { padding: 50px 20px; color: #7d90a1; font-size: 11px; text-align: center; }
.sci-company-panel > footer { padding: 12px 15px; border-top: 1px solid #d8e3ea; background: #fff; text-align: right; }
.sci-company-panel > footer a { color: #0b6fbd; font-size: 10px; font-weight: 700; }

@media (max-width: 1280px) {
  .sci-command { grid-template-columns: 1fr; }
  .sci-command-stats { border-top: 1px solid rgba(255,255,255,.12); border-left: 0; }
  .sci-workbench-head { align-items: flex-start; flex-direction: column; }
  .sci-workbench-head > div:first-child { width: 100%; overflow-x: auto; }
  .sci-workbench-grid { grid-template-columns: 290px minmax(430px,1fr) 330px; }
}
@media (max-width: 980px) {
  .sci-workbench-grid { grid-template-columns: 280px minmax(0,1fr); }
  .sci-company-panel { grid-column: 1/3; min-height: 500px; }
  .sci-company-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
  .sci-company-card { margin: 0; }
}
@media (max-width: 680px) {
  .sci-command-stats { grid-template-columns: repeat(2,1fr); }
  .sci-command-stats > div { border-bottom: 1px solid rgba(255,255,255,.1); }
  .sci-workbench .sci-industry-tab { min-width: 138px; }
  .sci-workbench-grid { display: block; }
  .sci-chain-panel,.sci-map-panel,.sci-company-panel { min-height: 560px; border-bottom: 1px solid #c7d6e2; }
  .sci-map-canvas { min-height: 500px; }
  .sci-company-list { display: block; }
  .sci-company-card { margin-bottom: 7px; }
}

}

@scope (#vieter-content) {

.v2-professional-view .v2-content{padding:0;background:#f3f5f7}
.v2-professional-view .v2-content>.v2-container{width:100%;max-width:none;padding:0}
.v2-professional-view .v2-professional-content{position:relative;z-index:1;display:block;width:100%;min-height:calc(100vh - 68px)}
.v2-professional-view .v2-professional-content>.container{width:min(1480px,calc(100% - 48px));max-width:none;margin:0 auto}
.v2-professional-view .site-bg,.v2-professional-view #siteHeaderMount,.v2-professional-view #siteFooterMount,.v2-professional-view .site-header,.v2-professional-view .site-footer,.v2-professional-view .intel-ribbon{display:none!important}
.v2-professional-view .workspace-main,.v2-professional-view .sci-main{padding-top:0}
.v2-professional-view .workspace-intro,.v2-professional-view .sci-command{margin-top:0;border-radius:0 0 14px 14px}
.v2-professional-view .v2-pro-context{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 28px;border-bottom:1px solid #dce4ec;background:#fff;color:#657589;font-size:11px}
.v2-professional-view .v2-pro-context span{font-weight:800;letter-spacing:.08em}.v2-professional-view .v2-pro-context div{display:flex;gap:16px}.v2-professional-view .v2-pro-context a{color:#2864dc;font-weight:700}
@media(max-width:760px){.v2-professional-view .v2-professional-content>.container{width:calc(100% - 24px)}.v2-professional-view .v2-pro-context{padding:11px 14px}.v2-professional-view .v2-pro-context>span{display:none}}

}
