/* ============================================================================
 * 若聚凡星 V4 全站视觉与排版底座（Starlight Navy Design System）
 * 严格承袭官方 Logo 视觉基因：深空海军蓝 #00112B + 星光焰橙 #FE6108 + 科技浅灰 #F6F8FC
 * 覆盖：全站 161 个数据库正文页组件统一改造 + 通用粘性章节导航条 + 终端代码卡 +
 *       响应式防挤压表格 + 单栏精装 FAQ + 零遮挡紧凑悬浮坞 + 全站 Hero 宇宙网格质感
 * ============================================================================ */

/* 1. Sync Legacy main.css Variables -> Logo Palette (Zero Vintage Brown Leftovers) */
:root {
  --ink: #00112B;
  --ink2: #061D42;
  --tx: #24344D;
  --mut: #55667F;
  --soft: #7E8FA6;
  --orange: #FE6108;
  --orange2: #FF853D;
  --orange-d: #D44B00;
  --teal: #0891B2;
  --violet: #4F46E5;
  --cream: #F6F8FC;
  --cream2: #EDF2F8;
  --paper: #FFFFFF;
  --line: #DCE4F0;
  --dink: #00112B;
  --dink2: #061D42;
  --rad: 14px;
  --shadow: 0 2px 10px rgba(0, 17, 43, 0.05);
  --shadow2: 0 18px 46px rgba(0, 17, 43, 0.16);
  --max: 1240px;
}

/* 2. Global Overflow-Clip Fix (Preserves position:sticky Everywhere!) & Typography Discipline */
html {
  overflow-x: clip !important;
  scroll-behavior: smooth;
}
body,
body.rf3-v3-page,
body.rf3-v3-service-page,
body.rf3-v3-case-page,
body.rf3-v3-industry-page,
body.rf3-v3-guide-page,
body.rf3-v3-resource-page,
body.rf3-v3-legal-page {
  overflow-x: clip !important;
  background: var(--rf3-bg) !important;
  color: var(--rf3-ink);
  font-family: var(--rf3-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Eliminate ragged Chinese oblique italics in headings & prevent 1-char orphan wraps */
h1, h2, h3 {
  text-wrap: balance;
}
h1 em, h2 em, h3 em {
  font-style: normal !important;
  color: var(--rf3-brand-flare);
}
.rf3-ssec h1 em,
.rf3-ssec h2 em,
.rf3-svc-body h2 em,
.rf3-ind-body h2 em,
.rf3-case-body h2 em,
.rf3-guide-body h2 em,
.rf3-res-body h2 em {
  color: var(--rf3-brand-text);
}

/* 3. Branded Cosmic Navy Dark Hero & CTA Surface Enhancement (Subtle Precision Grid + Orbital Glow) */
.rf3-hero,
.rf3-shero,
.rf3-ihero,
.rf3-chero,
.rf3-ahero,
.rf3-rhero,
.rf3-lhero,
.rf3-phero,
.rf3-cohero,
.rf3-bhero,
.rf3-cvhero {
  background-color: #00112B !important;
}
.rf3-shero::before,
.rf3-ihero::before,
.rf3-chero::before,
.rf3-ahero::before,
.rf3-rhero::before,
.rf3-lhero::before,
.rf3-phero::before,
.rf3-cohero::before,
.rf3-bhero::before,
.rf3-cvhero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 20%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 20%, #000 35%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.rf3-shero::after,
.rf3-ihero::after,
.rf3-chero::after,
.rf3-ahero::after,
.rf3-rhero::after,
.rf3-lhero::after,
.rf3-phero::after,
.rf3-cohero::after,
.rf3-bhero::after,
.rf3-cvhero::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(254, 97, 8, 0.24) 0%, transparent 44%),
    radial-gradient(circle at 12% 88%, rgba(8, 145, 178, 0.18) 0%, transparent 46%),
    linear-gradient(125deg, rgba(0, 17, 43, 0.94) 0%, rgba(4, 24, 58, 0.88) 100%) !important;
}
.is-geo .rf3-shero::after,
.is-geo .rf3-ahero::after,
.is-geo .rf3-chero::after,
.is-geo .rf3-rhero::after,
.is-industrial .rf3-ihero::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.24) 0%, transparent 46%),
    radial-gradient(circle at 14% 86%, rgba(254, 97, 8, 0.14) 0%, transparent 44%),
    linear-gradient(125deg, rgba(0, 17, 43, 0.95) 0%, rgba(5, 36, 62, 0.88) 100%) !important;
}

