/*
  Nexta compact skin for MEGBA.
  Uses the Nexta template's dark teal, light mint panels, clipped image accents,
  and consulting-card rhythm while keeping spacing tight for a lead-generation MVP.
*/

:root {
  --green-950: #063232;
  --green-900: #073d3d;
  --green-700: #186060;
  --gold-600: #c9a227;
  --gold-500: #d8b84a;
  --navy-900: #10171d;
  --navy-700: #31484a;
  --cream-100: #ecf8f8;
  --cream-50: #f6fbf8;
  --border: rgba(6, 50, 50, 0.14);
  --header-height: 66px;
  --shadow: 0 16px 34px rgba(6, 50, 50, 0.11);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Helvetica Neue", Arial, Tahoma, sans-serif;
}

.nexta-skin {
  background: var(--cream-100);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nexta-skin button,
.nexta-skin input,
.nexta-skin select,
.nexta-skin textarea {
  font-family: var(--font-sans);
}

.nexta-skin h1,
.nexta-skin h2,
.nexta-skin h3,
.nexta-skin h4,
.nexta-skin h5,
.nexta-skin h6,
.nexta-skin .brand strong {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.nexta-skin .hero h1,
.nexta-skin .page-hero h1 {
  font-weight: 700;
}

.nexta-skin .eyebrow,
.nexta-skin .button,
.nexta-skin .site-nav a,
.nexta-skin .text-link,
.nexta-skin label,
.nexta-skin th,
.nexta-skin .status-pill,
.nexta-skin .admin-stat span,
.nexta-skin .detail-list span,
.nexta-skin .panel-topline,
.nexta-skin .plan-badge {
  font-weight: 700;
}

.nexta-skin p,
.nexta-skin li,
.nexta-skin td,
.nexta-skin dd,
.nexta-skin input,
.nexta-skin select,
.nexta-skin textarea {
  font-weight: 400;
}

.site-header {
  background: rgba(6, 50, 50, 0.96);
}

.header-inner {
  min-height: var(--header-height);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 6px;
}

.brand small {
  font-size: 0.68rem;
}

.site-nav a {
  min-height: 36px;
  padding: 0 10px;
  font-size: 0.88rem;
  white-space: nowrap;
}

.site-nav .nav-cta,
.button-primary {
  color: var(--green-950);
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 6px;
  font-size: 0.92rem;
}

.hero {
  min-height: 620px;
  padding: 58px 0 26px;
  background-image:
    linear-gradient(90deg, rgba(6, 50, 50, 0.92) 0%, rgba(6, 50, 50, 0.68) 52%, rgba(6, 50, 50, 0.24) 100%),
    url("../img/pro/megba-gcc-hero-tall.jpg");
  background-image:
    linear-gradient(90deg, rgba(6, 50, 50, 0.92) 0%, rgba(6, 50, 50, 0.68) 52%, rgba(6, 50, 50, 0.24) 100%),
    image-set(
      url("../img/pro/megba-gcc-hero-tall.webp") type("image/webp"),
      url("../img/pro/megba-gcc-hero-tall.jpg") type("image/jpeg")
    );
  background-position: center, center 48%;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(260px, 28vw);
  aspect-ratio: 1;
  background: url("../img/nexta/banner/home4-shape01.png") center / contain no-repeat;
  opacity: 0.22;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  line-height: 1.02;
}

.hero-lede {
  max-width: 660px;
  margin-top: 16px;
  font-size: clamp(1.05rem, 1.6vw, 1.34rem);
}

.hero-support {
  max-width: 630px;
  margin-top: 10px;
  font-size: 0.98rem;
}

.hero-actions {
  margin-top: 22px;
  gap: 9px;
}

.nexta-hero-card {
  position: relative;
  min-height: 358px;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    url("../img/nexta/banner/hm5-info-bg.png") center / cover;
}

.nexta-hero-figure {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 112px;
  opacity: 0.9;
  pointer-events: none;
}

.panel-topline {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 6px;
}

.route-map {
  min-height: 100px;
  margin: 24px 0 16px;
}

.route-map span {
  width: 92px;
  font-size: 0.86rem;
}

.deal-list {
  gap: 8px;
}

.deal-list div {
  padding: 11px 12px;
  border-radius: 6px;
}

.deal-list span {
  font-size: 0.84rem;
}

.metric-grid {
  gap: 10px;
  margin-top: 28px;
}

.metric-grid div {
  min-height: 82px;
  padding: 14px;
  border-radius: 6px;
}

.metric-grid strong {
  font-size: clamp(1.25rem, 2.2vw, 1.78rem);
}

.metric-grid span {
  margin-top: 7px;
  font-size: 0.85rem;
}

.section {
  padding: clamp(38px, 5vw, 62px) 0;
}

.compact-hero {
  min-height: 294px;
  padding: 48px 0;
  background-image:
    linear-gradient(90deg, rgba(6, 50, 50, 0.92), rgba(6, 50, 50, 0.58)),
    url("../img/pro/megba-gcc-hero-tall.jpg");
  background-image:
    linear-gradient(90deg, rgba(6, 50, 50, 0.92), rgba(6, 50, 50, 0.58)),
    image-set(
      url("../img/pro/megba-gcc-hero-tall.webp") type("image/webp"),
      url("../img/pro/megba-gcc-hero-tall.jpg") type("image/jpeg")
    );
  background-position: center, center 48%;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

.compact-hero h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.compact-hero p:not(.eyebrow) {
  margin-top: 12px;
  font-size: 1rem;
}

.section-heading h2,
.form-intro h2,
.cta-grid h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.section-heading p,
.form-intro p,
.cta-grid p {
  margin-top: 10px;
}

.wide-heading {
  margin-bottom: 18px;
}

.path-grid,
.service-mini-grid,
.opportunity-grid,
.services-grid,
.sector-grid,
.membership-grid,
.trust-grid,
.two-column-cards,
.admin-stat-grid,
.admin-columns,
.record-grid {
  gap: 12px;
}

.split-grid,
.form-shell {
  gap: clamp(20px, 4vw, 42px);
}

.path-card,
.mini-card,
.opportunity-card,
.service-card,
.sector-card,
.pricing-card,
.feature-card,
.trust-item,
.admin-panel,
.admin-stat,
.login-card,
.business-form {
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(6, 50, 50, 0.07);
}

.path-card {
  min-height: 190px;
  padding: 18px;
}

.path-card h3,
.mini-card h3,
.opportunity-card h3,
.sector-card h3 {
  margin: 12px 0 6px;
  font-size: 1.08rem;
}

.mini-card {
  min-height: 160px;
  padding: 17px;
}

.opportunity-card {
  min-height: 330px;
  padding: 17px;
}

.opportunity-thumb {
  height: 92px;
  margin: -3px -3px 12px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-900);
}

.opportunity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opportunity-card dl {
  gap: 7px;
  margin-top: 14px;
}

.opportunity-card dl div {
  grid-template-columns: 92px 1fr;
  gap: 8px;
}

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

.service-card {
  min-height: 250px;
  padding: 18px;
}

.service-card-thumb {
  height: 76px;
  margin: -2px -2px 14px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cream-100);
}

.service-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.service-card .icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.service-card h2,
.pricing-card h2,
.feature-card h2,
.admin-panel h2,
.message-box h2 {
  margin: 12px 0 8px;
  font-size: 1.18rem;
}

.sector-card {
  min-height: 172px;
  padding: 16px;
}

.feature-card {
  min-height: 190px;
  padding: 20px;
}

.about-visual-copy {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.nexta-about-image {
  position: relative;
  min-height: 150px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--green-900);
  border-radius: 6px;
}

.nexta-about-image::after {
  content: "";
  position: absolute;
  inset: auto -18px -28px auto;
  width: 96px;
  aspect-ratio: 1;
  background: url("../img/nexta/choose/shape01.png") center / contain no-repeat;
  opacity: 0.28;
}

.nexta-about-image img {
  position: relative;
  z-index: 1;
  width: 118px;
  max-height: 130px;
  object-fit: contain;
}

.nexta-about-image.photo img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.trust-item {
  min-height: 74px;
  padding: 14px;
}

.pricing-card {
  min-height: 470px;
  padding: 20px;
}

.check-list {
  gap: 7px;
  margin: 16px 0;
}

.plan-badge {
  top: 14px;
  right: 14px;
  min-height: 26px;
  border-radius: 6px;
}

.business-form {
  padding: 20px;
}

.form-grid {
  gap: 12px;
}

label {
  gap: 6px;
  font-size: 0.86rem;
}

input,
select,
textarea {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 6px;
}

.site-footer .footer-grid {
  padding: 34px 0 22px;
}

.footer-bottom {
  padding: 14px 0 20px;
}

.admin-main {
  padding: clamp(18px, 3vw, 30px);
}

.admin-head {
  margin-bottom: 14px;
}

.admin-head h1 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.admin-stat {
  min-height: 104px;
  padding: 16px;
}

.admin-stat strong {
  font-size: 1.9rem;
}

.admin-panel {
  padding: 16px;
}

th,
td {
  padding: 10px 8px;
}

.detail-list div {
  min-height: 66px;
  padding: 11px;
}

.whatsapp-float {
  width: 48px;
  height: 48px;
  border-radius: 6px;
}

/* Final professional scale: smaller text, stronger icons, more photography. */
.nexta-skin {
  font-size: 15px;
}

.nexta-skin svg.lucide {
  stroke-width: 2.35;
}

.nexta-skin .hero h1,
.nexta-skin .page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.06;
}

.nexta-skin .hero-lede {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.nexta-skin .hero-support,
.nexta-skin .compact-hero p:not(.eyebrow),
.nexta-skin .section-heading p,
.nexta-skin .form-intro p,
.nexta-skin .cta-grid p,
.nexta-skin .path-card p,
.nexta-skin .mini-card p,
.nexta-skin .opportunity-card p,
.nexta-skin .service-card p,
.nexta-skin .sector-card p,
.nexta-skin .pricing-card p,
.nexta-skin .feature-card p,
.nexta-skin .prose p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.nexta-skin .section-heading h2,
.nexta-skin .form-intro h2,
.nexta-skin .cta-grid h2 {
  font-size: clamp(1.5rem, 2.45vw, 2.18rem);
  line-height: 1.12;
}

.nexta-skin .path-card h3,
.nexta-skin .mini-card h3,
.nexta-skin .opportunity-card h3,
.nexta-skin .sector-card h3,
.nexta-skin .service-card h2,
.nexta-skin .pricing-card h2,
.nexta-skin .feature-card h2 {
  font-size: 1.02rem;
  line-height: 1.22;
}

.nexta-skin .eyebrow {
  font-size: 0.68rem;
}

.nexta-skin .site-nav a {
  font-size: 0.82rem;
}

.nexta-skin .button {
  font-size: 0.86rem;
}

.nexta-skin .hero {
  min-height: 520px;
  padding-top: 44px;
  padding-bottom: 22px;
}

.nexta-skin .compact-hero {
  min-height: 242px;
  padding: 38px 0;
}

.nexta-skin .section {
  padding-top: clamp(30px, 4vw, 52px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.visual-market-section {
  padding-top: 24px;
  padding-bottom: 28px;
  background: var(--cream-100);
}

.market-image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.market-image-card {
  position: relative;
  min-height: 172px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--green-950);
  border: 1px solid rgba(6, 50, 50, 0.14);
}

.market-image-card img {
  width: 100%;
  height: 100%;
  min-height: 172px;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.01);
}

.market-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(6, 50, 50, 0.86));
}

.market-image-card div {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 13px;
  color: var(--white);
}

.market-image-card span,
.market-image-card strong {
  display: block;
}

.market-image-card span {
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.market-image-card strong {
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.25;
}

.path-card > svg.lucide,
.mini-card > svg.lucide,
.feature-card > svg.lucide {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--green-950);
  background: var(--gold-500);
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 6px;
}

.service-card .icon-wrap {
  color: var(--green-950);
  background: var(--gold-500);
  border-color: rgba(6, 50, 50, 0.12);
}

.service-card .icon-wrap svg.lucide {
  width: 22px;
  height: 22px;
}

.trust-item svg.lucide {
  width: 38px;
  height: 38px;
  padding: 8px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 6px;
}

.check-list svg.lucide {
  color: var(--green-700);
  stroke-width: 2.6;
}

.site-nav .nav-cta svg.lucide,
.button svg.lucide,
.text-link svg.lucide {
  stroke-width: 2.5;
}

.service-card-thumb {
  height: 104px;
}

.nexta-about-image {
  min-height: 172px;
}

.about-visual-copy {
  grid-template-columns: 210px minmax(0, 1fr);
}

