/* ==========================================================================
   Commercial Architecture Builder & Pricing Estimator
   Compact & Bite-Sized Layout (Zero Scroll Fatigue, Obsidian & Slate System)
   100% Mobile Responsive & Touch-Optimized
   ========================================================================== */

/* Strict Viewport Boundary Rules */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
}

.rm-builder-root {
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
  background-color: #080D1A;
  color: #F8FAFC;
  padding: 20px 16px 60px 16px;
  line-height: 1.5;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
}

.rm-builder-root *, .rm-builder-root *::before, .rm-builder-root *::after {
  box-sizing: border-box;
}

.rm-builder-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* COMPACT HEADER */
.rm-compact-header {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.rm-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.rm-brand-tag {
  color: #94A3B8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rm-header-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rm-audit-badge {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FDE68A;
  font-size: 11.5px;
  padding: 3px 10px;
  border-radius: 6px;
}

.rm-admin-reset-pill {
  background: #162032;
  border: 1px solid #F59E0B;
  color: #F59E0B;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rm-admin-reset-pill:hover {
  background: #F59E0B;
  color: #080D1A;
}

.rm-header-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.rm-compact-title {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
}

.rm-phase-pill {
  background: #1E293B;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* 4-Pill Stepper */
.rm-compact-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
}

.rm-stepper-pill {
  background: #162032;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
}

.rm-stepper-pill:hover {
  background: #1E293B;
  border-color: #334155;
}

.rm-stepper-pill.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: #F59E0B;
}

.rm-stepper-pill.completed {
  border-color: #10B981;
}

.rm-stepper-num {
  font-size: 11px;
  font-weight: 800;
  color: #94A3B8;
  flex-shrink: 0;
}

.rm-stepper-pill.active .rm-stepper-num {
  color: #F59E0B;
}

.rm-stepper-pill.completed .rm-stepper-num {
  color: #10B981;
}

