/* ==========================================================================
   星网数科 · 加盟选择专家 — 112 套装修方案库、30 大专题 & 多维枢纽编辑级样式系统
   Apple × Linear × ArchDaily · 翡翠绿 (#0F766E) · 香槟金 (#B45309/#D97706) · 曜石黑 (#0F172A)
   ========================================================================== */

body.page-renovation-cases {
  background: #f5f5f7;
  color: #0f172a;
}

.rc-page {
  --rc-ink: #0f172a;
  --rc-ink-2: #334155;
  --rc-muted: #64748b;
  --rc-emerald: #0f766e;
  --rc-emerald-deep: #115e59;
  --rc-emerald-bright: #0d9488;
  --rc-emerald-soft: #eefaf8;
  --rc-emerald-line: rgba(15, 118, 110, 0.22);
  --rc-gold: #b45309;
  --rc-gold-bright: #d97706;
  --rc-gold-soft: #fffbeb;
  --rc-gold-line: rgba(180, 83, 9, 0.22);
  --rc-surface: #ffffff;
  --rc-canvas: #f5f5f7;
  --rc-line: rgba(15, 23, 42, 0.08);
  --rc-line-strong: rgba(15, 23, 42, 0.14);
  --rc-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --rc-shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --rc-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --rc-ease: cubic-bezier(0.22, 1, 0.36, 1);

  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.rc-page *,
.rc-page *::before,
.rc-page *::after {
  box-sizing: border-box;
  min-width: 0;
}

.rc-wrap {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 24px;
}

.rc-section {
  padding: 56px 0;
}

.rc-section-block {
  margin-top: 52px;
}

.rc-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rc-emerald);
}

.rc-kicker-light {
  color: #5eead4;
}

.rc-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.rc-sec-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--rc-ink);
  font-weight: 730;
}

.rc-sec-desc {
  max-width: 560px;
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--rc-muted);
}

.rc-dot-sep {
  opacity: 0.45;
  margin-inline: 4px;
}

/* ---------- Breadcrumb ---------- */
.rc-breadcrumb {
  margin-bottom: 18px;
}

.rc-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--rc-muted);
}

.rc-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rc-breadcrumb li + li::before {
  content: '/';
  opacity: 0.4;
}

.rc-breadcrumb a {
  color: var(--rc-ink-2);
  transition: color 0.15s var(--rc-ease);
}

.rc-breadcrumb a:hover {
  color: var(--rc-emerald);
}

.rc-breadcrumb li[aria-current="page"] span {
  color: var(--rc-ink);
  font-weight: 600;
}

.rc-hero-crumb .rc-breadcrumb ol {
  color: rgba(226, 232, 240, 0.72);
}

.rc-hero-crumb .rc-breadcrumb a {
  color: rgba(226, 232, 240, 0.85);
}

.rc-hero-crumb .rc-breadcrumb a:hover {
  color: #5eead4;
}

.rc-hero-crumb .rc-breadcrumb li[aria-current="page"] span {
  color: #ffffff;
}

/* ---------- Pills, Badges & Swatches ---------- */
.rc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 660;
  line-height: 1.3;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.rc-pill.is-emerald {
  background: #ecfdf5;
  color: #065f46;
  border-color: rgba(15, 118, 110, 0.24);
}

.rc-pill.is-gold {
  background: #fffbeb;
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.28);
}

.rc-pill.is-dark {
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.rc-pill.is-glass {
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
}

.rc-pill.is-neutral {
  background: #f1f5f9;
  color: #334155;
  border-color: rgba(15, 23, 42, 0.08);
}

.rc-pill.is-brand {
  background: linear-gradient(135deg, #0f172a, #115e59);
  color: #f0fdfa;
  border-color: rgba(94, 234, 212, 0.24);
}

.rc-pill.is-intent {
  background: rgba(15, 118, 110, 0.09);
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.2);
}

.rc-swatch-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.2);
  flex: none;
}

.rc-code-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.rc-gb-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 7px;
  background: #0f172a;
  color: #fcd34d;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s var(--rc-ease), background 0.16s var(--rc-ease), border-color 0.16s var(--rc-ease), box-shadow 0.16s var(--rc-ease), color 0.16s var(--rc-ease);
}

.rc-btn:hover {
  transform: translateY(-1px);
}

.rc-btn-lg {
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14.5px;
}

.rc-btn-emerald {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.28);
}

.rc-btn-emerald:hover {
  background: linear-gradient(135deg, #115e59, #0f766e);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.34);
}

.rc-btn-obsidian {
  background: #0f172a;
  color: #ffffff !important;
  border-color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.rc-btn-obsidian:hover {
  background: #1e293b;
}

.rc-btn-primary {
  background: #0f766e;
  color: #ffffff !important;
  border-color: #0f766e;
}

.rc-btn-primary:hover {
  background: #115e59;
  border-color: #115e59;
}

.rc-btn-subtle {
  background: #f1f5f9;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.08);
}

.rc-btn-subtle:hover {
  background: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.16);
}

.rc-btn-outline {
  background: #ffffff;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.16);
}

.rc-btn-outline:hover {
  background: #f8fafc;
  border-color: var(--rc-emerald);
  color: var(--rc-emerald) !important;
}

.rc-btn-gold-outline {
  background: #fffbeb;
  color: #92400e !important;
  border-color: rgba(217, 119, 6, 0.34);
}

.rc-btn-gold-outline:hover {
  background: #fef3c7;
  border-color: #b45309;
}

.rc-btn-glass {
  background: rgba(255, 255, 255, 0.09);
  color: #f8fafc !important;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.rc-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
}

.rc-btn-mini {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rc-btn-mini:hover {
  background: var(--rc-emerald-soft);
  color: var(--rc-emerald);
  border-color: var(--rc-emerald-line);
}

.rc-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 660;
  color: var(--rc-emerald);
  white-space: nowrap;
  transition: gap 0.16s var(--rc-ease), color 0.16s ease;
}

.rc-link-arrow:hover {
  color: var(--rc-emerald-deep);
  gap: 8px;
}

/* ==========================================================================
   1. HUB HERO (Obsidian-to-Emerald Editorial Showcase)
   ========================================================================== */
.rc-hero-hub {
  position: relative;
  padding: 36px 0 54px;
  color: #e2e8f0;
  background-color: #0b1218;
  background-image:
    radial-gradient(ellipse 75% 65% at 86% 8%, rgba(15, 118, 110, 0.38), transparent 62%),
    radial-gradient(ellipse 46% 48% at 10% 100%, rgba(217, 119, 6, 0.16), transparent 58%),
    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: auto, auto, 48px 48px, 48px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.88fr);
  gap: 36px;
  align-items: center;
}