@media (max-width: 1040px) {
  .header-actions {
    margin-left: auto;
    order: 3;
  }

  .nav-toggle {
    order: 4;
  }

  .hero {
    min-height: auto;
  }

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

  .market-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .opportunity-row {
    grid-template-columns: 1fr;
  }

  .opportunity-row-side {
    justify-items: start;
    text-align: left;
  }

  .opportunity-row-side .button {
    width: auto;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .brand small {
    display: none;
  }

  .site-header .brand .brand-arabic {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .section {
    padding: 34px 0;
  }

  .compact-hero {
    min-height: 250px;
    padding: 38px 0;
  }

  .nexta-hero-figure {
    width: 88px;
    opacity: 0.5;
  }

  .business-form {
    padding: 15px;
  }

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

  .market-image-card,
  .market-image-card img {
    min-height: 154px;
  }

  .about-visual-copy {
    grid-template-columns: 1fr;
  }

  .nexta-about-image {
    min-height: 130px;
  }
}

/* Dense layout pass: remove remaining template air. */
.nexta-skin {
  font-size: 14px;
}

.container {
  width: min(1180px, calc(100% - 24px));
}

.top-trust-bar .container,
.site-header .container,
.workspace-home .workspace-section > .container {
  width: min(1300px, calc(100% - 36px));
}

.site-header {
  min-height: 58px;
}

.header-inner {
  min-height: 58px;
  gap: 14px;
}

.brand {
  gap: 9px;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.site-header .brand .brand-arabic {
  display: block;
  max-width: 230px;
  overflow: hidden;
  color: var(--gold-500);
  font-size: 0.64rem !important;
  font-weight: 600;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.site-nav {
  gap: 3px;
  margin-left: auto;
}

.site-nav a {
  min-height: 32px;
  padding: 0 8px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.language-picker {
  position: relative;
}

.language-picker summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  color: var(--white);
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.78rem;
}

.language-picker summary::-webkit-details-marker {
  display: none;
}

.language-picker summary svg.lucide {
  width: 15px;
  height: 15px;
}

.language-flag {
  width: 20px;
  height: 14px;
  flex: 0 0 20px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 4px;
  z-index: 80;
  min-width: 150px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(6, 50, 50, 0.18);
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 9px;
  color: var(--green-950);
  border-radius: 5px;
  font-size: 0.86rem;
  font-weight: 700;
}

.language-menu a span {
  width: 28px;
  color: var(--muted);
  font-size: 0.72rem;
}

.language-menu a .language-flag {
  width: 20px;
  height: 14px;
  flex-basis: 20px;
  box-shadow: 0 0 0 1px rgba(6, 50, 50, 0.14);
}

.language-menu a.active,
.language-menu a:hover {
  background: rgba(216, 184, 74, 0.16);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.button {
  min-height: 38px;
  padding: 0 13px;
}

.nexta-skin .hero {
  min-height: 430px;
  padding-top: 28px;
  padding-bottom: 14px;
}

.hero-grid {
  gap: 22px;
}

.nexta-skin .hero h1,
.nexta-skin .page-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
}

.hero-lede {
  margin-top: 10px;
}

.hero-support {
  margin-top: 7px;
}

.hero-actions {
  margin-top: 16px;
  gap: 7px;
}

.nexta-hero-card {
  min-height: 292px;
  padding: 15px;
}

.route-map {
  min-height: 78px;
  margin: 16px 0 10px;
}

.route-map span {
  width: 74px;
  font-size: 0.78rem;
}

.deal-list {
  gap: 6px;
}

.deal-list div {
  padding: 8px 10px;
}

.metric-grid {
  gap: 7px;
  margin-top: 16px;
}

.metric-grid div {
  min-height: 64px;
  padding: 10px;
}

.metric-grid strong {
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
}

.metric-grid span {
  margin-top: 4px;
  font-size: 0.78rem;
}

.nexta-skin .section {
  padding-top: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(22px, 3vw, 34px);
}

.visual-market-section {
  padding-top: 14px;
  padding-bottom: 18px;
}

.market-image-grid,
.path-grid,
.service-mini-grid,
.opportunity-grid,
.services-grid,
.sector-grid,
.membership-grid,
.trust-grid,
.two-column-cards,
.admin-stat-grid,
.admin-columns,
.record-grid {
  gap: 8px;
}

.split-grid,
.form-shell {
  gap: 22px;
}

.wide-heading {
  margin-bottom: 12px;
}

.eyebrow {
  margin-bottom: 7px;
}

.section-heading p,
.form-intro p,
.cta-grid p {
  margin-top: 7px;
}

.path-card {
  min-height: 136px;
  padding: 13px;
}

.path-card > svg.lucide,
.mini-card > svg.lucide,
.feature-card > svg.lucide {
  width: 34px;
  height: 34px;
  padding: 7px;
}

.path-card h3,
.mini-card h3,
.opportunity-card h3,
.sector-card h3 {
  margin: 8px 0 4px;
}

.mini-card {
  min-height: 122px;
  padding: 13px;
}

.market-image-card,
.market-image-card img {
  min-height: 132px;
}

.market-image-card div {
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.service-card {
  min-height: 218px;
  padding: 13px;
}

.service-card-thumb {
  height: 78px;
  margin-bottom: 10px;
}

.service-card .icon-wrap {
  width: 36px;
  height: 36px;
}

.service-card .icon-wrap svg.lucide {
  width: 19px;
  height: 19px;
}

.service-card h2,
.pricing-card h2,
.feature-card h2,
.admin-panel h2,
.message-box h2 {
  margin: 8px 0 5px;
}

.opportunity-board {
  display: grid;
  gap: 8px;
}

.opportunity-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-500);
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(6, 50, 50, 0.06);
}

.opportunity-topline,
.opportunity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.opportunity-topline span,
.opportunity-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.opportunity-type {
  color: var(--green-950);
  background: rgba(216, 184, 74, 0.18);
}

.opportunity-ref {
  color: var(--muted);
  background: var(--cream-100);
}

.opportunity-status {
  color: var(--success);
  background: #e7f6ee;
}

.opportunity-row h3 {
  margin: 8px 0 4px;
  color: var(--green-950);
  font-size: 1.02rem;
  line-height: 1.25;
}

.opportunity-row p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.opportunity-tags {
  margin-top: 9px;
}

.opportunity-tags span {
  color: var(--navy-700);
  background: #f4f8f8;
  border: 1px solid rgba(6, 50, 50, 0.08);
}

.opportunity-tags svg.lucide {
  width: 14px;
  height: 14px;
  color: var(--green-700);
}

.opportunity-row-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.opportunity-row-side > span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.opportunity-row-side .button {
  width: 100%;
  max-width: 150px;
}

.text-link {
  margin-top: 12px;
}

.sector-card {
  min-height: 132px;
  padding: 12px;
}

.feature-card {
  min-height: 142px;
  padding: 14px;
}

.trust-item {
  min-height: 58px;
  padding: 10px;
  gap: 10px;
}

.trust-item svg.lucide {
  width: 32px;
  height: 32px;
  padding: 7px;
}

.pricing-card {
  min-height: 386px;
  padding: 15px;
}

.check-list {
  gap: 5px;
  margin: 11px 0;
}

.business-form {
  padding: 14px;
  gap: 11px;
}

.form-grid {
  gap: 9px;
}

label {
  gap: 4px;
}

input,
select,
textarea {
  min-height: 38px;
  padding: 8px 10px;
}

.nexta-skin .compact-hero {
  min-height: 190px;
  padding: 28px 0;
}

.site-footer .footer-grid {
  padding: 24px 0 14px;
  gap: 22px;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-bottom {
  padding: 10px 0 14px;
}

.admin-main {
  padding: 16px;
}

.admin-head {
  margin-bottom: 10px;
}

.admin-stat {
  min-height: 82px;
  padding: 12px;
}

.admin-panel {
  padding: 12px;
}

th,
td {
  padding: 8px 7px;
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 18px, 1180px);
  }

  .nexta-skin .hero {
    padding-top: 26px;
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .form-shell {
    gap: 16px;
  }

  .nexta-skin .section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .nexta-skin .compact-hero {
    min-height: 172px;
    padding: 24px 0;
  }

  .market-image-card,
  .market-image-card img {
    min-height: 118px;
  }

  .nexta-hero-card {
    min-height: 240px;
  }

  .opportunity-row {
    padding: 12px;
  }

  .opportunity-topline span,
  .opportunity-tags span {
    min-height: 24px;
    padding: 0 7px;
  }

  .header-cta {
    display: none;
  }

  .language-picker summary {
    min-height: 32px;
    padding: 0 8px;
    margin-right: 0;
  }
}

/* Compact live deal desk */
.live-opportunity-section {
  background: linear-gradient(180deg, rgba(246, 251, 248, 0.96), rgba(236, 248, 248, 0.96));
}

.opportunity-live-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 14px;
  align-items: start;
}

.live-heading {
  max-width: 700px;
  margin-bottom: 10px;
}

.live-heading h2 {
  margin-top: 4px;
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
}

.live-heading p:not(.live-kicker) {
  max-width: 640px;
  margin-top: 6px;
  font-size: 0.92rem;
}

.live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  margin: 0;
  padding: 0 10px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.live-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #21a268;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(33, 162, 104, 0.38);
  animation: megba-live-pulse 1.8s ease-out infinite;
}

@keyframes megba-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(33, 162, 104, 0.36);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(33, 162, 104, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(33, 162, 104, 0);
  }
}

.live-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr)) auto;
  gap: 8px;
  margin-bottom: 10px;
}

.live-stat,
.opportunity-live-panel,
.opportunity-feed-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(6, 50, 50, 0.06);
}

.live-stat {
  min-height: 58px;
  padding: 8px 10px;
  display: grid;
  align-content: center;
  gap: 1px;
}

.live-stat strong {
  color: var(--green-950);
  font-size: 1.12rem;
  line-height: 1;
}

.live-stat span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.live-toolbar-action {
  min-height: 58px;
  white-space: nowrap;
}

.opportunity-feed {
  display: grid;
  gap: 7px;
}

.opportunity-feed-item {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 10px;
  overflow: hidden;
}

.opportunity-feed-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold-500);
}

.feed-status {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 4px 7px;
  align-items: center;
  min-width: 0;
}

.feed-status strong {
  color: var(--success);
  font-size: 0.76rem;
  line-height: 1.15;
}

.feed-status small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.feed-status-upcoming-opportunity .live-pulse {
  background: var(--gold-600);
}

.feed-status-upcoming-opportunity strong {
  color: var(--warning);
}

.feed-titleline {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.feed-titleline h3 {
  min-width: 0;
  margin: 0;
  color: var(--green-950);
  font-size: 1rem;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feed-titleline span {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: var(--green-950);
  background: rgba(216, 184, 74, 0.2);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 6px;
}

.feed-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--navy-700);
  font-size: 0.76rem;
  font-weight: 700;
}

.feed-meta svg.lucide {
  width: 13px;
  height: 13px;
  color: var(--gold-600);
}

.feed-action {
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--green-950);
  background: var(--gold-500);
  border: 1px solid var(--gold-500);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.feed-action svg.lucide {
  width: 14px;
  height: 14px;
}

.opportunity-live-panel {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.live-panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-950);
  font-size: 0.86rem;
}

.pipeline-list {
  display: grid;
  gap: 6px;
}

.pipeline-list div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 1px 8px;
  align-items: center;
  min-height: 50px;
  padding: 8px;
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.09);
  border-radius: 7px;
}

.pipeline-list span {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: rgba(216, 184, 74, 0.24);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.pipeline-list strong {
  color: var(--green-950);
  font-size: 0.84rem;
  line-height: 1.1;
}

.pipeline-list small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.live-update-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-950), var(--green-700));
  border-radius: 8px;
}

.live-update-card svg.lucide {
  width: 32px;
  height: 32px;
  padding: 7px;
  color: var(--gold-500);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.live-update-card strong,
.live-update-card span {
  display: block;
}

.live-update-card strong {
  font-size: 0.82rem;
}

.live-update-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
}

.opportunity-live-panel .button {
  width: 100%;
}

@media (max-width: 1040px) {
  .opportunity-live-layout {
    grid-template-columns: 1fr;
  }

  .opportunity-live-panel {
    position: static;
  }

  .pipeline-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 760px) {
  .live-toolbar {
    grid-template-columns: repeat(3, 1fr);
  }

  .live-toolbar-action {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .opportunity-feed-item {
    grid-template-columns: 1fr auto;
    min-height: 0;
  }

  .feed-status {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
  }

  .feed-status small {
    grid-column: auto;
  }

  .feed-titleline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .feed-titleline h3 {
    white-space: normal;
  }

  .pipeline-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Compact board homepage */
.compact-board-home .section {
  padding-block: 24px;
}

.compact-board-home .board-hero {
  min-height: 0;
  padding: 28px 0 20px;
}

.board-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 14px;
  align-items: end;
}

.compact-board-home .hero h1 {
  max-width: 720px;
  margin-bottom: 8px;
}

.compact-board-home .hero-lede {
  max-width: 720px;
  margin-top: 0;
}

.compact-board-home .hero-actions {
  margin-top: 14px;
}

.board-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.board-status div,
.board-column,
.mini-board-card,
.tiny-service-card,
.tiny-plan-card,
.compact-live-row,
.compact-cta-card {
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(6, 50, 50, 0.05);
}

.board-status div {
  min-height: 66px;
  padding: 10px;
}

.board-status strong,
.board-status span {
  display: block;
}

.board-status strong {
  color: var(--green-950);
}

.board-status span {
  color: var(--muted);
}

.board-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.board-title-row .eyebrow,
.board-title-row h2 {
  margin-bottom: 0;
}

.command-board {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1.15fr;
  gap: 9px;
}

.board-column {
  padding: 10px;
}

.board-column-head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.board-column-head h3 {
  margin: 0;
  color: var(--green-950);
}

.board-column-head svg.lucide,
.mini-board-card svg.lucide,
.tiny-service-card svg.lucide,
.fact-row-list svg.lucide {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
  flex: 0 0 16px;
}

.mini-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.mini-link-grid a {
  min-height: 34px;
  padding: 6px 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green-950);
  background: #f4fbf8;
  border-radius: 6px;
}