.rm-stepper-text {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rm-stepper-pill.active .rm-stepper-text {
  color: #FFFFFF;
}

.rm-stepper-pill.completed .rm-stepper-text {
  color: #E2E8F0;
}

/* Card Surfaces */
.rm-card {
  background-color: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* PHASE 1: SELF-SELECTION */
.rm-question-card {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.rm-substep-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.rm-substep-bar {
  width: 140px;
  height: 4px;
  background: #1E293B;
  border-radius: 2px;
  overflow: hidden;
}

.rm-substep-progress {
  height: 100%;
  background: #F59E0B;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.rm-entity-inline-badge {
  background: #162032;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 14px;
  display: inline-block;
  max-width: 100%;
  word-break: break-word;
}

.rm-question-heading {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.rm-question-subtext {
  font-size: 13.5px;
  color: #94A3B8;
  margin: 0 0 20px 0;
  line-height: 1.45;
}

.rm-single-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.rm-bite-card {
  background: #162032;
  border: 1.5px solid #1E293B;
  border-radius: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 48px;
  width: 100%;
  box-sizing: border-box;
}

.rm-bite-card:hover {
  background: #1B263B;
  border-color: #F59E0B;
  transform: translateX(3px);
}

.rm-bite-card.selected {
  background: rgba(245, 158, 11, 0.12);
  border-color: #F59E0B;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.rm-bite-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #94A3B8;
  flex-shrink: 0;
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.rm-bite-card.selected .rm-bite-radio {
  border-color: #F59E0B;
  background: #F59E0B;
}

.rm-bite-card.selected .rm-bite-radio::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #080D1A;
}

.rm-bite-content {
  flex-grow: 1;
  min-width: 0;
}

.rm-bite-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
  line-height: 1.35;
  word-break: break-word;
}

.rm-bite-desc {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.4;
  word-break: break-word;
}

.rm-substep-nav {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: flex-start;
}

.rm-btn-text {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rm-btn-text:hover {
  color: #FFFFFF;
}

/* TRACK SELECTION (SCREEN 5) */
.rm-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
}

.rm-track-select-card {
  background: #162032;
  border: 1.5px solid #1E293B;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.rm-track-select-card:hover {
  background: #1B263B;
  border-color: #334155;
}

.rm-track-select-card.selected {
  background: rgba(245, 158, 11, 0.1);
  border-color: #F59E0B;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.rm-track-badge {
  background: #1E293B;
  color: #F59E0B;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 8px;
}

.rm-track-select-card.selected .rm-track-badge {
  background: #F59E0B;
  color: #080D1A;
}

.rm-track-title {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.rm-track-desc {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.45;
  margin: 0 0 12px 0;
  flex-grow: 1;
}

.rm-track-timeline {
  font-size: 11px;
  font-weight: 700;
  color: #10B981;
}

.rm-track-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #1E293B;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

/* DISQUALIFICATION */
.rm-disqual-box {
  text-align: center;
  padding: 28px;
  border-color: #DC2626;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, #0F172A 100%);
}

.rm-disqual-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.rm-disqual-title {
  color: #FCA5A5;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.rm-disqual-body {
  color: #CBD5E1;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 620px;
  margin: 0 auto 18px auto;
}

/* ==========================================================================
   PHASE 2: TABBED ARCHITECTURE SCOPE (AIRTIGHT CONTAINMENT)
   ========================================================================== */

.rm-config-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.rm-config-left-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rm-config-right-col {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  align-self: stretch;
}

.rm-scope-card {
  padding: 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
  position: relative;
}

/* Sticky Wrapper: Flush with site header, solid opaque mask so zero cards peek above or at corners */
.rm-scope-sticky-wrap {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: var(--rm-builder-sticky-top, 76px) !important;
  z-index: 50;
  background: #0F172A;
  padding: 10px 4px 4px 4px;
  margin: -10px -4px 12px -4px;
  box-sizing: border-box;
  width: calc(100% + 8px);
}

body.admin-bar .rm-scope-sticky-wrap {
  top: var(--rm-builder-sticky-top, 108px) !important;
}

@media screen and (max-width: 782px) {
  .rm-scope-sticky-wrap,
  body.admin-bar .rm-scope-sticky-wrap {
    top: var(--rm-builder-sticky-top, 72px) !important;
  }
}

/* Sticky Header Card inside .rm-scope-sticky-wrap (all 4 rounded borders always crisp & visible) */
.rm-scope-sticky-header {
  position: relative;
  background: #0F172A;
  margin: 0;
  padding: 14px 16px 10px 16px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
}

/* Live Scope Summary Banner (Visible on Desktop & Mobile) */
.rm-scope-mobile-summary-banner,
.rm-scope-summary-banner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #131E35 0%, #0F172A 100%) !important;
  border: 1px solid #1E293B !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  margin-bottom: 12px !important;
  gap: 3px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Category Switcher Navigation Bar */
.rm-category-nav-bar {
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.rm-category-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
  width: 100%;
}

.rm-category-count-label {
  font-size: 12px;
  font-weight: 800;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rm-category-quick-arrows {
  display: flex;
  gap: 6px;
}

.rm-cat-arrow-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #F8FAFC;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rm-cat-arrow-btn:hover:not(:disabled) {
  background: #F59E0B;
  color: #080D1A;
  border-color: #F59E0B;
}

.rm-cat-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Horizontal Tabs Bar */
.rm-layer-tabs-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.rm-layer-tabs-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  border-bottom: 1px solid #1E293B;
  padding-bottom: 10px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  width: 100%;
  box-sizing: border-box;
}

.rm-layer-tabs-bar::-webkit-scrollbar {
  height: 4px;
}

.rm-layer-tabs-bar::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 2px;
}

.rm-layer-tab {
  background: #162032;
  border: 1px solid #1E293B;
  color: #94A3B8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.rm-layer-tab:hover {
  background: #1E293B;
  color: #FFFFFF;
}

.rm-layer-tab.active {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #080D1A;
  font-weight: 800;
}

.rm-tab-count-badge {
  background: #080D1A;
  color: #F59E0B;
  font-size: 9.5px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 99px;
}

.rm-layer-tab.active .rm-tab-count-badge {
  background: #080D1A;
  color: #FFFFFF;
}

.rm-layer-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

.rm-layer-content-title {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.rm-engagement-mode-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Module Cards */
.rm-bite-modules-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.rm-bite-module-card {
  background: #162032;
  border: 1.5px solid #1E293B;
  border-radius: 8px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.rm-bite-module-card:hover {
  background: #1B263B;
  border-color: #334155;
}

.rm-bite-module-card.active {
  background: rgba(245, 158, 11, 0.08);
  border-color: #F59E0B;
}

.rm-mod-toggle-box {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #94A3B8;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  transition: all 0.2s;
}

.rm-bite-module-card.active .rm-mod-toggle-box {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #080D1A;
}

.rm-mod-details {
  flex-grow: 1;
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.rm-mod-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  width: 100%;
  box-sizing: border-box;
}

.rm-mod-title {
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  flex: 1 1 180px;
  min-width: 0;
  word-break: break-word;
}

.rm-mod-badge {
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  background: #162032;
  border: 1px solid #334155;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.rm-mod-badge.active {
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  font-weight: 800;
}

.rm-mod-desc {
  color: #CBD5E1;
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 6px 0;
  word-break: break-word;
}

.rm-mod-deliverables-pill {
  color: #94A3B8;
  font-size: 11px;
  line-height: 1.4;
  background: #0B132B;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  word-break: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.rm-mod-pill-label {
  color: #F59E0B;
  font-weight: 700;
}

.rm-mod-expanded-details {
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
}

.rm-mod-success-box {
  margin-top: 8px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-left: 3px solid #10B981;
  border-radius: 6px;
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
}

.rm-mod-success-heading {
  color: #10B981;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.rm-mod-success-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rm-mod-success-item {
  color: #E2E8F0;
  font-size: 11.5px;
  line-height: 1.4;
  word-break: break-word;
}

.rm-mod-success-num {
  color: #10B981;
  font-weight: 800;
  margin-right: 4px;
}

.rm-layer-paging-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #1E293B;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

/* STICKY LIVE SCOPE DRAWER */
.rm-scope-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: var(--rm-builder-sidebar-top, 84px) !important;
  max-height: calc(100vh - var(--rm-builder-sidebar-top, 84px) - 16px) !important;
  overflow-y: auto;
  scrollbar-width: thin;
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
}

body.admin-bar .rm-scope-sidebar {
  top: var(--rm-builder-sidebar-top, 116px) !important;
  max-height: calc(100vh - var(--rm-builder-sidebar-top, 116px) - 16px) !important;
}

.rm-scope-header {
  border-bottom: 1px solid #1E293B;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.rm-scope-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.rm-active-count {
  color: #10B981;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.rm-sidebar-outcomes-box,
.rm-deliverables-box {
  max-height: 155px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding-right: 4px;
  scrollbar-width: thin;
}

.rm-drawer-mod-group {
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rm-drawer-mod-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rm-drawer-mod-title {
  font-size: 11px;
  font-weight: 800;
  color: #F8FAFC;
  margin-bottom: 3px;
  line-height: 1.3;
}

.rm-outcome-item {
  font-size: 11px;
  color: #CBD5E1;
  padding: 2px 0;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.35;
  word-break: break-word;
}

.rm-outcome-num {
  color: #10B981;
  font-weight: 800;
  flex-shrink: 0;
}

.rm-deliverable-item {
  font-size: 11.5px;
  color: #CBD5E1;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.35;
  word-break: break-word;
}

.rm-deliverable-item::before {
  content: "✔";
  color: #10B981;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

#rm-btn-sidebar-next {
  width: 100%;
}

/* Floating Mobile Action Bar (Hidden on Desktop) */
.rm-mobile-floating-bar {
  display: none;
}

/* PHASE 3: PRICING & SIMULATOR */
.rm-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  width: 100%;
}

.rm-pricing-card {
  background: linear-gradient(135deg, #0F172A 0%, #162032 100%);
  border: 2px solid #F59E0B;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.rm-price-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
}

.rm-pacing-toggle {
  display: inline-flex;
  background: #1E293B;
  border-radius: 6px;
  padding: 3px;
  margin: 16px 0;
}

.rm-pacing-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.rm-pacing-btn.active {
  background: #F59E0B;
  color: #080D1A;
}

.rm-price-display {
  font-size: 32px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 8px 0 4px 0;
  letter-spacing: -0.5px;
}

.rm-simulator-box {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 22px;
  width: 100%;
  box-sizing: border-box;
}

.rm-slider-group {
  margin-bottom: 16px;
}

.rm-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}

.rm-slider-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #E2E8F0;
}

.rm-slider-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #10B981;
}

.rm-range-slider {
  width: 100%;
  accent-color: #10B981;
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

.rm-payback-stat {
  background: #1E293B;
  border-radius: 8px;
  padding: 14px 18px;
  text-align: center;
  margin-top: 14px;
}

.rm-payback-number {
  font-size: 26px;
  font-weight: 900;
  color: #10B981;
  line-height: 1;
}

.rm-payback-desc {
  font-size: 12px;
  color: #CBD5E1;
  margin-top: 6px;
  line-height: 1.45;
}

/* PHASE 4: LOCK-IN & CAL.COM */
.rm-lockin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.rm-summary-card {
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 12px;
  padding: 22px;
  width: 100%;
  box-sizing: border-box;
}

.rm-form-field {
  margin-bottom: 12px;
}

.rm-form-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 4px;
  display: block;
}

.rm-form-input {
  width: 100%;
  background: #162032;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 9px 12px;
  color: #FFFFFF;
  font-size: 13.5px;
  box-sizing: border-box;
}

.rm-form-input:focus {
  outline: none;
  border-color: #F59E0B;
}

/* BUTTONS */
.rm-btn-primary {
  background: #F59E0B;
  color: #080D1A;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.rm-btn-primary:hover:not(:disabled) {
  background: #D97706;
  transform: translateY(-1px);
}

.rm-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rm-btn-secondary {
  background: #1E293B;
  color: #E2E8F0;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.rm-btn-secondary:hover {
  background: #334155;
  color: #FFFFFF;
}

.rm-nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #1E293B;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS (< 900px, < 640px, < 380px)
   ========================================================================== */

@media (max-width: 900px) {
  /* Layout stacks into 1 column */
  .rm-config-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .rm-config-left-col,
  .rm-config-right-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .rm-scope-card {
    padding: 16px 12px !important;
    overflow: visible !important;
  }

  .rm-scope-sticky-header {
    margin: 0 0 14px 0 !important;
    padding: 12px 14px 8px 14px !important;
    border-radius: 10px !important;
    background: #0F172A !important;
  }

  /* Show Mobile Quick Summary Banner */
  .rm-scope-mobile-summary-banner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #131E35 0%, #0F172A 100%) !important;
    border: 1px solid #1E293B !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-bottom: 14px !important;
    gap: 3px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .rm-smsb-badge {
    font-size: 9.5px !important;
    font-weight: 800 !important;
    color: #F59E0B !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
  }

  .rm-smsb-stats {
    font-size: 13px !important;
    color: #FFFFFF !important;
    line-height: 1.4 !important;
  }

  .rm-smsb-price {
    color: #10B981 !important;
    font-weight: 800 !important;
  }

  /* Category Navigation Header on mobile */
  .rm-category-nav-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .rm-category-count-label {
    font-size: 11.5px !important;
    text-align: center !important;
    color: #F59E0B !important;
  }

  .rm-category-quick-arrows {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .rm-cat-arrow-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 8px 10px !important;
    font-size: 12px !important;
  }

  /* Right column scope sidebar sits naturally below */
  .rm-scope-sidebar {
    position: static !important;
    margin-top: 14px !important;
    padding: 18px 16px !important;
    border-radius: 10px !important;
  }

  .rm-deliverables-box {
    max-height: 180px !important;
  }

  /* Mobile Floating Bottom Action Bar */
  .rm-mobile-floating-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    z-index: 9999 !important;
    background: rgba(15, 23, 42, 0.98) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 2px solid #F59E0B !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7) !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .rm-mfb-details {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .rm-mfb-count {
    font-size: 11px !important;
    color: #94A3B8 !important;
    white-space: nowrap !important;
  }

  .rm-mfb-price {
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #F59E0B !important;
    white-space: nowrap !important;
  }

  .rm-mfb-btn {
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35) !important;
  }

  /* Add bottom padding so floating bar never covers content */
  .rm-builder-root {
    padding-bottom: 120px !important;
  }
}