.rc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.22);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: #99f6e4;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.rc-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  flex: none;
}

.rc-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 750;
}

.rc-hero-sub {
  margin: 0 0 24px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #cbd5e1;
}

.rc-hero-sub strong {
  color: #ffffff;
  font-weight: 660;
}

.rc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rc-hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.rc-kpi-tile {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.rc-kpi-tile strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 760;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.rc-kpi-tile strong em {
  font-style: normal;
  font-size: 13px;
  color: #fbbf24;
  margin-left: 3px;
  font-weight: 700;
}

.rc-kpi-tile span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #94a3b8;
}

.rc-hero-visual {
  display: grid;
  gap: 12px;
}

.rc-hero-frame {
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

.rc-hero-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: #94a3b8;
}

.rc-frame-dots {
  display: inline-flex;
  gap: 5px;
}

.rc-frame-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.rc-frame-title {
  font-weight: 650;
  letter-spacing: 0.06em;
  color: #e2e8f0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-frame-tag {
  font-family: var(--font-mono, ui-monospace, monospace);
  color: #5eead4;
  font-weight: 700;
}

.rc-hero-frame-img {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.rc-hero-frame-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--rc-ease);
}

.rc-hero-frame-img:hover img {
  transform: scale(1.03);
}

.rc-hero-frame-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
}

.rc-hero-frame-foot strong {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 650;
}

.rc-hero-frame-foot small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #94a3b8;
}

.rc-frame-go {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.14);
  border: 1px solid rgba(94, 234, 212, 0.3);
  color: #99f6e4;
  font-size: 12px;
  font-weight: 660;
  white-space: nowrap;
}

.rc-frame-go:hover {
  background: rgba(94, 234, 212, 0.24);
  color: #ffffff;
}

.rc-hero-quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rc-hero-quick-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.rc-hero-quick-links a span {
  font-family: var(--font-mono, ui-monospace, monospace);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 700;
}

.rc-hero-quick-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(94, 234, 212, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   2. 12-GROUP BRANDED BEFORE/AFTER GALLERY
   ========================================================================== */
.rc-gallery-section {
  background: #ffffff;
  border-bottom: 1px solid var(--rc-line);
}

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

.rc-gallery-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.22s var(--rc-ease), box-shadow 0.22s var(--rc-ease), border-color 0.22s ease;
}

.rc-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rc-shadow-md);
  border-color: var(--rc-emerald-line);
}

.rc-gallery-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.rc-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.52s var(--rc-ease);
}

.rc-gallery-card:hover .rc-gallery-media img {
  transform: scale(1.04);
}

.rc-gallery-top-pills {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-gallery-hover-tag {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s var(--rc-ease);
}

.rc-gallery-card:hover .rc-gallery-hover-tag {
  opacity: 1;
  transform: translateY(0);
}

.rc-gallery-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.rc-gallery-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--rc-ink);
  font-weight: 700;
}

.rc-gallery-body h3 a:hover {
  color: var(--rc-emerald);
}

.rc-gallery-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--rc-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-gallery-actions {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ==========================================================================
   3. 30 HIGH-INTENT SEARCH TOPICS
   ========================================================================== */
.rc-topics-section {
  background: #f5f5f7;
}

.rc-topic-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
}

.rc-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rc-ink-2);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.rc-tab-pill span {
  font-size: 11.5px;
  opacity: 0.72;
}

.rc-tab-pill.is-active {
  background: #0f172a;
  color: #ffffff;
}

.rc-topic-group + .rc-topic-group {
  margin-top: 34px;
}

.rc-group-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-group-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}

.rc-group-dot.is-emerald {
  background: var(--rc-emerald);
}

.rc-group-dot.is-gold {
  background: var(--rc-gold-bright);
}

.rc-group-bar h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 720;
  color: var(--rc-ink);
}

.rc-group-bar h3 span {
  font-weight: 600;
  color: var(--rc-muted);
  font-size: 14px;
}

.rc-group-bar small {
  font-size: 13px;
  color: var(--rc-muted);
}

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

.rc-topic-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.2s var(--rc-ease), box-shadow 0.2s var(--rc-ease), border-color 0.2s ease;
}

.rc-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rc-shadow-md);
  border-color: var(--rc-emerald-line);
}

.rc-topic-card.is-commercial:hover {
  border-color: var(--rc-gold-line);
}

.rc-topic-thumb {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #0f172a;
}

.rc-topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--rc-ease);
}

.rc-topic-card:hover .rc-topic-thumb img {
  transform: scale(1.04);
}

.rc-topic-badges {
  position: absolute;
  top: 9px;
  left: 9px;
  right: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rc-topic-body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 7px;
}

.rc-topic-body h4 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.38;
  color: var(--rc-ink);
  font-weight: 700;
}

.rc-topic-card:hover .rc-topic-body h4 {
  color: var(--rc-emerald);
}

.rc-topic-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--rc-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-topic-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.rc-topic-kpi {
  color: var(--rc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-topic-kpi em {
  font-style: normal;
}

.rc-topic-kpi strong {
  color: var(--rc-ink);
  font-weight: 700;
}

.rc-topic-go {
  flex: none;
  font-weight: 680;
  color: var(--rc-emerald);
  white-space: nowrap;
}

.rc-topic-card.is-commercial .rc-topic-go {
  color: var(--rc-gold);
}

/* ==========================================================================
   4. 112-SCHEME INSTANT FILTER & DIRECTORY GRID
   ========================================================================== */
.rc-directory-section {
  background: #ffffff;
  border-top: 1px solid var(--rc-line);
  border-bottom: 1px solid var(--rc-line);
}

.rc-filter-panel {
  background: #f8fafc;
  border: 1px solid var(--rc-line-strong);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 26px;
  display: grid;
  gap: 14px;
}

.rc-filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rc-search-box {
  flex: 1 1 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
  color: var(--rc-muted);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.rc-search-box:focus-within {
  border-color: var(--rc-emerald);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.rc-search-box input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--rc-ink);
  outline: none;
}

.rc-filter-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-match-pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  font-size: 12.5px;
  color: var(--rc-ink-2);
}

.rc-match-pill strong {
  color: var(--rc-emerald);
  font-size: 14px;
}

.rc-reset-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--rc-line-strong);
  background: #ffffff;
  color: var(--rc-ink-2);
  font-size: 12.5px;
  font-weight: 620;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rc-reset-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.rc-filter-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
}

.rc-filter-label {
  padding-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--rc-muted);
  white-space: nowrap;
}