.mini-link-grid span {
  color: var(--gold-600);
}

.mini-card-list,
.process-mini-list,
.compact-row-list,
.tiny-plan-list {
  display: grid;
  gap: 6px;
}

.mini-board-card {
  min-height: 44px;
  padding: 7px;
  display: grid;
  grid-template-columns: 18px minmax(52px, 0.38fr) minmax(0, 1fr);
  gap: 6px;
  align-items: center;
}

.mini-board-card span,
.process-mini-list span,
.compact-live-row span,
.tiny-plan-card span {
  color: var(--muted);
}

.mini-board-card strong,
.process-mini-list strong,
.compact-live-row strong,
.tiny-plan-card strong {
  min-width: 0;
  color: var(--green-950);
}

.process-mini-list div {
  min-height: 43px;
  padding: 7px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 2px 7px;
  background: #f4fbf8;
  border-radius: 6px;
}

.process-mini-list small {
  grid-column: 2;
  color: var(--muted);
}

.board-market-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.compact-market-tabs {
  display: grid;
  gap: 6px;
  margin: 0;
}

.compact-market-tabs button {
  justify-content: flex-start;
  width: 100%;
  border-radius: 7px;
}

.board-market-panel {
  grid-template-columns: 260px minmax(0, 1fr) 148px;
  gap: 9px;
  align-items: start;
  padding: 10px;
}

.board-market-intro h3,
.board-market-intro p {
  margin: 4px 0 0;
}

.fact-row-list {
  display: grid;
  gap: 6px;
}

.fact-row-list div {
  min-height: 38px;
  padding: 6px 7px;
  display: grid;
  grid-template-columns: 18px 96px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  background: #f4fbf8;
  border-radius: 6px;
}

.fact-row-list span {
  color: var(--muted);
}

.fact-row-list strong {
  min-width: 0;
  color: var(--green-950);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-actions {
  display: grid;
  gap: 6px;
}

.two-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.tiny-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.tiny-service-card {
  min-height: 72px;
  padding: 9px;
  display: grid;
  align-content: start;
  gap: 7px;
}

.tiny-service-card strong {
  color: var(--green-950);
  line-height: 1.2;
}

.tiny-plan-card {
  min-height: 70px;
  padding: 9px 10px;
  display: grid;
  gap: 2px;
}

.tiny-plan-card.featured {
  border-color: rgba(216, 184, 74, 0.65);
  background: #fffaf0;
}

.tiny-plan-card small {
  color: var(--muted);
}

.compact-live-row {
  min-height: 58px;
  padding: 8px 9px;
  display: grid;
  gap: 2px;
}

.compact-live-row strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-live-row small {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-event-filter {
  margin-bottom: 7px;
}

.compact-final-cta {
  padding-top: 10px;
}

.compact-cta-card {
  min-height: 86px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--green-950);
  color: #fff;
}

.compact-cta-card h2 {
  margin: 0;
  color: #fff;
}

.compact-cta-card .eyebrow {
  margin-bottom: 3px;
}

.compact-board-home .site-footer {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .command-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .board-market-layout,
  .board-market-panel {
    grid-template-columns: 1fr;
  }

  .compact-market-tabs {
    display: flex;
    flex-wrap: wrap;
  }

  .compact-market-tabs button {
    width: auto;
  }
}

@media (max-width: 860px) {
  .board-hero-grid,
  .two-board-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .command-board,
  .board-status,
  .mini-link-grid,
  .tiny-service-grid {
    grid-template-columns: 1fr;
  }

  .board-title-row,
  .compact-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .fact-row-list div {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .fact-row-list strong {
    grid-column: 2;
  }
}

.opportunities-page .pipeline-card-list {
  grid-template-columns: 1fr;
}

.opportunities-page .pipeline-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 160px;
  gap: 8px 12px;
  align-items: center;
}

.opportunities-page .pipeline-card-top {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-content: center;
  display: grid;
}

.opportunities-page .pipeline-card h2,
.opportunities-page .pipeline-card p,
.opportunities-page .pipeline-fields {
  grid-column: 2;
}

.opportunities-page .pipeline-card h2 {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opportunities-page .pipeline-card p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.opportunities-page .pipeline-card .button {
  grid-column: 3;
  grid-row: 1 / span 3;
}

.market-guide-page .guide-accordion:not([open]) {
  padding-bottom: 0;
}

@media (max-width: 860px) {
  .opportunities-page .pipeline-card {
    grid-template-columns: 1fr;
  }

  .opportunities-page .pipeline-card-top,
  .opportunities-page .pipeline-card h2,
  .opportunities-page .pipeline-card p,
  .opportunities-page .pipeline-fields,
  .opportunities-page .pipeline-card .button {
    grid-column: 1;
    grid-row: auto;
  }
}

/* Workspace homepage: compact slide + tabbed board */
.workspace-home .section {
  padding-block: 17px;
}

.workspace-home main {
  display: flex;
  flex-direction: column;
}

.workspace-home .workspace-hero {
  order: 1;
}

.workspace-home .revenue-path-section {
  order: 2;
  padding-block: 17px;
}

.workspace-home .workspace-section {
  order: 3;
}

.workspace-home .intelligence-section {
  order: 4;
}

.workspace-home .compact-final-cta {
  order: 5;
  padding-block: 17px;
}

.workspace-hero {
  position: relative;
  display: grid;
  align-items: start;
  min-height: 0;
  padding: 0;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(180deg, #dfeceb 0%, #edf7f6 100%);
  border-bottom: 2px solid var(--gold-500);
}

.workspace-hero .container {
  position: relative;
  isolation: isolate;
  width: min(1300px, calc(100% - 36px));
  display: grid;
  align-items: center;
  min-height: 300px;
  padding: 28px 56px;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 52, 48, 0.98) 0%,
      rgba(4, 52, 48, 0.92) 34%,
      rgba(4, 52, 48, 0.58) 58%,
      rgba(4, 52, 48, 0.18) 100%
    ),
    url("../img/pro/megba-gcc-hero.jpg");
  background-image:
    linear-gradient(
      90deg,
      rgba(4, 52, 48, 0.98) 0%,
      rgba(4, 52, 48, 0.92) 34%,
      rgba(4, 52, 48, 0.58) 58%,
      rgba(4, 52, 48, 0.18) 100%
    ),
    image-set(
      url("../img/pro/megba-gcc-hero.webp") type("image/webp"),
      url("../img/pro/megba-gcc-hero.jpg") type("image/jpeg")
    );
  background-position: center, right center;
  background-size: auto, auto 100%;
  background-repeat: no-repeat;
  background-color: var(--green-950);
}

.workspace-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 0;
  align-items: center;
  min-height: 214px;
}

.workspace-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-partnership-figure {
  position: absolute;
  left: 58%;
  bottom: -7px;
  z-index: 1;
  width: min(39vw, 485px);
  max-height: 96%;
  pointer-events: none;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.38));
  transform: translateX(-31%);
}

.hero-partnership-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 318px;
  object-fit: contain;
}

.workspace-hero h1 {
  margin: 0;
  max-width: 620px;
  color: #fff;
  line-height: 1.05;
}

.workspace-hero p {
  max-width: 560px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-logo-lockup {
  width: 105px;
  height: 105px;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #f6dd78 0%, #c7a246 48%, #fff2a8 100%);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.24));
  -webkit-mask: url("../img/brand/megba-logo.svg") center / contain no-repeat;
  mask: url("../img/brand/megba-logo.svg") center / contain no-repeat;
}

.workspace-hero .hero-actions {
  margin-top: 12px;
}

@media (min-width: 1400px) {
  .workspace-hero .container {
    min-height: 330px;
  }

  .hero-partnership-figure {
    width: min(38vw, 520px);
  }

  .hero-partnership-figure img {
    max-height: 350px;
  }
}

.hero-slide-box {
  display: none;
  position: relative;
  min-height: 326px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 50, 50, 0.74), rgba(6, 50, 50, 0.16) 50%, rgba(6, 50, 50, 0.02));
}

.hero-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.hero-slide figcaption span {
  color: var(--gold-500);
}

.hero-slide figcaption strong {
  color: #fff;
}

.slide-tabs {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  gap: 5px;
}

.slide-tabs button {
  width: 30px;
  height: 28px;
  color: #fff;
  background: rgba(6, 50, 50, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
}

.slide-tabs button.is-active {
  color: var(--green-950);
  background: var(--gold-500);
}

.workspace-dashboard-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 342px;
  gap: 12px;
  align-items: start;
}

.home-page .intelligence-section[hidden] {
  display: none !important;
}

.revenue-path-section {
  padding-block: 17px;
}

.revenue-path-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

.revenue-path-head h2,
.revenue-path-head p,
.revenue-path-head .eyebrow {
  margin: 0;
}

.revenue-path-head h2 {
  max-width: 740px;
}

.revenue-path-head > p {
  color: var(--muted);
}

.revenue-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.revenue-path-card {
  min-height: 232px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 50, 50, 0.08);
}

.revenue-path-card > i {
  width: 28px;
  height: 28px;
  color: var(--gold-600);
}

.revenue-path-card > span {
  width: fit-content;
  padding: 4px 8px;
  color: var(--green-950);
  background: rgba(216, 184, 74, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.revenue-path-card h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 1rem;
  line-height: 1.25;
}

.revenue-path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.revenue-path-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-950);
  font-weight: 800;
}

.revenue-path-card a svg {
  width: 16px;
  height: 16px;
}

.revenue-path-card.is-designed {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-color: rgba(6, 50, 50, 0.1);
}

.revenue-path-card .revenue-export-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-height: 266px;
  margin-top: 0;
  padding: 12px 16px 58px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 54%, rgba(255, 255, 255, 0.18) 100%),
    url("../img/pro/gcc-export-background.webp") right center / cover no-repeat;
  box-shadow: 0 12px 28px rgba(6, 50, 50, 0.08);
  color: var(--green-950);
  text-decoration: none;
}

.revenue-path-card .revenue-card-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  height: 100%;
  min-height: 266px;
  margin-top: 0;
  padding: 12px 16px 58px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--green-950);
  text-decoration: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 62%, rgba(255, 255, 255, 0.66) 100%),
    radial-gradient(circle at 88% 16%, var(--revenue-glow, rgba(216, 184, 74, 0.26)) 0 44px, transparent 45px),
    linear-gradient(135deg, var(--revenue-soft, #f7f4e7), #ffffff);
  box-shadow: 0 12px 28px rgba(6, 50, 50, 0.08);
}

.revenue-path-card .revenue-card-visual::before {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -26px;
  z-index: -1;
  width: 152px;
  height: 152px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent),
    repeating-linear-gradient(90deg, rgba(6, 50, 50, 0.11) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(6, 50, 50, 0.08) 0 1px, transparent 1px 18px),
    var(--revenue-tint, rgba(216, 184, 74, 0.16));
  opacity: 0.75;
  transform: rotate(-8deg);
}

.revenue-path-card .revenue-card-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: -1;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(229, 244, 244, 0.68));
}

.revenue-path-card .revenue-export-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 62%, rgba(229, 244, 244, 0.72) 100%),
    radial-gradient(circle at 76% 24%, rgba(216, 184, 74, 0.14), transparent 28%);
}

.export-pill,
.export-card-cta,
.export-route {
  display: inline-flex;
  align-items: center;
}

.export-pill {
  gap: 5px;
  padding: 5px 10px;
  color: #fff;
  background: var(--green-950);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.export-pill svg {
  width: 15px;
  height: 15px;
}

.revenue-path-card .revenue-export-visual h3 {
  max-width: 286px;
  margin: 8px 0 0;
  color: var(--green-950);
  font-size: 1.58rem !important;
  line-height: 1 !important;
  font-family: "Segoe UI Black", "Arial Black", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 900 !important;
  letter-spacing: 0;
}

.revenue-path-card .revenue-card-visual h3 {
  max-width: 286px;
  margin: 8px 0 0;
  color: var(--green-950);
  font-size: 1.58rem !important;
  line-height: 1 !important;
  font-family: "Segoe UI Black", "Arial Black", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 900 !important;
  letter-spacing: 0;
}

.revenue-path-card .revenue-export-visual h3 span {
  display: block;
  font-weight: 900 !important;
}

.revenue-path-card .revenue-card-visual h3 span {
  display: block;
  font-weight: 900 !important;
}

.revenue-path-card .revenue-export-visual h3::after {
  content: "";
  display: block;
  width: 45px;
  height: 2px;
  margin-top: 8px;
  background: var(--gold-500);
  border-radius: 99px;
}

.revenue-path-card .revenue-card-visual h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 8px;
  background: var(--gold-500);
  border-radius: 99px;
}