@media (max-width: 860px) {
  .rm-pricing-grid,
  .rm-lockin-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 640px) {
  .rm-builder-root {
    padding: 12px 8px 120px 8px !important;
  }

  .rm-compact-header {
    padding: 12px 14px !important;
    margin-bottom: 14px !important;
    border-radius: 10px !important;
  }

  .rm-header-top-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .rm-brand-tag {
    font-size: 9px !important;
  }

  .rm-header-top-right {
    width: 100% !important;
    justify-content: space-between !important;
  }

  .rm-audit-badge {
    font-size: 11px !important;
    padding: 6px 10px !important;
    width: 100% !important;
    text-align: left !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }

  .rm-audit-sep {
    display: none !important;
  }

  .rm-audit-index-part {
    display: block !important;
    margin-top: 2px !important;
  }

  .rm-header-main-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .rm-compact-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .rm-phase-pill {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  /* Stepper 2x2 on mobile */
  .rm-compact-stepper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .rm-stepper-pill {
    padding: 6px 8px !important;
    gap: 6px !important;
  }

  .rm-stepper-num {
    font-size: 10px !important;
  }

  .rm-stepper-text {
    font-size: 10.5px !important;
  }

  /* Cards */
  .rm-card {
    padding: 14px 10px !important;
    border-radius: 10px !important;
    margin-bottom: 14px !important;
  }

  /* Phase 1 */
  .rm-question-card {
    padding: 16px 12px !important;
  }

  .rm-question-heading {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }

  .rm-question-subtext {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }

  .rm-substep-indicator {
    font-size: 10px !important;
    margin-bottom: 12px !important;
  }

  .rm-substep-bar {
    width: 90px !important;
  }

  .rm-entity-inline-badge {
    font-size: 11px !important;
    padding: 4px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .rm-bite-card {
    padding: 12px !important;
    gap: 10px !important;
  }

  .rm-bite-radio {
    width: 16px !important;
    height: 16px !important;
  }

  .rm-bite-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  .rm-bite-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  .rm-substep-nav {
    margin-top: 14px !important;
    padding-top: 12px !important;
  }

  /* Tracks */
  .rm-tracks-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .rm-track-select-card {
    padding: 14px !important;
  }

  .rm-track-action-row {
    flex-direction: column-reverse !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .rm-track-action-row button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
  }

  /* Phase 2: Category & Modules Mobile Styling */
  .rm-scope-card {
    padding: 14px 10px !important;
    overflow: visible !important;
  }

  .rm-layer-tabs-bar {
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
    gap: 4px !important;
  }

  .rm-layer-tab {
    padding: 6px 10px !important;
    font-size: 11px !important;
    border-radius: 5px !important;
  }

  .rm-layer-content-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-bottom: 10px !important;
  }

  .rm-layer-content-title {
    font-size: 14.5px !important;
  }

  .rm-engagement-mode-tag {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .rm-bite-module-card {
    padding: 12px 10px !important;
    gap: 10px !important;
    border-radius: 8px !important;
    min-height: 52px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .rm-mod-toggle-box {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    font-size: 11px !important;
    margin-top: 2px !important;
    border-radius: 4px !important;
  }

  .rm-mod-title-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
    width: 100% !important;
  }

  .rm-mod-title {
    font-size: 13px !important;
    line-height: 1.35 !important;
    flex: 1 1 150px !important;
    word-break: break-word !important;
  }

  .rm-mod-badge {
    font-size: 10.5px !important;
    padding: 2px 6px !important;
  }

  .rm-mod-desc {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
  }

  .rm-mod-deliverables-pill {
    font-size: 10.5px !important;
    line-height: 1.35 !important;
    padding: 6px 8px !important;
  }

  .rm-layer-paging-row {
    flex-direction: column !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .rm-layer-paging-row button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px 14px !important;
  }

  .rm-nav-buttons {
    flex-direction: column-reverse !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .rm-nav-buttons button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 13.5px !important;
  }

  /* Phase 3 */
  .rm-pricing-card {
    padding: 18px 14px !important;
  }

  .rm-price-display {
    font-size: 24px !important;
  }

  .rm-pacing-toggle {
    display: flex !important;
    width: 100% !important;
  }

  .rm-pacing-btn {
    flex: 1 !important;
    padding: 8px 6px !important;
    font-size: 11px !important;
    text-align: center !important;
  }

  .rm-simulator-box {
    padding: 16px 12px !important;
  }

  .rm-payback-stat {
    padding: 12px !important;
  }

  .rm-payback-number {
    font-size: 22px !important;
  }

  /* Phase 4 */
  .rm-summary-card {
    padding: 16px 12px !important;
  }

  .rm-form-input {
    padding: 10px 12px !important;
    font-size: 14px !important;
    min-height: 44px !important;
  }

  #rm-btn-lock-submit {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 380px) {
  .rm-compact-stepper {
    grid-template-columns: 1fr 1fr !important;
    gap: 4px !important;
  }

  .rm-stepper-pill {
    padding: 5px 6px !important;
  }

  .rm-stepper-text {
    font-size: 9.5px !important;
  }

  .rm-bite-card {
    padding: 10px !important;
  }

  .rm-bite-title {
    font-size: 12.5px !important;
  }

  .rm-layer-tab {
    padding: 5px 8px !important;
    font-size: 10px !important;
  }
}


/* ==========================================================================
   ACTIVE OPERATIONAL TRANSPARENCY SCREEN (Buell & Norton, 2011; Buell, 2019)
   "A short narrated pause naming the real capacity, pricing and compatibility checks"
   ========================================================================== */
.rm-transparency-card {
  max-width: 780px;
  margin: 20px auto 40px auto;
  background: #0F172A;
  border: 1.5px solid #F59E0B;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
  box-sizing: border-box;
}

.rm-transparency-header {
  text-align: center;
  margin-bottom: 24px;
}

.rm-transparency-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #F59E0B;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.rm-transparency-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  letter-spacing: -0.3px;
}

.rm-transparency-sub {
  font-size: 13.5px;
  color: #94A3B8;
  margin: 0;
  line-height: 1.5;
}

.rm-transparency-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.rm-transparency-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #162032;
  border: 1px solid #1E293B;
  border-radius: 10px;
  padding: 14px 16px;
  opacity: 0.3;
  transform: translateY(4px);
  transition: all 0.35s ease;
}