.rc-filter-pills,
.rc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rc-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--rc-line-strong);
  background: #ffffff;
  color: var(--rc-ink-2);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: all 0.15s var(--rc-ease);
}

.rc-filter-pill span {
  font-size: 11.5px;
  opacity: 0.7;
}

.rc-filter-pill:hover {
  border-color: var(--rc-emerald);
  color: var(--rc-emerald);
}

.rc-filter-pill.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.rc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 9px;
  border: 1px solid var(--rc-line);
  background: #ffffff;
  color: var(--rc-ink-2);
  font-size: 12.5px;
  font-weight: 580;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rc-chip em {
  font-style: normal;
  font-size: 11px;
  color: var(--rc-muted);
}

.rc-chip:hover {
  border-color: var(--rc-emerald-line);
  color: var(--rc-emerald);
}

.rc-chip.is-active {
  background: var(--rc-emerald);
  border-color: var(--rc-emerald);
  color: #ffffff;
}

.rc-chip.is-active em {
  color: rgba(255, 255, 255, 0.85);
}

/* Scheme Grid & Cards */
.rc-schemes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rc-scheme-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.22s var(--rc-ease), box-shadow 0.22s var(--rc-ease), border-color 0.22s ease;
}

.rc-scheme-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rc-shadow-md);
  border-color: var(--rc-emerald-line);
}

.rc-scheme-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.rc-scheme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--rc-ease);
}

.rc-scheme-card:hover .rc-scheme-media img {
  transform: scale(1.04);
}

.rc-scheme-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-style-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 680;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.rc-scheme-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.rc-scheme-meta-line {
  font-size: 12px;
  color: var(--rc-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.rc-scheme-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 710;
  color: var(--rc-ink);
}

.rc-scheme-title a:hover {
  color: var(--rc-emerald);
}

.rc-scheme-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr) minmax(0, 0.7fr);
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
}

.rc-metric-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rc-metric-lbl {
  font-size: 10.5px;
  color: var(--rc-muted);
  white-space: nowrap;
}

.rc-metric-val {
  font-size: 13px;
  font-weight: 730;
  color: var(--rc-ink);
  white-space: nowrap;
}

.rc-metric-val.is-emerald {
  color: var(--rc-emerald);
}

.rc-zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rc-zone-pills span {
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 540;
}

.rc-scheme-actions {
  margin-top: auto;
  padding-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 8px;
}

.rc-scheme-actions .rc-btn {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 12.5px;
  width: 100%;
}

.rc-empty-state {
  text-align: center;
  padding: 44px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px dashed var(--rc-line-strong);
}

.rc-empty-sub {
  margin: 8px 0 18px;
  font-size: 14px;
  color: var(--rc-muted);
}

/* ==========================================================================
   5. SCHEME DETAIL PAGE — HEADER, 2D SWIPE VIEWER & ACTION BAR
   ========================================================================== */
.rc-detail-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--rc-line);
  padding: 26px 0 32px;
}

.rc-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.rc-detail-h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--rc-ink);
  font-weight: 760;
}

.rc-detail-lead {
  max-width: 900px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--rc-ink-2);
}

.rc-visual-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.86fr);
  gap: 18px;
  align-items: start;
}

.rc-compare-panel {
  background: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: var(--rc-shadow-md);
}

.rc-compare-viewer {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: #0b1218;
}

.rc-compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.rc-compare-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--rc-split, 50%)) 0 0);
  pointer-events: none;
}

.rc-compare-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.rc-compare-label.is-before {
  left: 14px;
  background: rgba(15, 23, 42, 0.78);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.rc-compare-label.is-after {
  right: 14px;
  background: rgba(15, 118, 110, 0.88);
  color: #ffffff;
  border: 1px solid rgba(94, 234, 212, 0.34);
}

.rc-compare-brand {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.03em;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.rc-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rc-split, 50%);
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  z-index: 5;
  pointer-events: none;
}

.rc-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f766e;
  border: 2px solid #0f766e;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -1px;
}

.rc-compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 6;
}

.rc-compare-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 16px;
  background: #0f172a;
  color: #cbd5e1;
  font-size: 12.5px;
}

.rc-compare-caption-bar strong {
  color: #5eead4;
}

.rc-companion-visuals {
  display: grid;
  gap: 14px;
}

.rc-figure-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--rc-shadow-xs);
}

.rc-figure-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.rc-figure-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-figure-card figcaption {
  padding: 10px 13px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--rc-ink-2);
  display: grid;
  gap: 8px;
}

.rc-palette-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-pal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
  font-size: 11px;
  color: var(--rc-muted);
}

.rc-pal-chip i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid rgba(15, 23, 42, 0.16);
}

.rc-pal-chip em {
  font-style: normal;
}

/* Action Bar */
.rc-action-bar {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
  box-shadow: var(--rc-shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* GEO Answer-First Card */
.rc-geo-card {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  border: 1px solid var(--rc-emerald-line);
  border-left: 4px solid var(--rc-emerald);
  box-shadow: var(--rc-shadow-sm);
}

.rc-geo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rc-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--rc-emerald);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
}

.rc-geo-source {
  font-size: 12px;
  color: var(--rc-muted);
}

.rc-geo-answer {
  margin: 0 0 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--rc-ink);
  font-weight: 500;
}

.rc-geo-kpis {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rc-geo-kpis > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
}

.rc-geo-kpis dt {
  font-size: 11.5px;
  color: var(--rc-muted);
  font-weight: 600;
}

.rc-geo-kpis dd {
  margin: 4px 0 3px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 750;
  color: var(--rc-ink);
}

.rc-geo-kpis dd.rc-geo-code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 13.5px;
  color: var(--rc-emerald-deep);
  word-break: break-word;
}

.rc-geo-kpis small {
  display: block;
  font-size: 11.5px;
  color: var(--rc-muted);
}

/* Chapter Jump TOC */
.rc-chapter-toc {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-chapter-toc a {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  font-size: 12.5px;
  font-weight: 620;
  color: var(--rc-ink-2);
  transition: all 0.15s ease;
}

.rc-chapter-toc a:hover {
  border-color: var(--rc-emerald);
  color: var(--rc-emerald);
  background: var(--rc-emerald-soft);
}

/* ==========================================================================
   6. DETAIL BODY — 6 DEEP ENGINEERING CHAPTERS
   ========================================================================== */
.rc-detail-body {
  padding: 40px 0 60px;
}

.rc-chapter {
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: 20px;
  padding: 28px 30px;
  box-shadow: var(--rc-shadow-xs);
  scroll-margin-top: 78px;
}

.rc-chapter + .rc-chapter {
  margin-top: 24px;
}

.rc-ch-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-ch-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #115e59);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 760;
}