.export-route {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.revenue-path-card .revenue-export-visual p {
  max-width: 238px;
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem !important;
  line-height: 1.22 !important;
  font-weight: 600;
}

.revenue-path-card .revenue-card-visual p {
  max-width: 258px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
  font-weight: 600;
}

.revenue-intel-card {
  --revenue-soft: #f8f3e2;
  --revenue-tint: rgba(199, 162, 70, 0.2);
  --revenue-glow: rgba(199, 162, 70, 0.22);
}

.revenue-intel-card .revenue-card-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.18) 100%),
    url("../img/pro/market-info-background.webp") right center / cover no-repeat;
}

.revenue-setup-card {
  --revenue-soft: #eaf7f4;
  --revenue-tint: rgba(15, 118, 110, 0.16);
  --revenue-glow: rgba(15, 118, 110, 0.18);
}

.revenue-setup-card .revenue-card-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.18) 100%),
    url("../img/pro/uae-gcc-setup-life-background.webp") right center / cover no-repeat;
}

.revenue-member-card {
  --revenue-soft: #eef4f2;
  --revenue-tint: rgba(6, 50, 50, 0.15);
  --revenue-glow: rgba(6, 50, 50, 0.14);
}

.revenue-member-card .revenue-card-visual {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 55%, rgba(255, 255, 255, 0.18) 100%),
    url("../img/pro/megba-membership-desk-background.webp") right center / cover no-repeat;
}

.export-card-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  gap: 6px;
  margin-top: 0;
  padding: 8px 13px;
  color: #fff;
  background: var(--green-950);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(6, 50, 50, 0.2);
}

.export-card-cta svg {
  width: 15px;
  height: 15px;
}

.revenue-export-visual:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .revenue-path-head {
    grid-template-columns: 1fr;
  }

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

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

  .revenue-path-card {
    min-height: 0;
  }
}

.workspace-left-stack {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
}

.workspace-shell {
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(216, 184, 74, 0.18), transparent 32%),
    linear-gradient(180deg, #073737, #052b2b);
  border: 1px solid rgba(216, 184, 74, 0.28);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(6, 50, 50, 0.18);
}

.workspace-head {
  min-height: 64px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(6, 50, 50, 0.08);
}

.workspace-head h2,
.workspace-head .eyebrow {
  margin: 0;
}

.workspace-head h2 {
  color: #fff;
}

.workspace-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.workspace-stats span {
  min-height: 30px;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  background: #f4fbf8;
  border-radius: 999px;
}

.workspace-stats strong {
  color: var(--green-950);
}

.desk-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: #f4fbf8;
  border-bottom: 1px solid rgba(6, 50, 50, 0.08);
}

.command-dock {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.command-dock button {
  min-height: 36px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 0;
}

.command-dock button.is-active {
  color: var(--green-950);
  background: var(--gold-500);
}

.workspace-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0;
}

.workspace-main-column {
  min-width: 0;
}

.monitor-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.control-live-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 10px 10px;
}

.control-live-cards-top {
  padding: 0;
}

.workspace-main-column > .control-live-cards {
  display: none;
}

.control-live-card {
  position: relative;
  min-height: 126px;
  padding: 9px;
  gap: 7px;
  border-color: rgba(199, 162, 70, 0.18);
  box-shadow: 0 8px 18px rgba(1, 31, 28, 0.08);
}

.control-live-card[data-live-fx] {
  background: linear-gradient(135deg, #f4d45f 0%, #d8b84a 48%, #c7a246 100%);
  border-color: rgba(118, 83, 10, 0.22);
}

.control-live-card[data-live-fx] .intel-card-head {
  position: relative;
  padding-right: 92px;
}

.control-live-card[data-live-fx] .fx-updated {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 88px;
  padding: 2px 6px;
  color: #063b34;
  font-size: 0.62rem;
  line-height: 1.2;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 999px;
}

.control-live-card[data-live-fx] .intel-card-head span,
.control-live-card[data-live-fx] .intel-metrics span,
.control-live-card[data-live-fx] .intel-metrics small,
.control-live-card[data-live-fx] .fx-updated {
  color: rgba(6, 50, 50, 0.72);
}

.control-live-card[data-live-fx] .intel-card-head .fx-updated {
  color: #063b34;
}

.control-live-card[data-live-fx] .intel-card-head svg.lucide,
.control-live-card[data-live-fx] > a svg.lucide {
  color: var(--green-950);
}

.control-live-card[data-live-fx] > a {
  color: var(--green-950);
}

.weather-gcc-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #062f31;
  background:
    linear-gradient(135deg, rgba(125, 202, 255, 0.95) 0%, rgba(212, 242, 255, 0.92) 54%, rgba(248, 244, 234, 0.96) 100%);
  border-color: rgba(61, 153, 205, 0.35);
}

.weather-gcc-card::before {
  content: "";
  position: absolute;
  inset: -20px;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 224, 118, 0.95) 0 17px, rgba(255, 224, 118, 0.25) 18px 32px, transparent 34px),
    radial-gradient(ellipse at 70% 25%, rgba(255, 255, 255, 0.62) 0 18px, transparent 19px),
    radial-gradient(ellipse at 82% 24%, rgba(255, 255, 255, 0.72) 0 24px, transparent 25px),
    radial-gradient(ellipse at 92% 27%, rgba(255, 255, 255, 0.58) 0 18px, transparent 19px),
    radial-gradient(ellipse at 55% 73%, rgba(255, 255, 255, 0.34) 0 22px, transparent 23px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 58%);
  opacity: 0.92;
  animation: weather-sky-drift 18s ease-in-out infinite alternate;
}

.weather-gcc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.22) 42%, transparent 53%),
    radial-gradient(ellipse at 16% 82%, rgba(255, 255, 255, 0.34) 0 16px, transparent 17px),
    radial-gradient(ellipse at 26% 84%, rgba(255, 255, 255, 0.26) 0 22px, transparent 23px);
  opacity: 0.78;
  mix-blend-mode: screen;
  animation: weather-light-sweep 9s ease-in-out infinite;
}

.weather-gcc-card.is-night {
  color: #fff;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 42%, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px),
    linear-gradient(135deg, #071c3f 0%, #0a345d 48%, #031822 100%);
  border-color: rgba(199, 162, 70, 0.3);
}

.weather-gcc-card.is-night::before {
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 16%, rgba(255, 255, 255, 0.86) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 38%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 52% 68%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.64) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 72%, rgba(255, 255, 255, 0.64) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 18%, rgba(247, 226, 151, 0.95) 0 15px, rgba(247, 226, 151, 0.12) 16px 30px, transparent 32px);
  animation: weather-stars-pulse 5s ease-in-out infinite alternate;
}

.weather-gcc-card.is-night::after {
  background: linear-gradient(115deg, transparent 0 40%, rgba(124, 186, 255, 0.18) 48%, transparent 58%);
  opacity: 0.5;
}