.rm-transparency-step.active {
  opacity: 1;
  transform: translateY(0);
  border-color: #38BDF8;
  background: #1B2844;
}

.rm-transparency-step.completed {
  opacity: 1;
  transform: translateY(0);
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.08);
}

.rm-transparency-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #94A3B8;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.3s ease;
}

.rm-transparency-step.active .rm-transparency-icon {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.2);
  color: #38BDF8;
  animation: rmPulseIcon 1s infinite alternate;
}

.rm-transparency-step.completed .rm-transparency-icon {
  border-color: #10B981;
  background: #10B981;
  color: #080D1A;
}

@keyframes rmPulseIcon {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.rm-transparency-text {
  flex-grow: 1;
  min-width: 0;
}

.rm-transparency-step-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.rm-transparency-step-desc {
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.4;
}

.rm-transparency-progress-wrap {
  margin-top: 20px;
  text-align: center;
}

.rm-transparency-progress-bar {
  width: 100%;
  height: 6px;
  background: #1E293B;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.rm-transparency-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F59E0B, #10B981);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.rm-transparency-status-label {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 700;
  font-family: var(--rm-font-mono, monospace);
  letter-spacing: 0.5px;
}

.rm-transparency-verified-pill {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .rm-transparency-card {
    padding: 20px 14px !important;
    margin: 12px auto 30px auto !important;
  }
  .rm-transparency-title {
    font-size: 18px !important;
  }
  .rm-transparency-sub {
    font-size: 12.5px !important;
  }
  .rm-transparency-step {
    padding: 10px 12px !important;
    gap: 10px !important;
  }
  .rm-transparency-step-title {
    font-size: 12.5px !important;
  }
  .rm-transparency-step-desc {
    font-size: 11px !important;
  }
  .rm-transparency-verified-pill {
    display: block !important;
    margin: 8px auto 0 auto !important;
    width: fit-content !important;
  }
}

/* Audit Detection Verified Badge */
.rm-mod-detected-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #10B981 !important;
  font-family: var(--rm-font-mono, monospace) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  letter-spacing: 0.2px !important;
  line-height: 1.2 !important;
}