.rc-ch-head h2 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--rc-ink);
  font-weight: 730;
}

.rc-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rc-editorial-card {
  padding: 18px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
}

.rc-editorial-card.is-accent {
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  border-color: var(--rc-emerald-line);
}

.rc-editorial-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 710;
  color: var(--rc-ink);
}

.rc-editorial-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--rc-ink-2);
}

.rc-card-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rc-card-kicker-row h3 {
  margin: 0;
}

.rc-struct-metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.rc-struct-metrics > div {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
}

.rc-struct-metrics span {
  display: block;
  font-size: 11.5px;
  color: var(--rc-muted);
}

.rc-struct-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 750;
  color: var(--rc-emerald-deep);
}

.rc-narrative-box {
  padding: 16px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border-left: 3px solid var(--rc-emerald);
  margin-bottom: 18px;
}

.rc-narrative-box p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--rc-ink-2);
}

/* Zones Grid */
.rc-zones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rc-zone-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
}

.rc-zone-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}

.rc-zone-card-head h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--rc-ink);
}

.rc-zone-card p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.68;
  color: var(--rc-ink-2);
}

/* Materials Grid */
.rc-materials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rc-material-card {
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-material-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rc-material-swatch {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  flex: none;
}

.rc-material-id {
  display: grid;
  gap: 4px;
}

.rc-material-id h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 710;
  color: var(--rc-ink);
}

.rc-material-spec {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
  color: var(--rc-ink-2);
}

.rc-material-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.rc-material-foot span {
  display: block;
  font-size: 11px;
  color: var(--rc-muted);
}

.rc-material-foot strong {
  font-size: 16px;
  color: var(--rc-emerald-deep);
}

.rc-material-hex {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11px;
  color: var(--rc-muted);
  text-transform: uppercase;
}

.rc-material-note {
  font-size: 11.5px;
  color: var(--rc-muted);
}

/* MEP Checklist */
.rc-mep-checklist {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
}

.rc-mep-checklist h4 {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--rc-ink);
}

.rc-mep-checklist ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rc-mep-checklist li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--rc-emerald-line);
  font-size: 13px;
  font-weight: 580;
  color: var(--rc-ink-2);
}

.rc-check-ico {
  color: var(--rc-emerald);
  font-weight: 800;
}

/* Chapter 5: 3-Tier Pricing + BOQ Table + Gantt */
.rc-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.rc-tier-card {
  padding: 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--rc-line-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-tier-card.is-featured {
  background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  border: 1.5px solid var(--rc-emerald);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.11);
}

.rc-tier-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.rc-tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--rc-emerald);
  margin-bottom: 2px;
}

.rc-tier-top h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 740;
  color: var(--rc-ink);
}

.rc-tier-rec {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--rc-emerald);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.rc-tier-price strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--rc-ink);
}

.rc-tier-price strong em {
  font-style: normal;
  font-size: 15px;
  margin-left: 2px;
  color: var(--rc-gold);
}

.rc-tier-price span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--rc-muted);
}

.rc-tier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  font-size: 12.5px;
  color: var(--rc-muted);
}

.rc-tier-meta strong {
  color: var(--rc-ink);
}

.rc-tier-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--rc-ink-2);
}

.rc-tier-inc {
  margin: auto 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--rc-line);
  list-style: none;
  display: grid;
  gap: 6px;
}

.rc-tier-inc li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--rc-ink-2);
}

.rc-tier-inc li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--rc-emerald);
  font-weight: 800;
}

.rc-boq-block,
.rc-gantt-block {
  margin-top: 26px;
}

.rc-subblock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.rc-subblock-head h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 720;
  color: var(--rc-ink);
}

.rc-boq-total-pill,
.rc-gantt-legend {
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--rc-line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rc-emerald-deep);
}

.rc-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--rc-line-strong);
  border-radius: 14px;
  background: #ffffff;
}

.rc-boq-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.rc-boq-table thead th {
  padding: 12px 13px;
  text-align: left;
  background: #f8fafc;
  color: var(--rc-muted);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--rc-line-strong);
  white-space: nowrap;
}

.rc-boq-table tbody td {
  padding: 12px 13px;
  border-bottom: 1px solid var(--rc-line);
  vertical-align: top;
  color: var(--rc-ink-2);
}

.rc-boq-table tbody tr:hover {
  background: #f8fafc;
}

.rc-boq-table tfoot td {
  padding: 13px;
  background: #f0fdfa;
  border-top: 1.5px solid var(--rc-emerald-line);
  color: var(--rc-ink);
}

.rc-boq-name {
  display: block;
  color: var(--rc-ink);
  font-weight: 680;
}

.rc-boq-cat {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--rc-muted);
}

.rc-boq-spec {
  max-width: 310px;
  font-size: 12.5px;
  line-height: 1.55;
}

.rc-td-right {
  text-align: right !important;
  white-space: nowrap;
}

.rc-td-strong {
  color: var(--rc-ink) !important;
  font-weight: 720;
}

.rc-td-total {
  font-size: 16px;
  font-weight: 780;
  color: var(--rc-emerald-deep) !important;
}

.rc-td-share {
  min-width: 108px;
}

.rc-share-cell {
  display: grid;
  gap: 4px;
  font-size: 12px;
}

.rc-share-bar {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.rc-share-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #14b8a6);
}

/* 6-Phase CSS Gantt Timeline */
.rc-gantt-chart {
  border: 1px solid var(--rc-line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.rc-gantt-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rc-line);
}

.rc-gantt-row:last-child {
  border-bottom: 0;
}

.rc-gantt-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.rc-gantt-title-line strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--rc-ink);
}

.rc-gantt-sub {
  display: grid;
  gap: 2px;
  font-size: 12px;
  line-height: 1.5;
}

.rc-gantt-ms {
  color: var(--rc-emerald-deep);
  font-weight: 600;
}

.rc-gantt-risk {
  color: var(--rc-muted);
}

.rc-gantt-track-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 10px;
  align-items: center;
}

.rc-gantt-track {
  position: relative;
  height: 28px;
  border-radius: 9px;
  background:
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.04) 0, rgba(15, 23, 42, 0.04) 1px, transparent 1px, transparent 16.66%),
    #f1f5f9;
  border: 1px solid var(--rc-line);
  overflow: hidden;
}

.rc-gantt-bar {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 720;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.25);
  overflow: hidden;
  white-space: nowrap;
  padding-inline: 4px;
}