.weather-gcc-card .weather-head {
  position: relative;
  z-index: 1;
  padding-right: 108px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.weather-gcc-card .weather-head svg.lucide {
  color: #c7a246;
}

.weather-gcc-card .weather-head span,
.weather-gcc-card .weather-head strong,
.weather-gcc-card .weather-head em {
  color: inherit;
}

.weather-updated {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 6px;
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(6, 47, 49, 0.82);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.is-night .weather-updated {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.weather-city-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.weather-city {
  min-width: 0;
  min-height: 48px;
  padding: 5px 6px;
  display: grid;
  gap: 2px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.is-night .weather-city {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.weather-city-meta,
.weather-city-values,
.weather-city-extra {
  display: flex;
  align-items: center;
  min-width: 0;
}

.weather-city-meta {
  gap: 4px;
  overflow: hidden;
  color: rgba(6, 47, 49, 0.72);
  font-size: 0.66rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.is-night .weather-city-meta {
  color: rgba(255, 255, 255, 0.72);
}

.weather-city > strong {
  overflow: hidden;
  color: inherit;
  font-size: 0.76rem;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.weather-city-values {
  gap: 2px;
  color: inherit;
  line-height: 1;
}

.weather-city-values b {
  font-size: 0.9rem;
}

.weather-city-values small {
  font-size: 0.66rem;
}

.weather-city-values em {
  margin-left: auto;
  color: rgba(6, 47, 49, 0.76);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
}

.is-night .weather-city-values em {
  color: rgba(255, 255, 255, 0.78);
}

.weather-city-extra {
  display: none;
}

.is-night .weather-city-extra {
  color: rgba(255, 255, 255, 0.68);
}

.weather-city-extra small {
  font-size: inherit;
}

@keyframes weather-sky-drift {
  from { transform: translate3d(-7px, -2px, 0) scale(1); }
  to { transform: translate3d(9px, 4px, 0) scale(1.03); }
}

@keyframes weather-light-sweep {
  0%, 100% { transform: translateX(-18%); opacity: 0.42; }
  50% { transform: translateX(18%); opacity: 0.78; }
}

@keyframes weather-stars-pulse {
  from { opacity: 0.72; transform: scale(1); }
  to { opacity: 1; transform: scale(1.02); }
}

.control-live-card .intel-card-head {
  gap: 7px;
}

.control-live-card .intel-card-head svg.lucide {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.control-live-card .intel-card-head span,
.control-live-card .intel-metrics span,
.control-live-card .intel-metrics small {
  font-size: 0.78rem;
}

.control-live-card .intel-card-head strong {
  font-size: 0.91rem;
  line-height: 1.15;
}

.control-live-card .intel-metrics {
  gap: 6px;
}

.control-live-card .intel-metrics div {
  min-height: 48px;
  padding: 6px 7px;
}

.control-live-card .fx-gcc-metrics div {
  min-height: 38px;
  padding: 5px;
}

.control-live-card .intel-metrics strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.control-live-card .fx-gcc-metrics strong {
  font-size: 0.8rem;
}

.control-live-card > a {
  min-height: 24px;
  font-size: 0.82rem;
  font-weight: 700;
}

.live-news-console {
  margin: 0 10px 10px;
  overflow: hidden;
  background: #063b34;
  border: 1px solid rgba(199, 162, 70, 0.35);
  border-radius: 14px;
}

.workspace-command-grid > .live-news-console {
  margin: 10px;
}

.live-news-head {
  min-height: 76px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  border-bottom: 1px solid rgba(199, 162, 70, 0.25);
  background: linear-gradient(135deg, rgba(11, 74, 65, 0.98), rgba(6, 59, 52, 0.98));
}

.live-news-head div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.live-news-head em {
  padding: 2px 7px;
  color: #063b34;
  font-style: normal;
  background: #c7a246;
  border-radius: 999px;
}

.live-news-head small {
  color: rgba(215, 227, 222, 0.82);
}

.intel-title-stack {
  display: grid;
  gap: 3px;
}

.intel-title-stack strong {
  font-size: 24px;
  line-height: 1.15;
}

.intel-title-stack small {
  color: #d7e3de;
}

.live-news-head .intel-update-note {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.live-news-head .intel-update-note span {
  color: #fff;
}

.news-filter-stack {
  padding: 8px 10px 0;
  display: grid;
  gap: 6px;
}

.news-category-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
}

.news-category-tabs button {
  min-height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
  background: #0b4a41;
  border: 1px solid rgba(199, 162, 70, 0.22);
  border-radius: 999px;
}

.news-category-tabs button.is-active {
  color: #063b34;
  background: #c7a246;
  border-color: rgba(199, 162, 70, 0.8);
}

.live-news-body {
  display: grid;
  grid-template-columns: minmax(320px, 35%) minmax(0, 65%);
  gap: 14px;
  padding: 14px;
}

.live-news-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  padding: 0;
}

.workspace-command-grid .live-news-list {
  max-height: 640px;
  grid-template-columns: 1fr;
  overflow-y: auto;
  padding-right: 4px;
}

.live-news-item {
  width: 100%;
  min-height: 98px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  color: #fff;
  background: #0b4a41;
  border: 1px solid rgba(199, 162, 70, 0.2);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.live-news-item.is-new {
  background: rgba(216, 184, 74, 0.18);
  border-color: rgba(216, 184, 74, 0.55);
  transform: translateY(-1px);
}

.live-news-item.is-active {
  background: rgba(216, 184, 74, 0.2);
  border-color: rgba(216, 184, 74, 0.68);
}

.live-news-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}

.live-news-item > span {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: start;
}

.live-news-item span,
.live-news-item small,
.live-news-item em {
  color: rgba(255, 255, 255, 0.64);
  font-style: normal;
}

.live-news-item strong {
  min-width: 0;
  color: #fff;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.live-news-item small {
  width: fit-content;
  padding: 2px 7px;
  color: #063b34;
  background: rgba(199, 162, 70, 0.9);
  border-radius: 999px;
}

.live-news-reader {
  min-width: 0;
  padding: 22px;
  overflow: visible;
  background: #f8f4ea;
  border: 1px solid rgba(199, 162, 70, 0.3);
  border-radius: 14px;
}

.live-news-reader.is-loading {
  opacity: 0.62;
}

.live-news-reader > img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

.live-news-reader > span {
  margin-top: 12px;
  display: block;
  color: #8a6b19;
}

.live-news-reader h3 {
  margin: 6px 0 10px;
  color: #052b2b;
  font-size: 24px;
  line-height: 1.2;
}

.reader-summary {
  margin: 0 0 14px;
  color: #274844;
}

.reader-source-inline {
  width: fit-content;
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0b4a41;
  text-decoration: none;
}

.reader-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reader-insight-grid section {
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(6, 59, 52, 0.08);
  border-radius: 10px;
}

.reader-insight-grid h4 {
  margin: 0 0 8px;
  color: #063b34;
}

.reader-insight-grid ul {
  margin: 0;
  padding-left: 18px;
  color: #274844;
}

.reader-insight-grid li + li {
  margin-top: 5px;
}

.reader-cta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reader-cta-row .button-outline {
  color: #063b34;
  border-color: rgba(6, 59, 52, 0.28);
  background: #fff;
}

.live-news-source {
  width: fit-content;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-500);
  text-decoration: none;
}

.live-news-source svg.lucide {
  width: 13px;
  height: 13px;
}

.live-news-source:hover {
  color: #fff;
}

.market-intel-rail {
  margin: 10px 10px 10px 0;
  align-self: stretch;
  display: flex;
  min-width: 0;
  max-height: 650px;
  flex-direction: column;
  background: #063b34;
  border: 1px solid rgba(199, 162, 70, 0.32);
  border-radius: 10px;
  overflow: hidden;
}

.market-intel-rail-standalone {
  margin: 0;
  min-height: 0;
  max-height: none;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(6, 50, 50, 0.14);
}

.workspace-dashboard-row > .market-intel-rail-standalone {
  height: auto;
  align-self: start;
}

.market-intel-rail-standalone .market-intel-mini-list {
  max-height: 515px;
}

.workspace-dashboard-row > .market-intel-rail-standalone .market-intel-mini-list {
  flex: 0 0 auto;
  min-height: 0;
  max-height: 360px;
}

.market-intel-rail-head {
  padding: 11px 12px;
  display: grid;
  gap: 7px;
  border-bottom: 1px solid rgba(199, 162, 70, 0.22);
}

.market-intel-rail-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.market-intel-rail-head strong {
  display: block;
  color: #fff;
}

.market-intel-rail-head small,
.market-intel-rail-head em {
  color: rgba(215, 227, 222, 0.72);
  font-style: normal;
}

.market-intel-mini-list {
  padding: 8px;
  display: grid;
  gap: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(199, 162, 70, 0.78) rgba(255, 255, 255, 0.06);
}

.market-intel-mini-list::-webkit-scrollbar {
  width: 7px;
}

.market-intel-mini-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.market-intel-mini-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(216, 184, 74, 0.95), rgba(151, 118, 35, 0.95));
  border: 2px solid #063b34;
  border-radius: 999px;
}

.market-intel-mini-list::-webkit-scrollbar-thumb:hover {
  background: #d8b84a;
}

.market-intel-mini-item {
  min-height: 82px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  padding: 8px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.market-intel-mini-item:hover {
  background: rgba(199, 162, 70, 0.14);
  border-color: rgba(199, 162, 70, 0.45);
}

.market-intel-mini-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 7px;
}

.market-intel-mini-item span {
  min-width: 0;
  display: grid;
  gap: 3px;
  align-content: start;
}

.market-intel-mini-item small,
.market-intel-mini-item em {
  color: rgba(215, 227, 222, 0.7);
  font-style: normal;
}

.market-intel-mini-item strong {
  color: #fff;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.market-intel-mini-item em {
  width: fit-content;
  max-width: 100%;
  min-height: 18px;
  padding: 3px 7px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #063b34;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  background: #c7a246;
  border-radius: 999px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-intel-view-all {
  min-height: 38px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(199, 162, 70, 0.22);
}

.intelligence-detail-section {
  background: #f5f1e8;
}

.intelligence-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}

.intelligence-detail-card,
.intelligence-latest-panel {
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(6, 50, 50, 0.08);
}

.intelligence-detail-card {
  padding: 22px;
}

.detail-back-link,
.reader-source-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b4a41;
  text-decoration: none;
}

.intelligence-detail-image {
  width: 100%;
  max-height: 340px;
  margin-top: 14px;
  object-fit: cover;
  border-radius: 10px;
}

.intelligence-detail-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.intelligence-detail-meta span {
  padding: 4px 8px;
  color: #063b34;
  background: #f8f4ea;
  border: 1px solid rgba(199, 162, 70, 0.28);
  border-radius: 999px;
}

.intelligence-detail-card h1 {
  margin: 12px 0 8px;
  color: #052b2b;
  font-size: 28px;
  line-height: 1.18;
}

.intelligence-detail-summary {
  color: #3f5b57;
}

.intelligence-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.intelligence-insight-grid section {
  padding: 14px;
  background: #f8f4ea;
  border-radius: 10px;
}

.intelligence-insight-grid h2 {
  margin: 0 0 8px;
  color: #063b34;
  font-size: 17px;
}

.intelligence-insight-grid ul {
  margin: 0;
  padding-left: 18px;
  color: #274844;
}

.intelligence-insight-grid li + li {
  margin-top: 6px;
}

.intelligence-cta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.intelligence-cta-row .button-outline {
  color: #063b34;
  border-color: rgba(6, 59, 52, 0.25);
  background: #fff;
}

.intelligence-source-footer {
  margin-top: 18px;
  padding-top: 14px;
  display: grid;
  gap: 5px;
  border-top: 1px solid rgba(6, 50, 50, 0.1);
}

.intelligence-source-footer span {
  color: var(--muted);
}

.intelligence-source-footer a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0b4a41;
}

.intelligence-latest-panel {
  align-self: start;
  overflow: hidden;
}

.latest-panel-head {
  padding: 12px;
  display: grid;
  gap: 3px;
  background: #063b34;
}

.latest-panel-head strong {
  color: #fff;
}

.latest-panel-head small {
  color: rgba(215, 227, 222, 0.72);
}

.latest-panel-list {
  max-height: 720px;
  padding: 8px;
  display: grid;
  gap: 7px;
  overflow-y: auto;
}

.latest-panel-list a {
  min-height: 72px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px;
  padding: 7px;
  color: #052b2b;
  text-decoration: none;
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 8px;
}

.latest-panel-list a.is-active {
  border-color: rgba(199, 162, 70, 0.7);
  background: #f8f4ea;
}

.latest-panel-list img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 7px;
}

.latest-panel-list span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.latest-panel-list small {
  color: var(--muted);
}

.latest-panel-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.monitor-tile {
  position: relative;
  min-height: 92px;
  padding: 10px;
  display: grid;
  gap: 3px;
  align-content: start;
  text-align: left;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  overflow: hidden;
}

.monitor-tile::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  background: #2fd18b;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(47, 209, 139, 0.13);
}

.monitor-tile svg.lucide {
  width: 17px;
  height: 17px;
  color: var(--gold-500);
}

.monitor-tile span,
.monitor-tile small {
  color: rgba(255, 255, 255, 0.66);
}

.monitor-tile strong {
  color: #fff;
}

.monitor-tile.is-active {
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-500), #f1d76d);
  border-color: rgba(255, 255, 255, 0.34);
}

.monitor-tile.is-active svg.lucide,
.monitor-tile.is-active span,
.monitor-tile.is-active small,
.monitor-tile.is-active strong {
  color: var(--green-950);
}

.monitor-tile.is-active::before {
  background: var(--green-950);
  box-shadow: 0 0 0 4px rgba(6, 50, 50, 0.12);
}

.desk-tabs button {
  min-height: 38px;
  padding: 0 15px;
  color: var(--green-950);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(6, 50, 50, 0.08);
}

.desk-tabs button.is-active {
  background: var(--gold-500);
}

.desk-panel {
  padding: 10px;
  background: #f6fbf8;
}

.desk-panel[hidden] {
  display: none;
}

.workspace-card-grid,
.service-tile-grid,
.market-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.workspace-card,
.service-tile,
.market-mini-card,
.workspace-row,
.plan-strip a {
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 7px;
  box-shadow: 0 8px 16px rgba(6, 50, 50, 0.04);
}

.workspace-card {
  min-height: 74px;
  padding: 9px;
  display: grid;
  gap: 4px;
  align-content: start;
}

.workspace-card svg.lucide,
.service-tile svg.lucide {
  width: 16px;
  height: 16px;
  color: var(--gold-600);
}

.workspace-card span,
.service-tile small,
.workspace-row span,
.workspace-row small,
.workspace-row em,
.market-mini-card p,
.market-mini-card .mini-chip-row span,
.plan-strip small,
.plan-strip span {
  color: var(--muted);
  font-style: normal;
}

.workspace-card strong,
.service-tile strong,
.workspace-row strong,
.market-mini-card strong,
.plan-strip strong {
  min-width: 0;
  color: var(--green-950);
}

.market-mini-card {
  min-height: 140px;
  padding: 10px;
  display: grid;
  gap: 7px;
}

.market-mini-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.market-mini-card > div:first-child span {
  color: var(--gold-600);
}

.market-mini-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mini-chip-row span {
  padding: 3px 6px;
  background: #f4fbf8;
  border-radius: 999px;
}

.market-mini-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green-950);
}

.service-tile {
  min-height: 68px;
  padding: 9px;
  display: grid;
  gap: 5px;
}

.plan-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.plan-strip a {
  min-height: 62px;
  padding: 8px;
  display: grid;
  gap: 2px;
}

.plan-strip a.featured {
  background: #fffaf0;
  border-color: rgba(216, 184, 74, 0.6);
}

.workspace-row-list {
  display: grid;
  gap: 6px;
}

.workspace-row {
  min-height: 50px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 170px 90px;
  gap: 8px;
  align-items: center;
}

.workspace-row strong,
.workspace-row small,
.workspace-row em {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.workspace-row[hidden] {
  display: none;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.intelligence-section {
  padding-top: 0;
}

.intel-board-head {
  min-height: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.intel-board-head .eyebrow,
.intel-board-head h2 {
  margin: 0;
}

.intel-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.intel-status-strip span {
  min-height: 28px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green-950);
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 999px;
}

.intel-status-strip svg.lucide {
  width: 13px;
  height: 13px;
  color: var(--gold-600);
}

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

.intel-card {
  position: relative;
  min-height: 142px;
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 7px;
  box-shadow: 0 8px 16px rgba(6, 50, 50, 0.04);
}

.intel-card.weather-gcc-card {
  color: #062f31;
  background:
    linear-gradient(135deg, rgba(125, 202, 255, 0.95) 0%, rgba(212, 242, 255, 0.92) 54%, rgba(248, 244, 234, 0.96) 100%);
  border-color: rgba(61, 153, 205, 0.35);
}

.intel-card.weather-gcc-card.is-night {
  color: #fff;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 42%, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px),
    linear-gradient(135deg, #071c3f 0%, #0a345d 48%, #031822 100%);
  border-color: rgba(199, 162, 70, 0.3);
}

.intel-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.intel-card-head svg.lucide {
  width: 17px;
  height: 17px;
  color: var(--gold-600);
  flex: 0 0 17px;
}

.intel-card-head span,
.intel-metrics span,
.intel-metrics small,
.source-list a,
.intel-card p {
  color: var(--muted);
}

.intel-card-head strong,
.intel-metrics strong {
  display: block;
  color: var(--green-950);
}

.fx-updated {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.1;
  white-space: nowrap;
}

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

.fx-gcc-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}

.intel-metrics div {
  min-height: 52px;
  padding: 7px;
  display: grid;
  align-content: center;
  background: #f4fbf8;
  border-radius: 6px;
}

.fx-gcc-metrics div {
  min-height: 38px;
  padding: 5px;
}

[data-live-fx] .fx-gcc-metrics div,
[data-live-fx] .fx-calculator label,
[data-live-fx] .fx-calculator select,
[data-live-fx] .fx-calculator > strong {
  background: rgba(255, 255, 255, 0.54);
}

.fx-gcc-metrics span {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.fx-gcc-metrics strong {
  font-size: 0.82rem;
  line-height: 1.05;
}

.fx-gcc-metrics small {
  font-size: 0.66rem;
  line-height: 1;
}

.fx-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 0.8fr);
  gap: 5px;
  align-items: center;
}

.fx-calculator label,
.fx-calculator select,
.fx-calculator > strong {
  min-height: 28px;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 6px;
  background: #f4fbf8;
}

.fx-calculator label {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
}

.fx-calculator .fx-currency-amount {
  min-width: 0;
}

.fx-calculator label span {
  color: var(--muted);
  font-size: 0.72rem;
}

.fx-calculator input,
.fx-calculator select {
  width: 100%;
  min-width: 0;
  color: var(--green-950);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  background: transparent;
  border: 0;
  outline: 0;
}

.fx-calculator select {
  padding: 0 5px;
}

.fx-calculator > strong {
  display: flex;
  align-items: center;
  padding: 0 7px;
  color: var(--green-950);
  font-size: 0.78rem;
  line-height: 1.05;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.currency-flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 4px;
  object-fit: cover;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 2px;
  line-height: 1;
  vertical-align: -1px;
}

.source-list {
  display: grid;
  gap: 5px;
}

.source-list a,
.intel-card > a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green-950);
}