/* Direct Domain Calibration Box */
.rm-direct-domain-box {
  background: linear-gradient(135deg, #0F172A 0%, #131E35 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
  animation: fadeIn 0.3s ease-out !important;
}

/* Bespoke Gemini Scope Note Callout */
.rm-mod-bespoke-callout {
  background: rgba(245, 158, 11, 0.08) !important;
  border-left: 3px solid #F59E0B !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  margin: 8px 0 10px 0 !important;
  animation: none !important;
}

/* Locked Stepper Step */
.rm-stepper-pill.locked {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
}
.rm-stepper-pill.locked:hover {
  border-color: rgba(255, 255, 255, 0.08) !important;
  transform: none !important;
}


/* Prominent Gold & Amber Navigation Arrow Buttons */
.rm-pillar-nav-btn {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1.5px solid #F59E0B !important;
  color: #F8FAFC !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 7px 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.rm-pillar-nav-btn:hover:not(:disabled) {
  background: #F59E0B !important;
  color: #080D1A !important;
}

.rm-pillar-nav-btn.rm-next-pillar-btn {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  color: #080D1A !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.rm-pillar-nav-btn.rm-next-pillar-btn:hover:not(:disabled) {
  opacity: 0.95 !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5) !important;
}

.rm-pillar-nav-btn:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  background: #1E293B !important;
  border-color: #334155 !important;
  color: #94A3B8 !important;
}