/* Harmonize Accent Variables on Geo / Web / Default Main Containers */
.rf3-svc-main { --rf3-va: #FE6108; --rf3-va-soft: rgba(254, 97, 8, 0.22); --rf3-va-light: #FF8A47; }
.rf3-svc-main.is-geo { --rf3-va: #0891B2; --rf3-va-soft: rgba(8, 145, 178, 0.24); --rf3-va-light: #38BDF8; }
.rf3-svc-main.is-web { --rf3-va: #0D9468; --rf3-va-soft: rgba(13, 148, 104, 0.24); --rf3-va-light: #34D399; }
.rf3-ind-main { --rf3-ia: #FE6108; --rf3-ia-soft: rgba(254, 97, 8, 0.22); --rf3-ia-light: #FF8A47; }
.rf3-ind-main.is-industrial { --rf3-ia: #0891B2; --rf3-ia-soft: rgba(8, 145, 178, 0.24); --rf3-ia-light: #38BDF8; }
.rf3-ind-main.is-consumer { --rf3-ia: #0D9468; --rf3-ia-soft: rgba(13, 148, 104, 0.24); --rf3-ia-light: #34D399; }
.rf3-case-main { --rf3-ca: #FE6108; --rf3-ca-soft: rgba(254, 97, 8, 0.22); --rf3-ca-light: #FF8A47; }
.rf3-case-main.is-geo { --rf3-ca: #0891B2; --rf3-ca-soft: rgba(8, 145, 178, 0.24); --rf3-ca-light: #38BDF8; }
.rf3-art-main { --rf3-aa: #FE6108; --rf3-aa-soft: rgba(254, 97, 8, 0.22); --rf3-aa-light: #FF8A47; }
.rf3-art-main.is-geo { --rf3-aa: #0891B2; --rf3-aa-soft: rgba(8, 145, 178, 0.24); --rf3-aa-light: #38BDF8; }

/* Dark CTA Banners across all templates -> Logo Cosmic Navy */
.rf3-scta-banner,
.rf3-icta-banner,
.rf3-ccta-banner,
.rf3-acta-banner,
.rf3-rcta-banner,
.rf3-final-cta {
  background:
    radial-gradient(circle at 86% 14%, rgba(254, 97, 8, 0.26) 0%, transparent 48%),
    linear-gradient(135deg, #00112B 0%, #061E45 64%, #0B2A59 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.is-geo .rf3-scta-banner,
.is-geo .rf3-acta-banner,
.is-geo .rf3-ccta-banner,
.is-geo .rf3-rcta-banner {
  background:
    radial-gradient(circle at 86% 14%, rgba(56, 189, 248, 0.24) 0%, transparent 48%),
    linear-gradient(135deg, #00112B 0%, #052942 64%, #083B52 100%) !important;
}

/* Homepage 1440px Horizontal Safety Guard */
.rf3-cmp-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1px solid var(--rf3-border);
  background: #fff;
}
.rf3-cmp-tbl {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}
.rf3-cmp-tbl th.is-hi {
  background: var(--rf3-navy) !important;
  color: #fff !important;
  border-top: 3px solid var(--rf3-brand);
}

/* ============================================================================
 * 4. UNIVERSAL STICKY CHAPTER NAVIGATION BAR (ALL 161 LONG-FORM DETAIL PAGES)
 * ============================================================================ */
.rf3-ctoc,
.rf3-guide-toc {
  position: sticky !important;
  top: 74px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rf3-border) !important;
  box-shadow: 0 2px 10px rgba(0, 17, 43, 0.04);
  padding: 0 !important;
  transition: box-shadow 0.2s ease;
}
body.admin-bar .rf3-ctoc,
body.admin-bar .rf3-guide-toc {
  top: 106px;
}
@media (max-width: 782px) {
  body.admin-bar .rf3-ctoc,
  body.admin-bar .rf3-guide-toc { top: 110px; }
}
@media (max-width: 540px) {
  .rf3-ctoc,
  .rf3-guide-toc { top: 64px; }
}

.rf3-ctoc-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rf3-ctoc-track,
.rf3-guide-toc .rf3-guide-toc-in {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.rf3-guide-toc .rf3-guide-toc-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 9px 24px;
}
.rf3-guide-toc .rf3-wrap {
  padding: 0;
}
.rf3-ctoc-track::-webkit-scrollbar,
.rf3-guide-toc .rf3-guide-toc-in::-webkit-scrollbar {
  display: none;
}
@media (max-width: 760px) {
  .rf3-ctoc-inner {
    padding: 8px 14px;
    gap: 8px;
  }
  .rf3-ctoc-track { gap: 6px; }
  .rf3-guide-toc .rf3-guide-toc-in {
    padding: 8px 14px;
    gap: 6px;
  }
}

.rf3-ctoc-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 11.6px;
  font-weight: 800;
  color: var(--rf3-navy);
  letter-spacing: 0.04em;
  padding: 4px 12px 4px 0;
  border-right: 1px solid var(--rf3-border);
  white-space: nowrap;
}
.rf3-guide-toc-lb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  font-size: 11.6px;
  font-weight: 800;
  color: var(--rf3-navy);
  letter-spacing: 0.04em;
  padding: 4px 12px 4px 0;
  margin-right: 2px;
  border-right: 1px solid var(--rf3-border);
  white-space: nowrap;
}
.rf3-ctoc-label::before,
.rf3-guide-toc-lb::before {
  content: "✦";
  color: var(--rf3-brand);
  font-size: 11px;
}
.is-geo .rf3-ctoc-label::before,
.is-geo .rf3-guide-toc-lb::before {
  color: var(--rf3-teal);
}

.rf3-ctoc-link,
.rf3-guide-toc a[href^="#"] {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #F1F5FA !important;
  border: 1px solid #DCE4F0 !important;
  font-size: 12.4px;
  font-weight: 700;
  color: #24344D !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: none !important;
}
.rf3-ctoc-link:hover,
.rf3-guide-toc a[href^="#"]:hover {
  background: #FFFFFF !important;
  border-color: #00112B !important;
  color: #00112B !important;
}
.rf3-ctoc-link.is-active,
.rf3-ctoc-link.is-active:visited,
.rf3-guide-toc a[href^="#"].is-active,
.rf3-guide-toc a[href^="#"].is-active:visited {
  background: #00112B !important;
  border-color: #00112B !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 10px rgba(0, 17, 43, 0.18) !important;
  opacity: 1 !important;
}
.rf3-ctoc-num {
  font-family: var(--rf3-mono);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--rf3-brand);
  opacity: 0.9;
}
.is-geo .rf3-ctoc-num { color: var(--rf3-teal); }
.rf3-ctoc-link.is-active .rf3-ctoc-num { color: var(--rf3-brand-flare); }
.is-geo .rf3-ctoc-link.is-active .rf3-ctoc-num { color: var(--rf3-teal-light); }

/* Integrated Reading Progress Hairline along Bottom Edge of Sticky TOC */
.rf3-ctoc-prog {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--rf3-brand), var(--rf3-brand-flare));
  transition: width 0.08s linear;
  pointer-events: none;
}
.is-geo .rf3-ctoc-prog {
  background: linear-gradient(90deg, var(--rf3-teal), var(--rf3-teal-light));
}

/* ============================================================================
 * 5. UNIVERSAL OVERHAUL OF ALL 161 V3-WRAPPED DATABASE BODY PAGES
 *    Scoped higher-specificity selectors guarantee 100% dominance over main.css
 * ============================================================================ */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) {
  font-family: var(--rf3-sans) !important;
  color: var(--rf3-ink-2) !important;
  font-size: 15.5px;
  line-height: 1.8;
  --rf3-local-accent: var(--rf3-brand);
  --rf3-local-accent-text: var(--rf3-brand-text);
  --rf3-local-accent-soft: var(--rf3-brand-soft);
}
body .is-geo :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body),
body .is-industrial :is(.rf3-ind-body) {
  --rf3-local-accent: var(--rf3-teal);
  --rf3-local-accent-text: #0E7490;
  --rf3-local-accent-soft: var(--rf3-teal-soft);
}
body .is-web :is(.rf3-svc-body, .rf3-case-body),
body .is-consumer :is(.rf3-ind-body) {
  --rf3-local-accent: var(--rf3-green);
  --rf3-local-accent-text: #0A7A55;
  --rf3-local-accent-soft: var(--rf3-green-soft);
}

/* Scroll margin for sticky header + sticky TOC */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) [id],
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) h2 {
  scroll-margin-top: 138px !important;
}

/* Section Rhythm: Crisp Alternating Pure White <-> Ice-Slate */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .sec {
  padding: 68px 0 !important;
  background: var(--rf3-surface) !important;
  border-bottom: 1px solid #E6EDF6 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .sec.cream {
  background: var(--rf3-bg) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .sec.ink {
  background: linear-gradient(145deg, var(--rf3-navy) 0%, var(--rf3-navy-2) 100%) !important;
  color: #fff !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .wrap {
  max-width: 1160px !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

/* Editorial Section Headers (.shead): Refined Hierarchy + ZERO Mobile Centered Walls! */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead {
  max-width: 820px !important;
  margin: 0 0 36px !important;
  text-align: left !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead.ctr {
  max-width: 820px !important;
  margin: 0 auto 40px !important;
  text-align: center !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  background: var(--rf3-local-accent-soft) !important;
  border: 1px solid rgba(0, 17, 43, 0.06);
  color: var(--rf3-local-accent-text) !important;
  font-family: var(--rf3-mono), var(--rf3-sans) !important;
  font-size: 11.6px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .eyebrow::before {
  content: "✦" !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
  display: inline !important;
  color: var(--rf3-local-accent) !important;
  font-size: 10.5px !important;
  line-height: 1 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead h2,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) h2.serif {
  font-family: var(--rf3-sans) !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  line-height: 1.3 !important;
  font-weight: 850 !important;
  color: var(--rf3-ink) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  text-wrap: balance;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead p {
  font-size: 15.2px !important;
  line-height: 1.82 !important;
  color: var(--rf3-muted) !important;
  max-width: 740px !important;
  margin: 14px auto 0 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead:not(.ctr) p {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Inline Links & Inline Code in Body */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) a:not(.btn):not(.relc):not(.rf3-btn):not(.rf4-hq-btn):not(.rf4-next-card) {
  color: var(--rf3-local-accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(212, 75, 0, 0.35);
  text-underline-offset: 3px;
  transition: color 0.15s, text-decoration-color 0.15s;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) a:not(.btn):not(.relc):not(.rf3-btn):not(.rf4-hq-btn):not(.rf4-next-card):hover {
  color: var(--rf3-brand);
  text-decoration-color: var(--rf3-brand);
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) :not(pre) > code {
  font-family: var(--rf3-mono) !important;
  font-size: 0.86em !important;
  background: #EDF2FA !important;
  color: #0B3066 !important;
  border: 1px solid #D5E0F0;
  padding: 1.5px 6px !important;
  border-radius: 5px !important;
  font-weight: 600;
  word-break: break-word;
}

/* Definition / Key Takeaway Boxes (.defb) & Callouts (.callout) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .defb {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFE 100%) !important;
  border: 1px solid var(--rf3-border) !important;
  border-left: 4px solid var(--rf3-local-accent) !important;
  border-radius: 14px !important;
  padding: 22px 26px !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .defb p {
  font-size: 15.4px !important;
  line-height: 1.85 !important;
  color: var(--rf3-ink-2) !important;
  margin: 0 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .defb p + p {
  margin-top: 12px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .defb b,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .defb strong {
  color: var(--rf3-ink) !important;
  font-weight: 800;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .callout {
  background: #F4F9FD !important;
  border: 1px solid #CFE3F5 !important;
  border-left: 4px solid var(--rf3-teal) !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  max-width: 920px !important;
  margin: 24px auto !important;
  font-size: 14.8px !important;
  line-height: 1.82 !important;
  color: var(--rf3-ink-2) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .callout b {
  color: var(--rf3-ink) !important;
}

/* ============================================================================
 * 6. BRANDED COSMIC NAVY CODE / CONFIG TERMINAL CARDS (<pre> + .rf3-codecard)
 * ============================================================================ */
.rf3-codecard {
  max-width: 960px;
  margin: 24px auto;
  border-radius: 14px;
  overflow: hidden;
  background: #03142E;
  border: 1px solid rgba(148, 179, 224, 0.2);
  box-shadow: 0 12px 32px rgba(0, 17, 43, 0.14);
}
.rf3-prose .rf3-codecard {
  max-width: 100%;
}
.rf3-codecard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: #000D22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--rf3-sans);
}
.rf3-codecard-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rf3-codecard-dots {
  display: inline-flex;
  gap: 5px;
  flex-shrink: 0;
}
.rf3-codecard-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
  background: rgba(255, 255, 255, 0.2);
}
.rf3-codecard-dots i:first-child { background: #FE6108; }
.rf3-codecard-dots i:nth-child(2) { background: #F59E0B; }
.rf3-codecard-dots i:nth-child(3) { background: #10B981; }
.rf3-codecard-lang {
  font-family: var(--rf3-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(226, 236, 255, 0.78);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rf3-codecard-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #E2ECFF;
  font-family: var(--rf3-sans);
  font-size: 11.8px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.rf3-codecard-copy:hover {
  background: rgba(254, 97, 8, 0.18);
  border-color: var(--rf3-brand);
  color: #fff;
}
.rf3-codecard-copy.is-copied {
  background: rgba(13, 148, 104, 0.24);
  border-color: #34D399;
  color: #6EE7B7;
}
.rf3-codecard pre {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #03142E !important;
  color: #E4EEFF !important;
  padding: 18px 20px !important;
  font-family: var(--rf3-mono) !important;
  font-size: 13px !important;
  line-height: 1.72 !important;
  overflow-x: auto !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  box-shadow: none !important;
}
.rf3-codecard pre code {
  background: transparent !important;
  border: 0 !important;
  color: inherit !important;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: 400 !important;
}
/* Fallback styling if JS hasn't wrapped <pre> yet */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) pre:not(.rf3-codecard pre) {
  max-width: 960px !important;
  margin: 24px auto !important;
  background: #03142E !important;
  color: #E4EEFF !important;
  border: 1px solid rgba(148, 179, 224, 0.2) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  font-size: 13px !important;
  line-height: 1.72 !important;
}

/* ============================================================================
 * 7. BULLETPROOF DATA TABLES (.ptab-wrap / .ptab / table) — ZERO MOBILE SQUISH
 * ============================================================================ */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .ptab-wrap,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .rf3-tbl-scroll {
  max-width: 1120px !important;
  margin: 0 auto 8px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px !important;
  border: 1px solid var(--rf3-border) !important;
  background: var(--rf3-surface) !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .ptab,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table {
  display: table !important;
  width: 100% !important;
  min-width: 620px;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--rf3-surface) !important;
  font-size: 14px !important;
  line-height: 1.68 !important;
  box-shadow: none !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table thead th {
  background: #EEF3FA !important;
  color: var(--rf3-ink) !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  text-align: left !important;
  padding: 13px 16px !important;
  border-bottom: 1.5px solid #D3DFEE !important;
  border-right: 1px solid #E5EDF6;
  white-space: nowrap;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table thead th:last-child {
  border-right: 0;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table thead th.hi {
  background: var(--rf3-navy) !important;
  color: #fff !important;
  border-top: 3px solid var(--rf3-brand) !important;
}
body .is-geo :is(.rf3-svc-body, .rf3-guide-body, .rf3-case-body) table thead th.hi {
  border-top-color: var(--rf3-teal-light) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody td {
  padding: 13px 16px !important;
  color: var(--rf3-ink-2) !important;
  border-bottom: 1px solid #E8EEF6 !important;
  border-right: 1px solid #F0F4FA;
  vertical-align: top !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody td:last-child {
  border-right: 0;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody td:first-child {
  min-width: 118px;
  font-weight: 700;
  color: var(--rf3-ink) !important;
  background: #FAFBFD;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody td.hi {
  background: #FFF9F5 !important;
  color: var(--rf3-ink) !important;
  font-weight: 600;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody tr.is-reject td {
  background: #FEF5F5 !important;
  color: #7F1D1D !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody tr.is-reject td.hi {
  background: #FEE2E2 !important;
  color: #991B1B !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody tr:hover td {
  background: #F4F8FD !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody tr.is-reject:hover td {
  background: #FEEBEB !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.rf3-tbl-cue {
  display: none;
  margin: 0 auto 8px;
  max-width: 1120px;
  font-size: 11.8px;
  font-weight: 800;
  color: var(--rf3-brand-text);
  text-align: right;
  transition: opacity 0.25s;
}
.rf3-tbl-cue.is-visible { display: block; }
.rf3-tbl-cue.is-done { opacity: 0.45; }

/* ============================================================================
 * 8. SINGLE-COLUMN EDITORIAL FAQ ACCORDION (ZERO ORPHAN 5TH CARD + 01-05 INDEX)
 * ============================================================================ */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .faq {
  max-width: 880px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  counter-reset: rf4-faq;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq {
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 14px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
  overflow: hidden;
  counter-increment: rf4-faq;
  transition: border-color 0.2s, box-shadow 0.2s;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq:hover {
  border-color: var(--rf3-border-strong) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq.open {
  border-color: var(--rf3-local-accent) !important;
  box-shadow: 0 6px 22px rgba(0, 17, 43, 0.07) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq > button {
  width: 100%;
  padding: 19px 22px !important;
  font-family: var(--rf3-sans) !important;
  font-size: 15.8px !important;
  font-weight: 800 !important;
  line-height: 1.48 !important;
  color: var(--rf3-ink) !important;
  background: transparent !important;
  border: 0 !important;
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr) 28px !important;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq > button::before {
  content: counter(rf4-faq, decimal-leading-zero);
  width: 30px;
  height: 26px;
  border-radius: 7px;
  background: #EEF3FA;
  color: var(--rf3-navy);
  font-family: var(--rf3-mono);
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq.open > button::before {
  background: var(--rf3-navy);
  color: #FF945A;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq > button::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 8px !important;
  background: var(--rf3-bg-alt) !important;
  color: var(--rf3-navy) !important;
  font-weight: 800;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq.open > button::after {
  content: "−";
  background: var(--rf3-local-accent) !important;
  color: #fff !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq.open .a {
  max-height: 1600px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq .a p {
  padding: 0 22px 20px !important;
  margin: 0 !important;
  font-size: 14.8px !important;
  line-height: 1.85 !important;
  color: var(--rf3-ink-2) !important;
  border-top: 1px dashed #E7EEF7;
  padding-top: 14px !important;
}

/* ============================================================================
 * 9. UNIFIED LOGO-STYLE COMPONENT SUITE (ALL HIGH-FREQUENCY LEGACY BLOCKS)
 * ============================================================================ */
/* Comparison Columns (.vsbox / .vscol) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vsbox {
  max-width: 1120px !important;
  margin: 0 auto !important;
  gap: 20px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol {
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 16px !important;
  padding: 24px 26px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol.bad {
  border-top: 3.5px solid var(--rf3-red) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol.good {
  border-top: 3.5px solid var(--rf3-green) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol .vh {
  font-size: 17px !important;
  font-weight: 850 !important;
  color: var(--rf3-ink) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol .vrow {
  display: block !important;
  position: relative !important;
  padding: 11px 0 11px 24px !important;
  border-top-color: #EDF2F8 !important;
  font-size: 14.4px !important;
  line-height: 1.74 !important;
  color: var(--rf3-ink-2) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol .vrow::before {
  position: absolute !important;
  left: 0 !important;
  top: 11px !important;
  line-height: 1.74 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol.bad .vrow::before { color: var(--rf3-red) !important; }
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vscol.good .vrow::before { color: var(--rf3-green) !important; }

/* Global Cure for All Legacy Icon-List Flex Containers (100% Immune to Inline <code>/<b>/<a> Flex Shatter Across ALL 187 Pages!) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) :is(.pbcol li, .choosec ul li, .modes .mode li, .mreport .mrlist .li, .rphase li, .sp .row) {
  display: block !important;
  position: relative !important;
  padding-left: 22px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) :is(.pbcol li, .choosec ul li, .modes .mode li, .mreport .mrlist .li, .rphase li)::before {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .sp .row::before {
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
}

/* Pros / Cons Decision Cards (.prosbox / .pbcol) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .prosbox {
  max-width: 1120px !important;
  margin: 0 auto !important;
  gap: 20px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .pbcol {
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
  overflow: hidden;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .pbcol.pro .pbh {
  background: linear-gradient(135deg, #00112B 0%, #093C47 100%) !important;
  color: #fff !important;
  padding: 16px 22px !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .pbcol.con .pbh {
  background: linear-gradient(135deg, #7C2D12 0%, #C2410C 100%) !important;
  color: #fff !important;
  padding: 16px 22px !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .pbcol li {
  font-size: 14.3px !important;
  line-height: 1.72 !important;
  color: var(--rf3-ink-2) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .pbcol.pro li::before { color: var(--rf3-green) !important; }
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .pbcol.con li::before { color: var(--rf3-amber) !important; }

/* Audit / Case Walkthrough Report Card (.report / .mreport) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .report,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .mreport {
  max-width: 960px !important;
  margin: 0 auto !important;
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
  overflow: hidden;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .report .rhead,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .mreport .mrh {
  background: linear-gradient(135deg, var(--rf3-navy) 0%, var(--rf3-navy-2) 100%) !important;
  color: #fff !important;
  padding: 18px 24px !important;
  border-bottom: 2px solid var(--rf3-brand);
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .report .rrow {
  padding: 15px 24px !important;
  border-bottom: 1px solid #EDF2F8 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .report .st.ok {
  background: var(--rf3-green-soft) !important;
  color: #0A7A55 !important;
  border: 1px solid #A7F3D0;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .report .st.warn {
  background: var(--rf3-amber-soft) !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .report .st.bad {
  background: var(--rf3-red-soft) !important;
  color: #B91C1C !important;
  border: 1px solid #FECACA;
}

/* Checklists (.shopcheck), Timelines (.vtl), Guide Steps (.guidesteps) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .shopcheck {
  max-width: 900px !important;
  margin: 0 auto !important;
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 16px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .shopcheck .si {
  padding: 18px 24px !important;
  border-bottom-color: #EDF2F8 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .shopcheck .ck2 {
  background: var(--rf3-green-soft) !important;
  color: var(--rf3-green) !important;
  border: 1px solid #B6EED9;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .shopcheck .si b {
  color: var(--rf3-ink) !important;
  font-size: 15px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .shopcheck .si span {
  color: var(--rf3-ink-2) !important;
  font-size: 14.2px !important;
  line-height: 1.72 !important;
}

body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .guidesteps,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vtl {
  max-width: 960px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .gstep {
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 15px !important;
  padding: 20px 24px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
/* Global Cure for Legacy .vstep Timeline Flex Ribbon Bug (Desktop 2-Col Grid + Mobile Stacked Column) */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep {
  display: grid !important;
  grid-template-columns: 84px minmax(0, 1fr) !important;
  column-gap: 20px !important;
  row-gap: 6px !important;
  align-items: start !important;
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 15px !important;
  padding: 20px 24px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep .dot {
  grid-column: 1 !important;
  grid-row: 1 / span 3 !important;
  width: auto !important;
  min-width: 72px !important;
  height: auto !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font-family: var(--rf3-mono), var(--rf3-sans) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  text-align: center !important;
  background: linear-gradient(135deg, var(--rf3-navy), var(--rf3-navy-2)) !important;
  color: #fff !important;
  border: 1px solid rgba(254, 97, 8, 0.35);
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep > :not(.dot) {
  grid-column: 2 !important;
  min-width: 0 !important;
}
@media (max-width: 680px) {
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 18px 18px !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep .dot {
    align-self: flex-start !important;
  }
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .gstep .gsn {
  background: linear-gradient(135deg, var(--rf3-navy), var(--rf3-navy-2)) !important;
  color: #fff !important;
  border: 1px solid rgba(254, 97, 8, 0.35);
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .gstep:nth-child(even) .gsn {
  background: linear-gradient(135deg, var(--rf3-brand), var(--rf3-brand-flare)) !important;
  border-color: transparent;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .gstep h3,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep h3 {
  color: var(--rf3-ink) !important;
  font-size: 16.5px !important;
  font-weight: 800 !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .gstep p,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .vstep p {
  color: var(--rf3-ink-2) !important;
  font-size: 14.3px !important;
  line-height: 1.75 !important;
}

/* Roadmaps (.roadmap / .rphase), Advs (.advs), Choose (.choose), Modes (.modes), Cmp3 (.cmp3), Kwlayers (.kwlayers), Cards */
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) :is(.rphase, .adv, .choosec, .mode, .cmp3 .col, .kwl, .adapt, .cbox, .card, .statrow .s, .relc) {
  background: var(--rf3-surface) !important;
  border: 1px solid var(--rf3-border) !important;
  border-radius: 15px !important;
  box-shadow: var(--rf3-shadow-sm) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .rphase .when {
  background: var(--rf3-navy) !important;
  color: #fff !important;
  font-family: var(--rf3-mono), var(--rf3-sans);
  font-size: 11.5px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .rphase li::before {
  color: var(--rf3-local-accent) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .kwl .ln {
  background: linear-gradient(135deg, var(--rf3-navy), var(--rf3-navy-2)) !important;
  color: #fff !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .kwl:nth-child(4) .ln {
  background: linear-gradient(135deg, var(--rf3-brand), var(--rf3-brand-flare)) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .kwl .chips span {
  background: var(--rf3-bg) !important;
  border: 1px solid var(--rf3-border) !important;
  color: var(--rf3-ink) !important;
  font-family: var(--rf3-mono), var(--rf3-sans);
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .relc:hover {
  border-color: var(--rf3-local-accent) !important;
  transform: translateY(-2px);
  box-shadow: var(--rf3-shadow-md) !important;
}
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .relc h3,
body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body) .relc h4 {
  color: var(--rf3-ink) !important;
  font-weight: 800 !important;
}

/* Mobile Readability Discipline (Kill Centered Gray Text Walls!) */
@media (max-width: 760px) {
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .sec {
    padding: 46px 0 !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .wrap {
    padding: 0 16px !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead,
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead.ctr {
    text-align: left !important;
    margin: 0 0 26px !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .shead p {
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 14.6px !important;
    line-height: 1.76 !important;
    color: var(--rf3-ink-2) !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .defb {
    padding: 18px 18px !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq > button {
    padding: 15px 15px !important;
    font-size: 14.8px !important;
    grid-template-columns: 28px minmax(0, 1fr) 26px !important;
    gap: 10px !important;
  }
  body :is(.rf3-svc-body, .rf3-ind-body, .rf3-case-body, .rf3-guide-body, .rf3-res-body, .rf3-edit-body) .fq .a p {
    padding: 12px 16px 18px !important;
    font-size: 14.3px !important;
  }
  .rf3-codecard pre {
    padding: 14px 14px !important;
    font-size: 12.2px !important;
  }
}

/* ============================================================================
 * 10. BLOG & SINGLE ARTICLE POLISH (Logo Consistency + Zero Float Collision)
 * ============================================================================ */
.rf3-art-col {
  border-radius: 18px !important;
  border-color: var(--rf3-border) !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
.rf3-prose code {
  background: #EDF2FA !important;
  color: #0B3066 !important;
  border: 1px solid #D5E0F0;
}
.rf3-side-card {
  border-radius: 16px !important;
  border-color: var(--rf3-border) !important;
  box-shadow: var(--rf3-shadow-sm) !important;
}
.rf3-toc-nav a.is-active {
  color: var(--rf3-brand-text) !important;
  border-left-color: var(--rf3-brand) !important;
  background: var(--rf3-brand-soft) !important;
}

/* Single-Column V3 Native FAQ (Homepage / Pricing / Audit — Eliminates Orphan 5th Card Sitewide!) */
.rf3-faq-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  max-width: 880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