.source-list a {
  padding: 5px 7px;
  background: #f4fbf8;
  border-radius: 6px;
}

.intel-card p {
  margin: 0;
}

.workspace-home .compact-final-cta {
  padding-block: 17px;
}

@media (max-width: 1080px) {
  .workspace-hero .container {
    width: min(1180px, calc(100% - 24px));
  }

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

  .hero-partnership-figure {
    left: 70%;
    bottom: -3px;
    width: min(54vw, 430px);
    opacity: 0.72;
    transform: translateX(-40%);
  }

  .hero-partnership-figure img {
    max-height: 280px;
  }

  .hero-slide-box {
    min-height: 280px;
  }

  .workspace-dashboard-row {
    grid-template-columns: 1fr;
  }

  .workspace-card-grid,
  .service-tile-grid,
  .market-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .workspace-row small,
  .workspace-row em {
    grid-column: 2;
  }

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

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

  .workspace-command-grid > .live-news-console {
    margin: 0 10px 10px;
  }

  .market-intel-rail {
    margin: 0 10px 10px;
    max-height: none;
  }

  .market-intel-rail-standalone {
    margin: 0;
  }

  .market-intel-mini-list {
    max-height: none;
  }

  .intelligence-detail-layout {
    grid-template-columns: 1fr;
  }

  .workspace-command-grid .live-news-list {
    max-height: 420px;
    grid-template-columns: 1fr;
  }

  .command-dock,
  .monitor-board,
  .live-news-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .control-live-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .workspace-home {
    overflow-x: hidden;
  }

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

  .workspace-hero {
    min-height: 0;
    padding: 0;
    background: linear-gradient(180deg, #dfeceb 0%, #edf7f6 100%);
  }

  .workspace-hero .container {
    min-height: 350px;
    padding: 22px 18px;
    background-image:
      linear-gradient(
        90deg,
        rgba(4, 52, 48, 0.94) 0%,
        rgba(4, 52, 48, 0.88) 48%,
        rgba(4, 52, 48, 0.52) 100%
      ),
      image-set(
        url("../img/pro/megba-gcc-hero-mobile.webp") type("image/webp"),
        url("../img/pro/megba-gcc-hero-mobile.jpg") type("image/jpeg")
      );
    background-position: center, right center;
    background-size: auto, auto 100%;
    background-repeat: no-repeat;
  }

  .workspace-hero-grid {
    min-height: 322px;
    align-items: center;
  }

  .hero-partnership-figure {
    display: none;
  }

  .hero,
  .compact-hero,
  .events-hero {
    background-image:
      linear-gradient(180deg, rgba(6, 50, 50, 0.94), rgba(6, 50, 50, 0.72)),
      image-set(
        url("../img/pro/megba-gcc-hero-tall-mobile.webp") type("image/webp"),
        url("../img/pro/megba-gcc-hero-tall-mobile.jpg") type("image/jpeg")
      );
    background-position: center, 78% center;
    background-size: auto, cover;
  }

  .workspace-hero h1 {
    max-width: 330px;
    font-size: 1.35rem !important;
    line-height: 1.14;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-logo-lockup {
    width: 98px;
    height: 98px;
    margin-bottom: 10px;
  }

  .hero-slide-box {
    min-height: 220px;
  }

  .slide-tabs {
    top: 10px;
    right: auto;
    left: 10px;
    gap: 4px;
  }

  .slide-tabs button {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .intel-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .workspace-head h2 {
    font-size: 1.15rem;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .workspace-card-grid,
  .service-tile-grid,
  .market-mini-grid,
  .plan-strip,
  .intel-grid {
    grid-template-columns: 1fr;
  }

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

  .workspace-row small,
  .workspace-row em {
    grid-column: 1;
  }

  .workspace-command-grid .live-news-list {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .live-news-body {
    grid-template-columns: 1fr;
  }

  .live-news-reader {
    max-height: none;
  }

  .live-news-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .intel-update-note {
    justify-items: start;
    text-align: left;
  }

  .reader-insight-grid {
    grid-template-columns: 1fr;
  }

  .reader-cta-row .button {
    width: 100%;
  }

  .intelligence-insight-grid {
    grid-template-columns: 1fr;
  }

  .intelligence-cta-row .button {
    width: 100%;
  }

  .command-dock,
  .monitor-board,
  .live-news-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .live-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .live-stat:nth-child(3) {
    grid-column: 1 / -1;
  }

  .opportunity-feed-item {
    grid-template-columns: 1fr;
  }

  .feed-action {
    width: 100%;
  }
}

/* GCC country selector */
.gcc-market-section {
  padding-top: 24px;
  padding-bottom: 24px;
  background: #f6fbf8;
}

.market-selector-heading {
  max-width: 760px;
  margin-bottom: 12px;
}

.market-selector-heading p {
  margin-top: 6px;
}

.market-selector-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.gcc-map-card,
.market-selector-content,
.market-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(6, 50, 50, 0.06);
}

.gcc-map-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.gcc-map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gcc-map-top span,
.market-code {
  color: var(--muted);
  text-transform: uppercase;
}

.gcc-map-top strong {
  color: var(--green-950);
}

.gcc-map-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 50, 50, 0.96), rgba(24, 96, 96, 0.82)),
    url("../img/pro/dubai-skyline.jpg") center / cover;
  border-radius: 8px;
}

.gcc-map-visual::before {
  content: "";
  position: absolute;
  inset: 36px 34px 28px 56px;
  background:
    linear-gradient(145deg, rgba(216, 184, 74, 0.3), rgba(255, 255, 255, 0.1));
  clip-path: polygon(10% 25%, 36% 15%, 63% 25%, 76% 44%, 92% 56%, 78% 80%, 48% 87%, 28% 72%, 14% 54%);
  border: 1px solid rgba(216, 184, 74, 0.45);
  opacity: 0.95;
}

.gcc-map-path {
  position: absolute;
  inset: 38px 32px 40px 58px;
  border-right: 2px dashed rgba(255, 255, 255, 0.34);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.22);
  transform: skew(-12deg);
}

.gcc-map-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: 46px;
  min-height: 32px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(6, 50, 50, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.gcc-map-node.is-active {
  color: var(--green-950);
  background: var(--gold-500);
  border-color: var(--gold-500);
  box-shadow: 0 0 0 5px rgba(216, 184, 74, 0.22);
}

.gcc-map-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: var(--navy-700);
}

.gcc-map-note svg.lucide {
  width: 28px;
  height: 28px;
  padding: 6px;
  color: var(--gold-600);
  background: rgba(216, 184, 74, 0.16);
  border-radius: 7px;
}

.market-selector-content {
  min-width: 0;
  padding: 12px;
}

.country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.country-tab {
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-950);
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 999px;
}

.country-tab span {
  color: var(--gold-600);
}

.country-tab.is-active {
  color: var(--green-950);
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.country-tab.is-active span {
  color: var(--green-950);
}

.market-panels {
  display: grid;
}

.market-panel {
  grid-area: 1 / 1;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 12px;
  min-height: 278px;
  padding: 10px;
}

.market-panel.is-active {
  display: grid;
}

.market-panel[hidden] {
  display: none;
}

.market-photo {
  position: relative;
  min-height: 256px;
  overflow: hidden;
  border-radius: 8px;
}

.market-photo img {
  width: 100%;
  height: 100%;
  min-height: 256px;
  object-fit: cover;
}

.market-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 50, 50, 0.88));
}

.market-photo div {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--white);
}

.market-photo span {
  min-height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 999px;
}

.market-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 4px 2px 4px 0;
}

.market-copy h3,
.market-copy p {
  margin: 0;
}

.market-copy h3 {
  color: var(--green-950);
}

.market-copy p {
  color: var(--navy-700);
}

.market-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 10px;
}

.market-info-grid > div {
  min-height: 102px;
  padding: 10px;
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 8px;
}

.market-info-grid small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  text-transform: uppercase;
}

.market-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.market-chip-list span {
  min-height: 25px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  color: var(--green-950);
  background: rgba(216, 184, 74, 0.16);
  border: 1px solid rgba(216, 184, 74, 0.28);
  border-radius: 999px;
}

.market-copy .button {
  width: fit-content;
  min-height: 38px;
}

@media (max-width: 1040px) {
  .market-selector-shell,
  .market-panel {
    grid-template-columns: 1fr;
  }

  .gcc-map-visual {
    min-height: 220px;
  }

  .market-photo,
  .market-photo img {
    min-height: 210px;
  }
}

@media (max-width: 680px) {
  .gcc-market-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .country-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .country-tab {
    flex: 0 0 auto;
  }

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

  .market-copy .button {
    width: 100%;
  }
}

/* Compact GCC event radar */
.events-hero {
  background-image:
    linear-gradient(90deg, rgba(7, 41, 31, 0.92), rgba(7, 41, 31, 0.52)),
    url("../img/pro/megba-gcc-hero-tall.jpg");
  background-image:
    linear-gradient(90deg, rgba(7, 41, 31, 0.92), rgba(7, 41, 31, 0.52)),
    image-set(
      url("../img/pro/megba-gcc-hero-tall.webp") type("image/webp"),
      url("../img/pro/megba-gcc-hero-tall.jpg") type("image/jpeg")
    );
  background-position: center, center 48%;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

@media (max-width: 700px) {
  .events-hero {
    background-image:
      linear-gradient(180deg, rgba(6, 50, 50, 0.94), rgba(6, 50, 50, 0.72)),
      image-set(
        url("../img/pro/megba-gcc-hero-tall-mobile.webp") type("image/webp"),
        url("../img/pro/megba-gcc-hero-tall-mobile.jpg") type("image/jpeg")
      );
    background-position: center, center center;
    background-size: auto, cover;
  }
}

.event-radar-section {
  padding-top: 24px;
  padding-bottom: 24px;
  background: linear-gradient(180deg, rgba(244, 251, 248, 0.98), rgba(238, 248, 244, 0.98));
}

.event-radar-page {
  background: #f6fbf8;
}

.event-radar-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.event-radar-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(106px, 1fr));
  gap: 8px;
  min-width: 360px;
}

.event-radar-page .event-radar-stats {
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  min-width: 460px;
}

.event-radar-stats div,
.event-control-panel,
.event-mission-card,
.event-feed-card,
.event-radar-bar {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(6, 50, 50, 0.06);
}

.event-radar-stats div {
  min-height: 58px;
  padding: 8px 10px;
  display: grid;
  align-content: center;
  gap: 2px;
}

.event-radar-stats strong {
  color: var(--green-950);
  line-height: 1;
  white-space: nowrap;
}

.event-radar-stats span {
  color: var(--muted);
}

.event-radar-shell {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.event-radar-shell-compact {
  grid-template-columns: minmax(0, 1fr) 270px;
}

.event-control-panel,
.event-mission-card {
  position: sticky;
  top: calc(var(--header-height) + 10px);
  display: grid;
  gap: 10px;
  padding: 12px;
}

.event-control-next {
  display: grid;
  gap: 4px;
  padding: 10px;
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 8px;
}

.event-control-next span,
.event-control-next small {
  color: var(--muted);
}

.event-control-next strong {
  color: var(--green-950);
  line-height: 1.2;
}

.event-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.event-filter-stack {
  display: grid;
  margin-bottom: 0;
}

.event-filter {
  min-height: 31px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--green-950);
  background: #ffffff;
  border: 1px solid rgba(6, 50, 50, 0.13);
  border-radius: 999px;
  cursor: pointer;
}

.event-filter span {
  color: var(--muted);
}

.event-filter-label {
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--type-small);
  text-transform: uppercase;
  letter-spacing: 0;
}

.event-filter.is-active {
  color: var(--green-950);
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.event-filter.is-active span {
  color: var(--green-950);
}

.event-radar-main {
  min-width: 0;
}

.event-radar-bar {
  min-height: 44px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.event-radar-bar span,
.event-radar-bar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-950);
}

.event-radar-bar svg.lucide {
  width: 15px;
  height: 15px;
  color: var(--gold-600);
}