/* =========================================================================
   DELIVERABLE 3: PROGRESSIVE DISCLOSURE, EXPERT MODE & SOFT-LOCK UX (v6.8.57)
   ========================================================================= */
.rm-pillar-curated-empty {
  background: rgba(15, 23, 42, 0.65);
  border: 1px dashed #334155;
  border-radius: 8px;
  padding: 14px 16px;
  color: #94A3B8;
  font-size: 12.5px;
  line-height: 1.5;
}

.rm-expert-accordion-wrap {
  margin-top: 14px;
  border-top: 1px solid #1E293B;
  padding-top: 14px;
}

.rm-expert-toggle-btn {
  width: 100%;
  background: #0F172A;
  border: 1.5px solid #334155;
  border-radius: 8px;
  padding: 12px 16px;
  color: #E2E8F0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.rm-expert-toggle-btn:hover,
.rm-expert-toggle-btn.open {
  background: #162032;
  border-color: #F59E0B;
}

.rm-expert-toggle-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: left;
}

.rm-expert-badge {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #F59E0B;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.rm-expert-label {
  font-size: 13px;
  font-weight: 700;
  color: #F8FAFC;
}

.rm-expert-chevron {
  font-size: 11px;
  color: #94A3B8;
  flex-shrink: 0;
}

.rm-expert-modules-panel {
  margin-top: 12px;
}

.rm-bite-module-card.rm-mod-soft-locked {
  opacity: 0.78;
  background: rgba(15, 23, 42, 0.75);
  border: 1.5px dashed rgba(16, 185, 129, 0.35);
}

.rm-bite-module-card.rm-mod-soft-locked:hover {
  opacity: 0.94;
  background: rgba(22, 32, 50, 0.9);
  border-color: rgba(16, 185, 129, 0.6);
}

.rm-bite-module-card.rm-mod-soft-locked .rm-mod-toggle-box {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  font-size: 11px;
}

.rm-mod-badge-locked {
  color: #94A3B8;
  background: rgba(15, 23, 42, 0.9);
  border-color: #334155;
}

.rm-mod-unlocked-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #F59E0B;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

.rm-mod-soft-lock-bar {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rm-mod-soft-lock-note {
  font-size: 11.5px;
  color: #CBD5E1;
  line-height: 1.4;
}

.rm-btn-unlock-audit-mod {
  background: #1E293B;
  border: 1px solid #475569;
  color: #F8FAFC;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.rm-btn-unlock-audit-mod:hover {
  background: #F59E0B;
  border-color: #F59E0B;
  color: #080D1A;
}

/* Unlock Confirmation Modal */
.rm-unlock-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.rm-unlock-modal-card {
  background: #0F172A;
  border: 1.5px solid #334155;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.rm-unlock-modal-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.rm-unlock-modal-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.rm-unlock-modal-body {
  color: #E2E8F0;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 10px 0;
}

.rm-unlock-modal-sub {
  color: #94A3B8;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.rm-unlock-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.rm-unlock-btn-cancel {
  background: #1E293B;
  border: 1px solid #475569;
  color: #E2E8F0;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.rm-unlock-btn-cancel:hover {
  background: #334155;
}

.rm-unlock-btn-confirm {
  background: #F59E0B;
  border: 1px solid #F59E0B;
  color: #080D1A;
  font-size: 12.5px;
  font-weight: 800;
  padding: 9px 16px;
  border-radius: 6px;
  cursor: pointer;
}

.rm-unlock-btn-confirm:hover {
  background: #D97706;
  border-color: #D97706;
}

/* Unified Header Domain Switcher & Global Domain Editor (v6.8.60) */
.rm-audit-domain-sub {
  color: #94A3B8;
  font-weight: 500;
  font-size: 11px;
}

.rm-header-domain-pill {
  background: #162032;
  border: 1px solid #475569;
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rm-header-domain-pill:hover {
  border-color: #F59E0B;
  color: #F59E0B;
}

.rm-global-domain-editor {
  margin-bottom: 16px;
  border-color: rgba(245, 158, 11, 0.45);
}

/* Phase 3: Relativity Heuristic & Time-Cost Arbitrage Comparison (v6.8.63) */
.rm-relativity-arbitrage-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #1E293B;
  text-align: left;
}

.rm-relativity-header {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #94A3B8;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}

.rm-relativity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

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

.rm-relativity-col {
  background: #0B132B;
  border: 1.5px solid #1E293B;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rm-relativity-col.active-dwy {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.06);
}

.rm-relativity-col.active-dfy {
  border-color: #F59E0B;
  background: rgba(245, 158, 11, 0.07);
}

.rm-relativity-col-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.rm-relativity-tier {
  font-size: 11.5px;
  font-weight: 800;
  color: #FFFFFF;
}

.rm-relativity-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.16);
  color: #38BDF8;
  white-space: nowrap;
}