.rc-gantt-range {
  font-size: 12px;
  font-weight: 680;
  color: var(--rc-ink-2);
  text-align: right;
  white-space: nowrap;
}

/* Chapter 6: Compliance Rules & Warnings */
.rc-compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.rc-rule-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
  display: grid;
  gap: 9px;
  align-content: start;
}

.rc-rule-card p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.68;
  color: var(--rc-ink-2);
}

.rc-warning-box {
  padding: 20px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-left: 4px solid #d97706;
}

.rc-warning-box h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 730;
  color: #92400e;
}

.rc-warning-box ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rc-warning-box li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.rc-warning-box li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 760;
}

.rc-warning-box li p {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--rc-ink-2);
}

/* ==========================================================================
   7. SAME-ROOM 8-STYLE SWITCHER STRIP
   ========================================================================== */
.rc-style-switch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rc-style-switch-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 15px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.18s var(--rc-ease), border-color 0.18s ease, box-shadow 0.18s ease;
}

a.rc-style-switch-card:hover {
  transform: translateY(-2px);
  border-color: var(--rc-emerald);
  box-shadow: var(--rc-shadow-sm);
}

.rc-style-switch-card.is-current {
  background: linear-gradient(135deg, #0f172a, #115e59);
  border-color: #0f766e;
  color: #ffffff;
}

.rc-ss-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rc-ss-head strong {
  font-size: 14.5px;
  font-weight: 710;
}

.rc-ss-tag {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.2);
  color: #99f6e4;
  font-size: 10.5px;
  font-weight: 700;
}

.rc-style-switch-card small {
  font-size: 11.5px;
  color: var(--rc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-style-switch-card.is-current small {
  color: #cbd5e1;
}

.rc-ss-foot {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--rc-ink-2);
}

.rc-style-switch-card.is-current .rc-ss-foot {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
}

.rc-ss-go {
  color: var(--rc-emerald);
  font-weight: 680;
}

/* ==========================================================================
   8. FAQ ACCORDION, RELATED TOPICS & CTA BAND
   ========================================================================== */
.rc-faq-section {
  background: #f5f5f7;
}

.rc-faq-list {
  display: grid;
  gap: 12px;
}

.rc-faq-item {
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rc-faq-item[open] {
  border-color: var(--rc-emerald-line);
  box-shadow: var(--rc-shadow-sm);
}

.rc-faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 680;
  color: var(--rc-ink);
}

.rc-faq-q::-webkit-details-marker {
  display: none;
}

.rc-faq-num {
  flex: none;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--rc-emerald-soft);
  color: var(--rc-emerald-deep);
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  font-weight: 760;
}

.rc-faq-q-text {
  flex: 1;
}

.rc-faq-chevron {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  position: relative;
}

.rc-faq-chevron::before,
.rc-faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.6px;
  background: #475569;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rc-faq-chevron::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rc-faq-item[open] .rc-faq-chevron::after {
  opacity: 0;
}

.rc-faq-a {
  padding: 0 18px 18px 56px;
}

.rc-faq-a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--rc-ink-2);
}

.rc-related-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rc-rel-topic-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.18s var(--rc-ease), border-color 0.18s ease, box-shadow 0.18s ease;
}

.rc-rel-topic-card:hover {
  transform: translateY(-2px);
  border-color: var(--rc-emerald-line);
  box-shadow: var(--rc-shadow-sm);
}

.rc-rel-topic-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-rel-intent {
  font-size: 11px;
  color: var(--rc-muted);
}

.rc-rel-topic-card h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--rc-ink);
  font-weight: 710;
}

.rc-rel-topic-card p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.58;
  color: var(--rc-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-rel-topic-card .rc-topic-go {
  margin-top: auto;
  font-size: 12.5px;
}

.rc-cta-band {
  padding: 20px 0 36px;
}

.rc-cta-box {
  padding: 30px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0b1218 0%, #0d3b38 62%, #0f766e 100%);
  border: 1px solid rgba(94, 234, 212, 0.25);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--rc-shadow-md);
}

.rc-cta-box h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.3vw, 26px);
  color: #ffffff;
  font-weight: 730;
}

.rc-cta-box p {
  margin: 0;
  max-width: 660px;
  font-size: 14.5px;
  line-height: 1.68;
  color: #cbd5e1;
}

.rc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   9. TOPIC PAGE SPECIFIC LAYOUT
   ========================================================================== */
.rc-topic-hero {
  background:
    radial-gradient(65% 75% at 88% 0%, rgba(15, 118, 110, 0.08), transparent 65%),
    radial-gradient(50% 60% at 8% 100%, rgba(217, 119, 6, 0.06), transparent 62%),
    #ffffff;
  border-bottom: 1px solid var(--rc-line);
  padding: 28px 0 36px;
}

.rc-topic-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 30px;
  align-items: center;
}

.rc-topic-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--rc-ink);
  font-weight: 760;
}

.rc-topic-geo-box {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f0fdfa;
  border: 1px solid var(--rc-emerald-line);
  border-left: 4px solid var(--rc-emerald);
  margin-bottom: 20px;
}

.rc-topic-geo-box p {
  margin: 8px 0 0;
  font-size: 14.8px;
  line-height: 1.72;
  color: var(--rc-ink);
}

.rc-topic-hero-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
  box-shadow: var(--rc-shadow-md);
}

.rc-topic-hero-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.rc-topic-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-topic-hero-media figcaption {
  padding: 11px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--rc-muted);
}

.rc-caption-brand {
  color: var(--rc-emerald);
  font-weight: 700;
}

.rc-topic-metrics-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rc-topic-metric-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
}

.rc-tm-label {
  display: block;
  font-size: 12px;
  color: var(--rc-muted);
  font-weight: 600;
}

.rc-tm-value {
  display: block;
  margin: 6px 0 4px;
  font-size: 22px;
  line-height: 1.2;
  color: var(--rc-emerald-deep);
  font-weight: 760;
}

.rc-tm-note {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--rc-muted);
}

.rc-topic-guides {
  display: grid;
  gap: 18px;
}

.rc-guide-chapter {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 26px 28px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
}

.rc-guide-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rc-emerald-soft);
  border: 1px solid var(--rc-emerald-line);
  color: var(--rc-emerald-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 780;
}

.rc-guide-content h2 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  color: var(--rc-ink);
  font-weight: 730;
}

.rc-guide-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--rc-ink-2);
}

.rc-guide-bullets {
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
  list-style: none;
  display: grid;
  gap: 8px;
}

.rc-guide-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--rc-ink-2);
}