.event-feed {
  display: grid;
  gap: 7px;
}

.event-feed-card {
  position: relative;
  min-height: 84px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 174px;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  overflow: hidden;
}

.event-feed-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold-500);
}

.event-feed-card[hidden] {
  display: none;
}

.event-feed-card-compact {
  grid-template-columns: 112px minmax(0, 1fr) 138px;
}

.event-datebox {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 58px;
  padding: 8px;
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 7px;
}

.event-datebox span {
  color: var(--green-950);
  line-height: 1.05;
  white-space: nowrap;
}

.event-datebox small {
  color: var(--success);
}

.event-card-main {
  min-width: 0;
}

.event-titleline {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.event-titleline h3 {
  min-width: 0;
  margin: 0;
  color: var(--green-950);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-status {
  flex: 0 0 auto;
  min-height: 23px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
}

.event-status-confirmed {
  color: var(--success);
  background: rgba(25, 118, 74, 0.11);
}

.event-status-verify {
  color: var(--warning);
  background: rgba(216, 184, 74, 0.18);
}

.event-status-tba {
  color: var(--muted);
  background: rgba(102, 112, 133, 0.12);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 5px;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--navy-700);
}

.event-meta svg.lucide {
  width: 13px;
  height: 13px;
  color: var(--gold-600);
}

.event-card-main p {
  margin: 5px 0 0;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-card-actions {
  display: grid;
  gap: 6px;
  justify-items: stretch;
  min-width: 0;
}

.event-action,
.event-source {
  min-height: 32px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
}

.event-action {
  color: var(--green-950);
  background: var(--gold-500);
  border: 1px solid var(--gold-500);
}

.event-source {
  color: var(--green-950);
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.1);
  min-width: 0;
  overflow: hidden;
}

.event-action svg.lucide,
.event-source svg.lucide {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.event-source span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-mini-steps {
  display: grid;
  gap: 6px;
}

.event-mini-steps span {
  min-height: 34px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  color: var(--green-950);
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.09);
  border-radius: 7px;
}

.event-mission-card .button {
  width: 100%;
}

.event-radar-empty {
  margin: 8px 0 0;
  padding: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(6, 50, 50, 0.18);
  border-radius: 8px;
}

.event-radar-empty[hidden] {
  display: none;
}

@media (max-width: 1060px) {
  .event-radar-head,
  .event-radar-shell,
  .event-radar-shell-compact {
    grid-template-columns: 1fr;
  }

  .event-radar-stats,
  .event-radar-page .event-radar-stats {
    min-width: 0;
  }

  .event-control-panel,
  .event-mission-card {
    position: static;
  }

  .event-filter-stack {
    display: flex;
  }
}

@media (max-width: 760px) {
  .event-radar-stats,
  .event-radar-page .event-radar-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-feed-card,
  .event-feed-card-compact {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  .event-card-actions {
    grid-column: 1 / -1;
    display: flex;
  }

  .event-action,
  .event-source {
    flex: 1 1 0;
  }
}

@media (max-width: 560px) {
  .event-radar-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .event-radar-stats,
  .event-radar-page .event-radar-stats {
    grid-template-columns: 1fr;
  }

  .event-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .event-filter {
    flex: 0 0 auto;
  }

  .event-feed-card,
  .event-feed-card-compact {
    grid-template-columns: 1fr;
  }

  .event-titleline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .event-titleline h3,
  .event-card-main p {
    white-space: normal;
  }

  .event-card-actions {
    display: grid;
  }
}

/* Three-size typography lock: large, medium, small. */
:root {
  --type-large: 1.38rem;
  --type-medium: 0.84rem;
  --type-small: 0.68rem;
}

.nexta-skin,
.nexta-skin p,
.nexta-skin li,
.nexta-skin a,
.nexta-skin button,
.nexta-skin input,
.nexta-skin select,
.nexta-skin textarea,
.nexta-skin td,
.nexta-skin dd,
.nexta-skin .button,
.nexta-skin .site-nav a,
.nexta-skin .brand strong,
.nexta-skin .route-map span,
.nexta-skin h3,
.nexta-skin h4,
.nexta-skin h5,
.nexta-skin h6,
.nexta-skin .path-card h3,
.nexta-skin .mini-card h3,
.nexta-skin .service-card h3,
.nexta-skin .sector-card h3,
.nexta-skin .pricing-card h3,
.nexta-skin .feature-card h3,
.nexta-skin .feed-titleline h3,
.nexta-skin .pipeline-list strong,
.nexta-skin .live-update-card strong {
  font-size: var(--type-medium) !important;
}

.nexta-skin h1,
.nexta-skin h2,
.nexta-skin .hero h1,
.nexta-skin .page-hero h1,
.nexta-skin .compact-hero h1,
.nexta-skin .section-heading h2,
.nexta-skin .metric-grid strong,
.nexta-skin .live-stat strong,
.nexta-skin .admin-stat strong,
.nexta-skin .pricing-card .price,
.nexta-skin .record-title,
.nexta-skin .admin-head h1 {
  font-size: var(--type-large) !important;
}

.nexta-skin small,
.nexta-skin label,
.nexta-skin th,
.nexta-skin dt,
.nexta-skin .eyebrow,
.nexta-skin .brand small,
.nexta-skin .language-code,
.nexta-skin .language-menu a,
.nexta-skin .card-meta span,
.nexta-skin .status-pill,
.nexta-skin .detail-list span,
.nexta-skin .panel-topline,
.nexta-skin .plan-badge,
.nexta-skin .opportunity-topline span,
.nexta-skin .opportunity-tags span,
.nexta-skin .opportunity-row-side > span,
.nexta-skin .live-kicker,
.nexta-skin .live-stat span,
.nexta-skin .event-radar-stats span,
.nexta-skin .event-filter,
.nexta-skin .event-control-next span,
.nexta-skin .event-control-next small,
.nexta-skin .event-datebox span,
.nexta-skin .event-datebox small,
.nexta-skin .event-status,
.nexta-skin .event-meta span,
.nexta-skin .event-card-main p,
.nexta-skin .event-action,
.nexta-skin .event-source,
.nexta-skin .event-mini-steps span,
.nexta-skin .event-radar-bar,
.nexta-skin .event-radar-empty,
.nexta-skin .feed-status strong,
.nexta-skin .feed-status small,
.nexta-skin .feed-titleline span,
.nexta-skin .feed-meta span,
.nexta-skin .feed-action,
.nexta-skin .live-panel-head,
.nexta-skin .pipeline-list span,
.nexta-skin .pipeline-list small,
.nexta-skin .live-update-card span,
.nexta-skin .admin-stat span,
.nexta-skin .footer-bottom {
  font-size: var(--type-small) !important;
}

.site-footer .footer-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.08fr) minmax(170px, 0.46fr) minmax(180px, 0.46fr);
  gap: 32px;
}

.site-footer .footer-about {
  max-width: 560px;
}

.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 12px;
}

.site-footer .footer-brand .brand-logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  padding: 0;
}

.footer-brand-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-footer .footer-brand strong {
  margin: 0;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
}

.site-footer .footer-brand small {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem !important;
  line-height: 1.25;
}

.site-footer .footer-about-text {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem !important;
  line-height: 1.45;
}

.site-footer h2 {
  margin-bottom: 10px;
}

.footer-official-contact {
  display: grid;
  gap: 4px;
  max-width: 620px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.4;
}

.footer-official-contact a {
  display: inline;
  margin: 0;
  color: #fff;
  font-weight: 700;
}

/* About page: credibility-first business profile */
.about-page .about-hero {
  min-height: 310px;
  padding: 32px 0;
  background-image:
    linear-gradient(90deg, rgba(6, 50, 50, 0.94), rgba(6, 50, 50, 0.76) 48%, rgba(6, 50, 50, 0.34)),
    url("../img/pro/dubai-marina.jpg");
  background-position: center, center 48%;
  background-size: cover;
}

.about-hero-grid,
.about-intro-grid,
.about-legal-grid,
.about-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: center;
}

.about-hero .hero-actions {
  margin-top: 14px;
}

.about-hero-trust {
  min-height: 220px;
  padding: 18px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: #fff;
  text-align: center;
  background: rgba(6, 50, 50, 0.74);
  border: 1px solid rgba(199, 162, 70, 0.38);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.about-trust-logo {
  width: 88px;
  height: 88px;
  display: block;
  background: linear-gradient(135deg, #f6dd78 0%, #c7a246 52%, #fff2a8 100%);
  -webkit-mask: url("../img/brand/megba-logo.svg") center / contain no-repeat;
  mask: url("../img/brand/megba-logo.svg") center / contain no-repeat;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.about-hero-trust strong {
  color: var(--gold-500);
  font-size: 1rem;
  line-height: 1.15;
}

.about-hero-trust span,
.about-hero-trust small {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.about-intro-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
}

.about-photo-card {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(6, 50, 50, 0.12);
  box-shadow: 0 18px 40px rgba(6, 50, 50, 0.12);
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  display: block;
}

.about-photo-card figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(6, 50, 50, 0.84);
  border: 1px solid rgba(199, 162, 70, 0.34);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
}

.about-legal-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  align-items: stretch;
}

.about-legal-panel,
.legal-identity-card,
.about-disclaimer-card {
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(6, 50, 50, 0.08);
}

.about-legal-panel {
  padding: 18px;
}

.legal-identity-card {
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.legal-identity-card div {
  min-height: 64px;
  padding: 9px 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 8px;
}

.legal-identity-card span {
  color: var(--muted);
  font-size: 0.72rem;
}

.legal-identity-card strong {
  color: var(--green-950);
  font-size: 0.86rem;
  line-height: 1.22;
}

.about-mission-grid {
  align-items: stretch;
}

.about-statement-card {
  min-height: 230px;
  padding: 18px;
}

.about-statement-card > span {
  width: fit-content;
  padding: 4px 8px;
  color: var(--green-950);
  background: rgba(216, 184, 74, 0.2);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.about-statement-card.dark-card {
  color: rgba(255, 255, 255, 0.84);
  background: var(--green-950);
  border-color: rgba(199, 162, 70, 0.28);
}

.about-statement-card.dark-card h2,
.about-statement-card.dark-card svg {
  color: #fff;
}

.about-statement-card.dark-card p {
  color: rgba(255, 255, 255, 0.76);
}

.about-service-grid,
.about-difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.about-audience-grid,
.about-principle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.about-info-card,
.about-audience-card,
.about-principle-grid article {
  min-height: 180px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(6, 50, 50, 0.07);
}

.about-info-card.compact {
  min-height: 170px;
}

.about-info-card svg,
.about-audience-card svg,
.about-principle-grid svg {
  width: 24px;
  height: 24px;
  color: var(--gold-600);
}

.about-info-card h3,
.about-audience-card h3,
.about-principle-grid h3,
.about-process-list h3 {
  margin: 10px 0 6px;
  color: var(--green-950);
  font-size: 1rem;
  line-height: 1.18;
}

.about-info-card p,
.about-audience-card p,
.about-principle-grid p,
.about-process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.about-process-layout {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
}

.about-process-list {
  display: grid;
  gap: 8px;
}

.about-process-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(6, 50, 50, 0.06);
}

.about-process-list article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 999px;
  font-weight: 900;
}

.about-process-list h3 {
  margin-top: 0;
}

.about-disclaimer-card {
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 232, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(199, 162, 70, 0.18), transparent 34%);
}

.about-disclaimer-card h2 {
  margin: 0 0 8px;
  color: var(--green-950);
  font-size: 1.35rem;
  line-height: 1.18;
}

.about-disclaimer-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.48;
}

@media (max-width: 1080px) {
  .about-hero-grid,
  .about-intro-grid,
  .about-legal-grid,
  .about-process-layout,
  .about-disclaimer-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .about-page .about-hero {
    padding: 24px 0;
  }

  .legal-identity-card,
  .about-service-grid,
  .about-difference-grid,
  .about-audience-grid,
  .about-principle-grid {
    grid-template-columns: 1fr;
  }

  .about-disclaimer-card .button {
    width: 100%;
  }
}

.about-simple-page .about-simple-section {
  padding-block: 17px;
}

.about-simple-layout {
  display: grid;
  gap: 14px;
}

.about-two-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.about-main-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 18px;
  align-items: stretch;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(6, 50, 50, 0.08);
}

.about-two-stack .about-main-panel {
  grid-template-columns: 1fr;
}

.about-main-panel.legal-panel {
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1fr);
}

.about-two-stack .about-main-panel.legal-panel {
  grid-template-columns: 1fr;
}

.about-main-panel.action-panel {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.58fr);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 232, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(199, 162, 70, 0.16), transparent 34%);
}

.about-panel-copy {
  align-self: center;
}

.about-panel-copy h2 {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--green-950);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.08;
}

.about-panel-copy p {
  max-width: 780px;
  margin: 0 0 9px;
  color: var(--muted);
  line-height: 1.5;
}