.rm-relativity-pill.rm-pill-gold {
  background: rgba(245, 158, 11, 0.18);
  color: #F59E0B;
}

.rm-relativity-price {
  font-size: 17px;
  font-weight: 800;
  color: #F8FAFC;
}

.rm-relativity-hours {
  font-size: 11.5px;
  line-height: 1.4;
  padding: 5px 8px;
  border-radius: 5px;
}

.rm-relativity-hours.rm-hours-heavy {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
}

.rm-relativity-hours.rm-hours-light {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6EE7B7;
}

.rm-relativity-sub {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.4;
  flex-grow: 1;
}

.rm-btn-switch-dynamic {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.rm-btn-switch-dfy {
  background: #F59E0B;
  border: 1px solid #F59E0B;
  color: #080D1A;
}

.rm-btn-switch-dfy:hover {
  background: #D97706;
  border-color: #D97706;
}

.rm-btn-switch-dwy {
  background: transparent;
  border: 1px solid #334155;
  color: #94A3B8;
}

.rm-btn-switch-dwy:hover {
  border-color: #38BDF8;
  color: #38BDF8;
}

.rm-relativity-callout {
  margin-top: 12px;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #F59E0B;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  color: #E2E8F0;
  line-height: 1.45;
}

.rm-hours-breakdown-details {
  margin-top: 10px;
  background: #0B132B;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #94A3B8;
}

.rm-hours-breakdown-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #CBD5E1;
  outline: none;
}

.rm-hours-breakdown-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rm-hours-breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #CBD5E1;
}

/* Focused 5-Role DWY Internal Resource Estimator */
.rm-dwy-roles-card {
  margin-top: 10px;
  background: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 8px;
  padding: 12px 14px;
}

.rm-dwy-roles-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.rm-dwy-roles-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #38BDF8;
  text-transform: uppercase;
}

.rm-dwy-roles-total {
  font-size: 11.5px;
  color: #CBD5E1;
}

.rm-dwy-roles-total strong {
  color: #F59E0B;
}

.rm-dwy-roles-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.rm-dwy-role-pill {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #E2E8F0;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 14px;
}

.rm-roles-breakdown-details {
  font-size: 11.5px;
  color: #94A3B8;
}

.rm-roles-breakdown-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #CBD5E1;
  outline: none;
}

.rm-roles-breakdown-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rm-roles-breakdown-row {
  background: #0B132B;
  border: 1px solid #1E293B;
  border-radius: 6px;
  padding: 8px 10px;
}

.rm-roles-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 12px;
  margin-bottom: 3px;
}

.rm-roles-row-head span {
  color: #F59E0B;
  font-weight: 700;
  font-size: 11.5px;
}

.rm-roles-row-mods {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.4;
}

/* High-Anchor Precedence (Phase 3 Pricing Display) */
.rm-anchor-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 4px 0 6px 0;
}

.rm-anchor-strike-row {
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.2px;
}

.rm-anchor-strike {
  text-decoration: line-through;
  text-decoration-color: #EF4444;
  text-decoration-thickness: 2px;
  color: #CBD5E1;
  font-weight: 700;
  margin-left: 4px;
}

.rm-anchor-verified-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #10B981;
  margin-top: 4px;
}

.rm-anchor-savings-pill {
  display: inline-block;
  margin-top: 4px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.rm-relativity-anchor {
  text-decoration: line-through;
  text-decoration-color: #EF4444;
  color: #94A3B8;
  font-size: 0.8em;
  font-weight: 600;
  margin-right: 5px;
}

/* Phase 4: CFO Zero-Risk Payback & Loss Aversion Grid */
.rm-net-margin-pill {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #BAE6FD;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.rm-net-margin-pill strong {
  color: #38BDF8;
  font-weight: 800;
}

.rm-cfo-risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.rm-cfo-metric {
  background: #080D1A;
  border: 1px solid #1E293B;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.rm-cfo-metric-primary {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.06);
}

.rm-cfo-metric-loss {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.05);
}

.rm-cfo-metric-zero {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.05);
}

.rm-cfo-metric-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rm-cfo-metric .rm-payback-number {
  font-size: 24px;
  margin: 2px 0 4px 0;
  color: #10B981;
}

.rm-cfo-metric-val-loss {
  font-size: 22px;
  font-weight: 900;
  color: #F87171;
  margin: 2px 0 4px 0;
}

.rm-cfo-metric-val-zero {
  font-size: 22px;
  font-weight: 900;
  color: #FBBF24;
  margin: 2px 0 4px 0;
}

.rm-cfo-metric-sub {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.35;
}