.rc-guide-bullets li::before {
  content: '▸';
  position: absolute;
  left: 2px;
  color: var(--rc-emerald);
  font-weight: 800;
}

.rc-checklist-card {
  padding: 24px 26px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-left: 4px solid var(--rc-gold-bright);
  box-shadow: var(--rc-shadow-xs);
}

.rc-checklist-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.rc-checklist-head h2 {
  margin: 0;
  font-size: 21px;
  color: var(--rc-ink);
}

.rc-checklist-items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rc-checklist-items li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.rc-check-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fef3c7;
  color: #92400e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 760;
}

.rc-checklist-items p {
  margin: 2px 0 0;
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--rc-ink-2);
}

/* ==========================================================================
   10. COMPLIANCE & WATERMARK FOOTER STRIP
   ========================================================================== */
.rc-compliance {
  padding: 0 0 48px;
}

.rc-compliance-card {
  padding: 18px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
}

.rc-compliance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.rc-compliance-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--rc-ink);
}

.rc-compliance-ver {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 11.5px;
  color: var(--rc-muted);
}

.rc-compliance-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--rc-muted);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (1080px / 900px Tablet / 640px & 390px Mobile)
   ========================================================================== */
@media (max-width: 1080px) {
  .rc-hero-grid,
  .rc-visual-stage,
  .rc-topic-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .rc-materials-grid,
  .rc-style-switch-grid,
  .rc-related-topics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .rc-wrap {
    padding-inline: 18px;
  }

  .rc-section {
    padding: 40px 0;
  }

  .rc-gallery-grid,
  .rc-topics-grid,
  .rc-schemes-grid,
  .rc-tiers-grid,
  .rc-geo-kpis,
  .rc-topic-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rc-two-col,
  .rc-zones-grid,
  .rc-compliance-grid,
  .rc-checklist-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-gantt-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .rc-chapter {
    padding: 22px 20px;
  }
}

@media (max-width: 640px) {
  .rc-wrap {
    padding-inline: 16px;
  }

  .rc-hero-hub {
    padding: 24px 0 36px;
  }

  .rc-hero-quick-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-gallery-grid,
  .rc-topics-grid,
  .rc-schemes-grid,
  .rc-tiers-grid,
  .rc-materials-grid,
  .rc-style-switch-grid,
  .rc-related-topics-grid,
  .rc-companion-visuals,
  .rc-geo-kpis,
  .rc-topic-metrics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .rc-filter-panel {
    padding: 14px;
  }

  .rc-filter-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .rc-filter-label {
    padding-top: 0;
  }

  .rc-scheme-metrics {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .rc-metric-cell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .rc-scheme-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-action-bar .rc-btn {
    width: 100%;
  }

  .rc-hero-actions .rc-btn,
  .rc-cta-actions .rc-btn {
    width: 100%;
  }

  .rc-geo-card {
    padding: 16px;
  }

  .rc-chapter {
    padding: 18px 15px;
    border-radius: 16px;
  }

  .rc-ch-head {
    gap: 12px;
  }

  .rc-ch-num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .rc-guide-chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 16px;
  }

  .rc-faq-q {
    padding: 14px;
    font-size: 14.5px;
  }

  .rc-faq-a {
    padding: 0 14px 14px 14px;
  }

  .rc-cta-box {
    padding: 22px 18px;
  }

  .rc-compare-viewer {
    aspect-ratio: 4 / 3;
  }

  .rc-compare-label {
    top: 10px;
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .rc-compare-label.is-before {
    left: 10px;
  }

  .rc-compare-label.is-after {
    right: 10px;
  }

  .rc-compare-brand {
    right: 10px;
    bottom: 10px;
    font-size: 10px;
  }

  .rc-compare-knob {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .rc-gantt-track-wrap {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 8px;
  }
}


/* ==========================================================================
   12. INTERACTIVE REAL-TIME BUDGET & SCHEME MATCHER (#calculator)
   ========================================================================== */
.rc-calc-section {
  background:
    radial-gradient(58% 60% at 92% 0%, rgba(15, 118, 110, 0.08), transparent 62%),
    #f8fafc;
  border-bottom: 1px solid var(--rc-line);
}

.rc-calc-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: 20px;
  align-items: stretch;
}

.rc-calc-form {
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--rc-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rc-calc-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.rc-calc-note {
  font-size: 12px;
  color: var(--rc-muted);
  font-weight: 560;
}

.rc-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rc-calc-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rc-calc-field-full {
  grid-column: 1 / -1;
}

.rc-calc-field label,
.rc-calc-lbl {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rc-ink-2);
  letter-spacing: 0.01em;
}

.rc-calc-select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--rc-line-strong);
  background: #f8fafc;
  color: var(--rc-ink);
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.rc-calc-select:focus {
  background: #ffffff;
  border-color: var(--rc-emerald);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.rc-calc-area-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rc-calc-area-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--rc-emerald-soft);
  border: 1px solid var(--rc-emerald-line);
}

.rc-calc-num-input {
  width: 64px;
  border: 0;
  background: transparent;
  color: var(--rc-emerald-deep);
  font-size: 16px;
  font-weight: 780;
  text-align: right;
  outline: none;
}

.rc-calc-area-input-wrap span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rc-emerald);
}

.rc-calc-range {
  width: 100%;
  accent-color: #0f766e;
  height: 6px;
  cursor: pointer;
}

.rc-calc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.rc-calc-preset {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--rc-line-strong);
  background: #ffffff;
  color: var(--rc-ink-2);
  font-size: 12px;
  font-weight: 640;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rc-calc-preset:hover {
  border-color: var(--rc-emerald);
  color: var(--rc-emerald);
}

.rc-calc-preset.is-active {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}

.rc-calc-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border-radius: 13px;
  background: #f1f5f9;
  border: 1px solid var(--rc-line);
}

.rc-calc-tier-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--rc-ink-2);
  cursor: pointer;
  transition: background 0.16s var(--rc-ease), color 0.16s ease, box-shadow 0.16s ease;
}

.rc-calc-tier-btn strong {
  font-size: 12.5px;
  font-weight: 720;
  white-space: nowrap;
}

.rc-calc-tier-btn small {
  font-size: 10.5px;
  color: var(--rc-muted);
  white-space: nowrap;
}

.rc-calc-tier-btn.is-active {
  background: #ffffff;
  border-color: var(--rc-emerald-line);
  color: var(--rc-emerald-deep);
  box-shadow: var(--rc-shadow-xs);
}

.rc-calc-tier-btn.is-active small {
  color: var(--rc-emerald);
}