.about-panel-photo {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.about-two-stack .about-panel-photo {
  min-height: 230px;
}

.about-panel-photo img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.about-panel-photo figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(6, 50, 50, 0.86);
  border: 1px solid rgba(199, 162, 70, 0.34);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.about-legal-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.about-two-stack .about-legal-list {
  grid-template-columns: 1fr;
}

.about-legal-list div {
  min-height: 62px;
  padding: 9px 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 8px;
}

.about-legal-list dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.about-legal-list dd {
  margin: 0;
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.2;
}

.about-simple-steps {
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  counter-reset: about-step;
}

.about-simple-steps li {
  position: relative;
  min-height: 44px;
  padding: 9px 10px 9px 48px;
  color: var(--green-950);
  background: #f4fbf8;
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 8px;
  line-height: 1.35;
  counter-increment: about-step;
}

.about-simple-steps li::before {
  content: counter(about-step, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.about-scope-note {
  align-self: stretch;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: var(--green-950);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.about-scope-note strong {
  color: var(--gold-500);
  font-size: 0.98rem;
}

.about-scope-note p {
  margin: 0;
  line-height: 1.48;
}

.about-scope-note .button {
  width: fit-content;
  margin-top: auto;
}

@media (max-width: 1080px) {
  .about-two-stack,
  .about-main-panel,
  .about-main-panel.legal-panel,
  .about-main-panel.action-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-main-panel {
    padding: 14px;
  }

  .about-legal-list {
    grid-template-columns: 1fr;
  }

  .about-scope-note .button {
    width: 100%;
  }
}

/* Weight lock: keep bold only for true hierarchy and calls to action. */
.nexta-skin,
.nexta-skin p,
.nexta-skin li,
.nexta-skin span,
.nexta-skin small,
.nexta-skin label,
.nexta-skin td,
.nexta-skin dd,
.nexta-skin dt,
.nexta-skin input,
.nexta-skin select,
.nexta-skin textarea,
.nexta-skin .detail-list span,
.nexta-skin .footer-bottom,
.nexta-skin .feed-meta span,
.nexta-skin .pipeline-list small,
.nexta-skin .live-update-card span,
.nexta-skin .event-radar-stats span,
.nexta-skin .event-filter span,
.nexta-skin .event-control-next span,
.nexta-skin .event-control-next small,
.nexta-skin .event-datebox small,
.nexta-skin .event-status,
.nexta-skin .event-meta span,
.nexta-skin .event-card-main p,
.nexta-skin .event-mini-steps span,
.nexta-skin .event-radar-empty {
  font-weight: 400 !important;
}

.nexta-skin a,
.nexta-skin th,
.nexta-skin strong,
.nexta-skin h3,
.nexta-skin h4,
.nexta-skin h5,
.nexta-skin h6,
.nexta-skin .brand strong,
.nexta-skin .site-nav a,
.nexta-skin .language-code,
.nexta-skin .language-menu a,
.nexta-skin .path-card h3,
.nexta-skin .mini-card h3,
.nexta-skin .service-card h3,
.nexta-skin .sector-card h3,
.nexta-skin .pricing-card h3,
.nexta-skin .feature-card h3,
.nexta-skin .feed-titleline h3,
.nexta-skin .pipeline-list strong,
.nexta-skin .card-meta span,
.nexta-skin .status-pill,
.nexta-skin .plan-badge,
.nexta-skin .opportunity-topline span,
.nexta-skin .opportunity-tags span,
.nexta-skin .feed-status strong,
.nexta-skin .feed-titleline span,
.nexta-skin .pipeline-list span,
.nexta-skin .live-panel-head,
.nexta-skin .event-radar-stats strong,
.nexta-skin .event-datebox span,
.nexta-skin .event-filter,
.nexta-skin .event-control-next strong,
.nexta-skin .event-action,
.nexta-skin .event-source,
.nexta-skin .event-radar-bar strong {
  font-weight: 500 !important;
}

.nexta-skin h1,
.nexta-skin h2,
.nexta-skin .hero h1,
.nexta-skin .page-hero h1,
.nexta-skin .compact-hero h1,
.nexta-skin .section-heading h2,
.nexta-skin .button,
.nexta-skin .nav-cta,
.nexta-skin .button-primary,
.nexta-skin .button-secondary,
.nexta-skin .feed-action,
.nexta-skin .metric-grid strong,
.nexta-skin .live-stat strong,
.nexta-skin .admin-stat strong,
.nexta-skin .pricing-card .price,
.nexta-skin .panel-topline,
.nexta-skin .eyebrow,
.nexta-skin .live-kicker {
  font-weight: 700 !important;
}

/* MEGBA rebuild additions */
.top-trust-bar {
  background: #052929;
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(216, 184, 74, 0.2);
}

.top-trust-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.top-trust-inner span,
.hero-panel-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-trust-inner svg.lucide,
.hero-panel-list svg.lucide {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  min-height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 7px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

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

.nav-dropdown.active summary,
.nav-dropdown[open] summary,
.nav-dropdown summary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 70;
  width: 276px;
  padding: 8px;
  display: grid;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-nav .nav-dropdown-menu a {
  min-height: 38px;
  padding: 7px 8px;
  justify-content: flex-start;
  color: var(--green-950);
  background: transparent;
}

.nav-dropdown-menu span {
  width: 42px;
  color: var(--gold-600);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header-member-cta {
  min-height: 32px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  white-space: nowrap;
}

.header-member-cta svg.lucide {
  width: 16px;
  height: 16px;
}

.site-header .brand small:not(.brand-arabic) {
  display: none;
}

.site-header .brand {
  flex: 0 0 auto;
  margin-right: 10px;
}

.brand-logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: linear-gradient(135deg, #f6dd78 0%, #c7a246 52%, #fff2a8 100%);
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
  -webkit-mask: url("../img/brand/megba-logo.svg") center / contain no-repeat;
  mask: url("../img/brand/megba-logo.svg") center / contain no-repeat;
}

.brand-logo-mark img {
  display: none;
}

.site-footer .brand-logo-mark {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
  padding: 5px;
}

@media (max-width: 760px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer .footer-brand {
    align-items: flex-start;
  }

  .site-footer .footer-brand .brand-logo-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-logo-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    padding: 4px;
  }

  .footer-official-contact {
    max-width: none;
  }
}

.site-header .site-nav {
  margin-left: 0;
}

.hero {
  min-height: auto;
  padding: 44px 0 26px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}

.nexta-hero-card {
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.nexta-hero-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: var(--type-medium) !important;
}

.hero-panel-list {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}

.light-button,
.light-link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
  margin-top: 18px;
}

.trust-metrics div,
.market-summary-card,
.market-guide-card,
.pipeline-card,
.process-card,
.market-guide-block,
.market-side-cta,
.market-quick-panel,
.pipeline-filter-panel {
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(6, 50, 50, 0.06);
}

.trust-metrics div {
  padding: 9px 10px;
}

.trust-metrics strong,
.trust-metrics span {
  display: block;
}

.trust-metrics strong {
  color: var(--green-950);
}

.trust-metrics span {
  color: var(--muted);
}

.market-selector-section,
.market-directory-section,
.membership-preview-section,
.process-section,
.pipeline-section {
  padding-block: 34px;
}

.market-selector-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.market-selector-tabs button {
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-950);
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.13);
  border-radius: 999px;
}

.market-selector-tabs button span,
.market-code {
  color: var(--gold-600);
}

.market-selector-tabs button.is-active {
  background: var(--gold-500);
  border-color: var(--gold-500);
}

.market-selector-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid rgba(6, 50, 50, 0.11);
  border-radius: 8px;
}

.market-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.market-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

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

.market-summary-card {
  padding: 10px;
}

.market-summary-card svg.lucide,
.market-block-head svg.lucide {
  width: 17px;
  height: 17px;
  color: var(--gold-600);
}

.market-summary-card h2,
.market-summary-card h4,
.market-guide-card h2,
.market-guide-card h3,
.pipeline-card h2,
.process-card h3 {
  margin: 7px 0 5px;
  color: var(--green-950);
}

.market-summary-card p,
.market-guide-card p,
.pipeline-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
}

.market-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compact-guide-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.market-guide-card {
  overflow: hidden;
}

.market-guide-card figure {
  height: 120px;
  margin: 0;
}

.market-guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-guide-card-body {
  padding: 11px;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 10px;
}

.market-tags span {
  padding: 4px 7px;
  color: var(--green-950);
  background: #f4fbf8;
  border-radius: 999px;
}

.section-more-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

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

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

.process-card {
  padding: 13px;
}

.process-card > span {
  color: var(--gold-600);
}

.market-guide-hero {
  background:
    linear-gradient(90deg, rgba(6, 50, 50, 0.93), rgba(6, 50, 50, 0.72)),
    var(--market-hero) center / cover;
}

.market-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: end;
}

.market-quick-panel {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.market-quick-panel span {
  color: var(--muted);
}

.market-quick-panel strong {
  display: block;
  color: var(--green-950);
}

.market-subnav {
  position: sticky;
  top: var(--header-height);
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(6, 50, 50, 0.1);
  backdrop-filter: blur(12px);
}

.market-subnav .container {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-block: 7px;
}

.market-subnav a {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: var(--green-950);
  background: #f4fbf8;
  border-radius: 999px;
}

.market-guide-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.market-side-cta {
  position: sticky;
  top: calc(var(--header-height) + 54px);
  padding: 14px;
}

.market-section-stack {
  display: grid;
  gap: 10px;
}

.market-guide-block {
  scroll-margin-top: 130px;
  padding: 12px;
}

.market-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.market-block-head h2 {
  margin: 0;
}

.market-block-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.market-block-cards div {
  padding: 9px;
  background: #f7fbf8;
  border: 1px solid rgba(6, 50, 50, 0.08);
  border-radius: 7px;
}

.market-block-cards span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
}

.market-block-cards strong {
  display: block;
  color: var(--green-950);
}

.guide-accordion {
  margin-top: 9px;
  border-top: 1px solid rgba(6, 50, 50, 0.08);
  padding-top: 8px;
}

.guide-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--green-950);
}

.pipeline-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pipeline-filter-panel {
  position: sticky;
  top: calc(var(--header-height) + 14px);
  padding: 12px;
}

.pipeline-filter-group {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.pipeline-filter-group > span {
  color: var(--muted);
  text-transform: uppercase;
}

.pipeline-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.pipeline-card {
  padding: 11px;
}

.pipeline-card[hidden] {
  display: none;
}

.pipeline-card-top,
.pipeline-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.pipeline-fields {
  margin: 9px 0;
}

.pipeline-fields span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy-700);
}

.pipeline-fields svg.lucide {
  width: 13px;
  height: 13px;
  color: var(--gold-600);
}

@media (max-width: 1080px) {
  .header-member-cta {
    display: none;
  }

  .hero-grid,
  .market-selector-panel,
  .market-hero-grid,
  .market-guide-layout,
  .pipeline-layout {
    grid-template-columns: 1fr;
  }

  .market-side-cta,
  .pipeline-filter-panel {
    position: static;
  }

  .compact-guide-grid,
  .eight-grid,
  .process-grid,
  .market-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1081px) and (max-width: 1320px) {
  .header-inner {
    gap: 8px;
  }

  .site-header .brand {
    margin-right: 2px;
  }

  .site-header .brand .brand-arabic {
    max-width: 132px;
  }

  .site-nav {
    gap: 1px;
  }

  .site-nav a,
  .nav-dropdown summary {
    min-height: 32px;
    padding-inline: 6px;
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 5px;
  }

  .language-picker summary {
    margin-inline: 0;
    padding-inline: 7px;
  }

  .header-cta,
  .header-member-cta {
    padding-inline: 8px;
    gap: 5px;
    font-size: 0.8rem;
  }
}

@media (max-width: 760px) {
  .top-trust-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 7px;
  }

  .trust-metrics,
  .market-card-grid,
  .compact-guide-grid,
  .eight-grid,
  .process-grid,
  .market-summary-grid,
  .compact-market-summary,
  .market-block-cards,
  .pipeline-card-list {
    grid-template-columns: 1fr;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }
}

/* Unified vertical rhythm: keep major section spacing compact and consistent. */
.nexta-skin .section {
  padding-block: 17px;
}

/* Unified page rail: keep every major content block on one standard width. */
:root {
  --megba-content-width: 1300px;
  --megba-content-gutter: 36px;
}

.container,
.top-trust-bar .container,
.site-header .container,
.workspace-home .workspace-hero .container,
.workspace-home .workspace-section > .container,
.workspace-home .intelligence-section > .container,
.workspace-home .compact-final-cta > .container,
.site-footer > .container,
.market-subnav .container {
  width: min(var(--megba-content-width), calc(100% - var(--megba-content-gutter))) !important;
  margin-inline: auto;
}

@media (max-width: 1080px) {
  :root {
    --megba-content-gutter: 24px;
  }
}

@media (max-width: 700px) {
  :root {
    --megba-content-gutter: 18px;
  }
}