.rm-cfo-math-check {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 11.5px;
  font-family: monospace;
  color: #94A3B8;
  text-align: center;
}

@media (max-width: 680px) {
  .rm-cfo-risk-grid {
    grid-template-columns: 1fr;
  }
}

/* Active Track Indicator inside Live Architecture Scope & Sidebar */
.rm-smsb-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-bottom: 2px;
}

.rm-smsb-track-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #FBBF24;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
}

.rm-sidebar-track-pill {
  display: inline-block;
  margin-top: 8px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Phase 4: IKEA Effect & Commitment Calibration Controls */
.rm-roi-calibration-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.rm-roi-calibration-banner.is-sample {
  background: rgba(245, 158, 11, 0.10);
  border: 1px solid rgba(245, 158, 11, 0.40);
  color: #FDE68A;
}

.rm-roi-calibration-banner.is-calibrated {
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
}

.rm-roi-confirm-btn {
  background: rgba(245, 158, 11, 0.22);
  border: 1px solid rgba(245, 158, 11, 0.65);
  color: #FBBF24;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}

.rm-roi-confirm-btn:hover {
  background: rgba(245, 158, 11, 0.35);
}

.rm-roi-input-wrap {
  display: inline-flex;
  align-items: center;
  background: #080D1A;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 3px 8px;
  transition: border-color 0.15s ease;
}

.rm-roi-input-wrap:focus-within {
  border-color: #10B981;
}

.rm-roi-input-prefix,
.rm-roi-input-suffix {
  font-size: 13px;
  font-weight: 800;
  color: #94A3B8;
}

.rm-roi-num-input {
  background: transparent;
  border: none;
  color: #10B981;
  font-size: 14px;
  font-weight: 800;
  width: 74px;
  text-align: right;
  outline: none;
  padding: 2px 2px;
  -moz-appearance: textfield;
}

.rm-roi-num-input-pct {
  width: 40px;
}

.rm-roi-num-input::-webkit-outer-spin-button,
.rm-roi-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rm-roi-preset-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.rm-roi-preset-btn {
  background: #080D1A;
  border: 1px solid #1E293B;
  color: #94A3B8;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rm-roi-preset-btn:hover {
  border-color: #475569;
  color: #E2E8F0;
}

.rm-roi-preset-btn.is-active {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.60);
  color: #10B981;
}

.rm-year1-upside-bar {
  margin-top: 12px;
  padding: 9px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 7px;
  font-size: 12.5px;
  color: #E2E8F0;
  text-align: center;
}

.rm-cfo-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.rm-cfo-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1E293B;
  border: 1px solid #334155;
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rm-cfo-copy-btn:hover {
  background: #334155;
  border-color: #475569;
  color: #FFFFFF;
}

.rm-cfo-copy-btn.is-copied {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10B981;
  color: #6EE7B7;
}

.rm-cfo-copy-hint {
  font-size: 11.5px;
  color: #94A3B8;
}

@media (max-width: 560px) {
  .rm-roi-calibration-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .rm-cfo-copy-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .rm-cfo-copy-btn {
    justify-content: center;
  }
}

/* Phase 4: 0-Start Slider Temptation, Frosted Lock & Nudge */
.rm-roi-step-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.rm-roi-step-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.rm-roi-step-pill.is-pending {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #FBBF24;
}

.rm-roi-step-pill.is-done {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #6EE7B7;
}

.rm-slider-group.rm-slider-awaiting {
  background: rgba(245, 158, 11, 0.04);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.rm-slider-group.rm-slider-done {
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

@keyframes rmSliderPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.rm-slider-pulse {
  animation: rmSliderPulse 0.85s ease-out 2;
  border-color: #F59E0B !important;
}

.rm-payback-stat {
  position: relative;
  overflow: hidden;
}

.rm-payback-stat.is-locked .rm-payback-content-inner {
  filter: blur(7px);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

.rm-payback-lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(3px);
}

.rm-lock-icon {
  font-size: 26px;
  margin-bottom: 6px;
}

.rm-lock-title {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.rm-lock-sub {
  font-size: 12.5px;
  color: #CBD5E1;
  max-width: 390px;
  line-height: 1.45;
}

.rm-roi-nudge-msg {
  margin-top: 14px;
  padding: 11px 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.55);
  border-radius: 8px;
  color: #FDE68A;
  font-size: 12.5px;
  line-height: 1.45;
  text-align: center;
}

/* Phase 3: Collapsible Custom Architecture Snapshot Accordion */
.rm-snapshot-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  outline: none;
  user-select: none;
}

.rm-snapshot-accordion-summary::-webkit-details-marker {
  display: none;
}

.rm-snapshot-toggle-pill {
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FBBF24;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.rm-snapshot-accordion-summary:hover .rm-snapshot-toggle-pill {
  background: rgba(245, 158, 11, 0.25);
}

.rm-snapshot-accordion .rm-snap-open-lbl {
  display: none;
}

.rm-snapshot-accordion[open] .rm-snap-closed-lbl {
  display: none;
}

.rm-snapshot-accordion[open] .rm-snap-open-lbl {
  display: inline;
}

@media (max-width: 560px) {
  .rm-snapshot-accordion-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}