.rc-calc-result {
  background: linear-gradient(155deg, #0b1218 0%, #0f172a 55%, #0d3b38 100%);
  border: 1px solid rgba(94, 234, 212, 0.24);
  border-radius: 20px;
  padding: 24px;
  color: #e2e8f0;
  box-shadow: var(--rc-shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rc-calc-res-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.rc-calc-res-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5eead4;
  margin-bottom: 4px;
}

.rc-calc-total-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.rc-calc-total-wan {
  font-size: clamp(32px, 3.6vw, 42px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.rc-calc-total-wan em {
  font-style: normal;
  font-size: 17px;
  margin-left: 3px;
  color: #fbbf24;
}

.rc-calc-total-exact {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}

.rc-calc-labor-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.34);
  color: #fde68a;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.rc-calc-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rc-calc-kpi {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rc-calc-kpi span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.rc-calc-kpi strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  font-weight: 710;
  line-height: 1.3;
}

.rc-calc-boq {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 10px;
}

.rc-calc-boq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #cbd5e1;
}

.rc-calc-boq-head strong {
  color: #5eead4;
}

.rc-calc-boq-list {
  display: grid;
  gap: 8px;
}

.rc-calc-boq-row {
  display: grid;
  gap: 4px;
}

.rc-calc-boq-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.rc-calc-boq-name {
  color: #e2e8f0;
  font-weight: 600;
}

.rc-calc-boq-vals {
  color: #94a3b8;
  white-space: nowrap;
}

.rc-calc-boq-vals em {
  font-style: normal;
  color: #5eead4;
  font-weight: 680;
}

.rc-calc-boq-vals strong {
  color: #ffffff;
  font-weight: 700;
}

.rc-calc-bar-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.rc-calc-bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #14b8a6, #34d399);
  transition: width 0.22s var(--rc-ease);
}

.rc-calc-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.rc-calc-ctas .rc-btn {
  flex: 1 1 auto;
  font-size: 13px;
  padding: 9px 14px;
}

/* ==========================================================================
   13. MULTI-DIMENSION DISCOVERY HUBS (#dimensions: 12 Cities / 8 Styles / 6 Areas)
   ========================================================================== */
.rc-dim-section {
  background: #f5f5f7;
  border-bottom: 1px solid var(--rc-line);
}

.rc-dim-block + .rc-dim-block {
  margin-top: 38px;
}

.rc-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rc-city-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.2s var(--rc-ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.rc-city-card:hover {
  transform: translateY(-2px);
  border-color: var(--rc-emerald-line);
  box-shadow: var(--rc-shadow-md);
}

.rc-city-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.rc-city-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.rc-city-name-row h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 740;
  color: var(--rc-ink);
}

.rc-city-index {
  flex: none;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--rc-emerald-soft);
  border: 1px solid var(--rc-emerald-line);
  color: var(--rc-emerald-deep);
  font-size: 12px;
  font-weight: 760;
}

.rc-city-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 11px;
  border-radius: 11px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
}

.rc-city-prices span {
  display: block;
  font-size: 11px;
  color: var(--rc-muted);
}

.rc-city-prices strong {
  display: block;
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 750;
  color: var(--rc-ink);
}

.rc-city-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.rc-city-climate {
  color: var(--rc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-city-go {
  flex: none;
  color: var(--rc-emerald);
  font-weight: 680;
}

.rc-style-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.rc-style-hub-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  overflow: hidden;
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.22s var(--rc-ease), border-color 0.22s ease, box-shadow 0.22s ease;
}

.rc-style-hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--rc-emerald-line);
  box-shadow: var(--rc-shadow-md);
}

.rc-style-hub-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.rc-style-hub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--rc-ease);
}

.rc-style-hub-card:hover .rc-style-hub-thumb img {
  transform: scale(1.04);
}

.rc-style-hub-thumb .rc-pill {
  position: absolute;
  top: 10px;
  left: 10px;
}

.rc-style-hub-body {
  padding: 14px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.rc-style-hub-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rc-style-hub-title-row h4 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 730;
  color: var(--rc-ink);
}

.rc-palette-3dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.rc-palette-3dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.22);
  display: block;
}

.rc-style-hub-body small {
  font-size: 11.5px;
  color: var(--rc-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-style-hub-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--rc-ink-2);
}

.rc-style-hub-go {
  color: var(--rc-emerald);
  font-weight: 680;
  white-space: nowrap;
}

.rc-area-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.rc-area-hub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  border-top: 3px solid var(--rc-emerald);
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.2s var(--rc-ease), border-color 0.2s ease, box-shadow 0.2s ease;
}

.rc-area-hub-card.is-budget {
  border-top-color: var(--rc-gold-bright);
}

.rc-area-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--rc-shadow-md);
}

.rc-area-hub-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-area-hub-card h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 730;
  color: var(--rc-ink);
}

.rc-area-hub-range {
  margin: 0;
  font-size: 12.5px;
  color: var(--rc-muted);
  line-height: 1.5;
}

.rc-area-hub-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--rc-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--rc-ink-2);
}

.rc-area-hub-foot strong {
  color: var(--rc-emerald-deep);
}

.rc-area-hub-go {
  flex: none;
  color: var(--rc-emerald);
  font-weight: 700;
}

/* ==========================================================================
   14. HIGH-INTENT KEYWORD & INTERNAL LINK DIRECTORY (#keyword-matrix)
   ========================================================================== */
.rc-kw-section {
  background: #ffffff;
  border-top: 1px solid var(--rc-line);
  border-bottom: 1px solid var(--rc-line);
}

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

.rc-kw-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
}

.rc-kw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-kw-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-kw-title-line h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 740;
  color: var(--rc-ink);
}

.rc-kw-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--rc-muted);
}

.rc-kw-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.rc-kw-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  font-size: 12.8px;
  color: var(--rc-ink-2);
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s var(--rc-ease);
}

.rc-kw-list a:hover {
  border-color: var(--rc-emerald);
  color: var(--rc-emerald-deep);
  transform: translateX(2px);
}

.rc-kw-lbl {
  font-weight: 620;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rc-kw-meta {
  flex: none;
  font-size: 11px;
  color: var(--rc-muted);
  white-space: nowrap;
}

/* ==========================================================================
   15. SCHEME DETAIL CROSS-LINK BAR
   ========================================================================== */
.rc-crosslink-panel {
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
  box-shadow: var(--rc-shadow-xs);
  display: grid;
  gap: 16px;
}

.rc-crosslink-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.rc-crosslink-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 730;
  color: var(--rc-ink);
}

.rc-crosslink-rows {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--rc-line);
}

.rc-crosslink-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.rc-crosslink-lbl {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rc-muted);
}

