/* ── Sub-page shell (matches index h2 / body scale) ─────────────── */
  .page-hero { padding: calc(var(--pad-y) * 0.85) 0 calc(var(--pad-y) * 0.25); position: relative; overflow: hidden; }
  .page-body { position: relative; overflow: hidden; }
  .rtl-watermark {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: clamp(340px, 46vw, 720px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.24;
  }
  .rtl-watermark svg { width: 100%; height: 100%; display: block; }
  .rtl-watermark path { fill: none; stroke: var(--page-text); stroke-width: 1.1; stroke-linecap: round; }
  @media (max-width: 900px) { .rtl-watermark { display: none; } }
  .page-hero-inner,
  .page-body-inner { max-width: 820px; }
  .page-body-inner { position: relative; padding-top: 26px; }
  .page-body-inner::before {
    content: ''; position: absolute; top: 0; left: 0; width: 46px; height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--teal));
  }
  .page-kicker {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--accent);
    text-transform: uppercase;
    margin: 0 0 22px;
  }
  .page-h1 {
    font-family: var(--sans);
    font-optical-sizing: auto;
    font-weight: 620;
    font-size: clamp(24px, 2.8vw, 34px);
    letter-spacing: -.015em;
    line-height: 1.18;
    color: var(--page-text);
    margin: 0 0 20px;
  }
  .page-lede {
    font-family: var(--sans);
    font-size: clamp(17px, 1.4vw, 19px);
    line-height: 1.6;
    color: var(--page-text-secondary);
    max-width: 720px;
    margin: 0;
  }
  .page-body { padding: calc(var(--pad-y) * 0.32) 0 calc(var(--pad-y) * 0.62); }
  .page-p {
    font-family: var(--sans);
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.72;
    color: var(--page-text-secondary);
    margin: 0 0 20px;
    text-align: left;
  }
  .page-p:last-child { margin-bottom: 0; }
  .page-sect { background: transparent !important; border: 0 !important; }

  /* ── Sales management: scrolling report-export showcase ──────────── */
  .sm-reports { padding: calc(var(--pad-y) * 0.2) 0 calc(var(--pad-y) * 0.5); overflow: hidden; }
  .sm-reports-head { max-width: 620px; margin: 0 0 40px; }
  .gw-eyebrow { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
  .sm-reports-h2 { font-family: var(--sans); font-optical-sizing: auto; font-weight: 620; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -.015em; line-height: 1.22; color: var(--page-text); margin: 0 0 12px; }
  .sm-reports-p { font-family: var(--sans); font-size: 15px; line-height: 1.62; color: var(--page-text-secondary); margin: 0; }
  .sm-reports-note { font-family: var(--sans); font-size: 13px; line-height: 1.55; color: var(--page-text-secondary); opacity: 0.75; margin: 14px 0 0; }

  .sm-reports.page-tone-blue {
    background: #0d1a2e !important;
    border-top: 1px solid rgba(109,163,250,0.20) !important;
    border-bottom: 1px solid rgba(109,163,250,0.20) !important;
  }
  .sm-reports.page-tone-blue .gw-eyebrow { color: var(--accent-light); }
  .sm-reports.page-tone-blue .rpt-card { border: 1px solid rgba(20,23,31,.08); box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 2px 8px rgba(0,0,0,.18); }
  .sm-reports.page-tone-blue .sm-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

  .sm-marquee { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .sm-track { display: flex; align-items: flex-start; gap: 26px; width: max-content; padding: 6px clamp(24px, 4vw, 64px) 30px; animation: smScroll 42s linear infinite; }
  .sm-marquee:hover .sm-track { animation-play-state: paused; }
  @keyframes smScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .sm-track { animation: none; } }

  .rpt-card {
    flex: 0 0 340px; width: 340px; background: #fff; border-radius: 14px; padding: 22px 24px 20px;
    box-shadow: 0 24px 50px rgba(20,23,31,.14), 0 2px 8px rgba(20,23,31,.06);
    border: 1px solid rgba(20,23,31,.06);
    font-family: var(--sans); color: #14171f;
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .rpt-card:nth-child(4n+2) { transform: rotate(-.6deg); }
  .rpt-card:nth-child(4n+4) { transform: rotate(.5deg); }
  .rpt-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 34px 64px rgba(20,23,31,.2), 0 2px 8px rgba(20,23,31,.08); }

  .rpt-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .rpt-badge { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--teal); color: var(--teal); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: 0 0 20px; }
  .rpt-brand { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #14171f; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
  .rpt-brand span { font-size: 8.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(20,23,31,.4); }

  .rpt-q { font-size: 13.5px; font-weight: 700; line-height: 1.4; color: #14171f; margin-bottom: 6px; }
  .rpt-meta { font-size: 10px; color: rgba(20,23,31,.4); margin-bottom: 16px; }

  .rpt-kpis { display: flex; gap: 10px; margin-bottom: 16px; }
  .rpt-kpis--grid { flex-wrap: wrap; }
  .rpt-kpi { background: #0d1a2e; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1 1 0; min-width: 0; }
  .rpt-kpis--grid .rpt-kpi { flex: 1 1 calc(50% - 5px); }
  .rpt-kpi-v { font-size: 15px; font-weight: 800; color: #fff; }
  .rpt-kpi-v.up { color: #34d399; }
  .rpt-kpi-v.down { color: #f87171; }
  .rpt-kpi-l { font-size: 8.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.5); }

  .rpt-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 14px; }
  .rpt-table th { text-align: left; background: #0d1a2e; color: rgba(255,255,255,.65); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 6px 8px; }
  .rpt-table td { padding: 7px 8px; border-bottom: 1px solid rgba(20,23,31,.08); color: #14171f; font-weight: 600; }
  .rpt-table td.up { color: #0e9f6e; }
  .rpt-table td.down { color: #dc2626; }

  .rpt-list { margin-bottom: 14px; display: flex; flex-direction: column; gap: 7px; }
  .rpt-list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid rgba(20,23,31,.08); }
  .rpt-list-row span:first-child { color: rgba(20,23,31,.75); display: flex; align-items: center; gap: 6px; }
  .rpt-list-row .up { color: #0e9f6e; }

  .rpt-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; color: var(--teal); }

  .rpt-chart-panel { background: #0d1a2e; border-radius: 10px; padding: 14px 14px 10px; margin-bottom: 14px; }
  .rpt-chart-title { font-size: 9.5px; font-weight: 700; color: rgba(255,255,255,.7); text-align: center; margin-bottom: 10px; }
  .rpt-bars { display: flex; align-items: flex-end; gap: 10px; height: 90px; }
  .rpt-bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
  .rpt-bar-track { flex: 1; width: 100%; max-width: 22px; display: flex; align-items: flex-end; gap: 2px; }
  .rpt-bar { flex: 1; border-radius: 2px 2px 0 0; min-height: 2px; }
  .rpt-bar--a { background: #4e8ff7; }
  .rpt-bar--b { background: #34d399; }
  .rpt-bar-group span { font-size: 7.5px; color: rgba(255,255,255,.5); font-weight: 600; }
  .rpt-chart-legend { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 9px; color: rgba(255,255,255,.6); font-weight: 600; }
  .rpt-chart-legend .dot { margin-left: 8px; }
  .rpt-chart-legend .dot:first-child { margin-left: 0; }

  .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; }
  .dot-a { background: #4e8ff7; }
  .dot-b { background: #34d399; }
  .dot-c { background: #a78bfa; }

  .rpt-donut-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
  .rpt-donut-wrap { position: relative; width: 84px; height: 84px; flex: 0 0 84px; }
  .rpt-donut { width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(#4e8ff7 0% 85.1%, #a78bfa 85.1% 100%); }
  .rpt-donut::after { content: ''; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
  .rpt-donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 7.5px; font-weight: 600; color: rgba(20,23,31,.5); text-align: center; line-height: 1.3; }
  .rpt-donut-center span { font-size: 14px; font-weight: 800; color: #14171f; }
  .rpt-donut-legend { flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .rpt-donut-legend .rpt-list-row { border-bottom: 0; padding-bottom: 0; font-size: 10.5px; }

  @media (max-width: 700px) {
    .rpt-card { flex: 0 0 280px; width: 280px; }
  }

  /* ── Page tone variants (scoped to page content, not <body>) ─────
     Using --page-text / --page-text-secondary so we do NOT stomp the
     site-wide --text tokens the fixed nav panel relies on. */
  .page-tone-warm  { background: #f4f0e8; --page-text: #14171f; --page-text-secondary: rgba(20,23,31,0.72); }
  .page-tone-blue  { background: #0d1a2e; --page-text: #ecf1fa; --page-text-secondary: rgba(236,241,250,0.75); }
  .page-tone-deep  { background: #080a10; --page-text: #ecedf1; --page-text-secondary: rgba(236,237,241,0.75); }
  .page-tone-slate { background: #1a1f2b; --page-text: #ecedf1; --page-text-secondary: rgba(236,237,241,0.75); }

  /* ── Sub-page nav stays legible over any tone ───────────────────── */
  .page nav#nav {
    background: rgba(10,12,18,0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .page nav#nav .nav-link,
  .page nav#nav .logo-word { color: #ecedf1; }
  .page nav#nav .nav-link:hover { color: #fff; }