.rc-crosslink-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rc-crosslink-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--rc-line-strong);
  font-size: 12.5px;
  font-weight: 640;
  color: var(--rc-ink-2);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.rc-crosslink-pill:hover {
  border-color: var(--rc-emerald);
  background: var(--rc-emerald-soft);
  color: var(--rc-emerald-deep);
}

.rc-crosslink-pill.is-emerald {
  background: var(--rc-emerald-soft);
  border-color: var(--rc-emerald-line);
  color: var(--rc-emerald-deep);
}

.rc-crosslink-pill.is-gold {
  background: var(--rc-gold-soft);
  border-color: var(--rc-gold-line);
  color: var(--rc-gold);
}

.rc-crosslink-pill.is-more {
  background: #ffffff;
  color: var(--rc-muted);
}

/* ==========================================================================
   16. CITY PRICING LANDING PAGE (.rc-city-page)
   ========================================================================== */
.rc-city-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.rc-city-geo-box {
  margin: 14px 0 22px;
  padding: 15px 18px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.16);
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-left: 4px solid #14b8a6;
}

.rc-city-geo-box .rc-geo-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5eead4;
}

.rc-city-geo-box p {
  margin: 7px 0 0;
  font-size: 14.2px;
  line-height: 1.72;
  color: #e2e8f0;
}

.rc-city-table {
  min-width: 780px;
}

.rc-td-emerald {
  color: var(--rc-emerald-deep) !important;
}

.rc-table-link {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rc-emerald);
  white-space: nowrap;
}

.rc-table-link:hover {
  color: var(--rc-emerald-deep);
  text-decoration: underline;
}

.rc-local-exec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rc-exec-card {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rc-exec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.rc-exec-tag {
  font-size: 11.5px;
  color: var(--rc-muted);
  font-weight: 620;
}

.rc-exec-card h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 740;
  color: var(--rc-ink);
}

.rc-exec-card > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--rc-ink-2);
}

.rc-district-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.rc-district-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
  font-size: 13.5px;
  font-weight: 620;
  color: var(--rc-ink);
}

.rc-exec-link {
  margin-top: auto;
  padding-top: 8px;
}

.rc-fire-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rc-fire-notes li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.rc-fire-notes li span {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--rc-gold-soft);
  border: 1px solid var(--rc-gold-line);
  color: var(--rc-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 760;
}

.rc-fire-notes li p {
  margin: 0;
  font-size: 13.2px;
  line-height: 1.65;
  color: var(--rc-ink-2);
}

.rc-city-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rc-city-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
  color: var(--rc-ink);
  font-size: 13.5px;
  transition: transform 0.16s var(--rc-ease), border-color 0.16s ease, background 0.16s ease;
}

.rc-city-pill em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--rc-emerald);
  font-weight: 700;
}

a.rc-city-pill:hover {
  transform: translateY(-1px);
  border-color: var(--rc-emerald);
  background: var(--rc-emerald-soft);
}

.rc-city-pill.is-current {
  background: linear-gradient(135deg, #0f172a, #115e59);
  border-color: #0f766e;
  color: #ffffff;
}

.rc-city-pill.is-current em {
  color: #5eead4;
}

/* ==========================================================================
   17. STYLE HUB LANDING PAGE (.rc-style-page)
   ========================================================================== */
.rc-style-palette-bar {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.rc-style-swatch-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--rc-line-strong);
}

.rc-style-swatch-item i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  flex: none;
}

.rc-style-swatch-item span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.rc-style-swatch-item em {
  font-style: normal;
  font-size: 11px;
  color: var(--rc-muted);
  line-height: 1.2;
}

.rc-style-swatch-item strong {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--rc-ink);
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-style-scenarios {
  margin: 0 0 14px;
  font-size: 13.8px;
  line-height: 1.66;
  color: var(--rc-ink-2);
}

.rc-spec-subblock + .rc-spec-subblock {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--rc-line);
}

.rc-spec-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 730;
  color: var(--rc-ink);
}

.rc-style-traits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rc-trait-card {
  padding: 15px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-trait-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--rc-emerald-soft);
  border: 1px solid var(--rc-emerald-line);
  color: var(--rc-emerald-deep);
  font-size: 12px;
  font-weight: 760;
}

.rc-trait-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--rc-ink-2);
}

.rc-style-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rc-mat-code-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

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

.rc-pitfall-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-left: 3px solid var(--rc-gold-bright);
}

.rc-pitfall-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--rc-ink-2);
}

/* ==========================================================================
   18. AREA & BUDGET HUB LANDING PAGE (.rc-area-page)
   ========================================================================== */
.rc-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rc-strategy-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--rc-line);
}

.rc-strategy-card p {
  margin: 0;
  font-size: 14.2px;
  line-height: 1.72;
  color: var(--rc-ink-2);
}

.rc-area-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rc-area-switch-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid var(--rc-line);
  box-shadow: var(--rc-shadow-xs);
  transition: transform 0.18s var(--rc-ease), border-color 0.18s ease, box-shadow 0.18s ease;
}

a.rc-area-switch-card:hover {
  transform: translateY(-2px);
  border-color: var(--rc-emerald);
  box-shadow: var(--rc-shadow-sm);
}

.rc-area-switch-card.is-current {
  background: linear-gradient(135deg, #0f172a, #115e59);
  border-color: #0f766e;
  color: #ffffff;
}

.rc-area-sw-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rc-area-switch-card strong {
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 720;
}

.rc-area-switch-card.is-current small {
  color: #cbd5e1;
}

/* ==========================================================================
   19. RESPONSIVE OVERRIDES FOR CALCULATOR, DIMENSIONS & NEW HUB PAGES
   ========================================================================== */
@media (max-width: 1080px) {
  .rc-city-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .rc-style-palette-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .rc-calc-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-area-hub-grid,
  .rc-area-switcher,
  .rc-style-traits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rc-city-grid,
  .rc-local-exec-grid,
  .rc-style-spec-grid,
  .rc-style-pitfalls-grid,
  .rc-strategy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-crosslink-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .rc-calc-form,
  .rc-calc-result {
    padding: 18px 16px;
  }

  .rc-calc-grid,
  .rc-calc-kpis,
  .rc-kw-grid,
  .rc-style-hub-grid,
  .rc-area-hub-grid,
  .rc-area-switcher,
  .rc-style-traits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rc-calc-ctas .rc-btn {
    width: 100%;
  }

  .rc-style-palette-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-strategy-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .rc-crosslink-panel {
    padding: 16px;
  }

  .rc-crosslink-head .rc-btn {
    width: 100%;
  }
}
