/* --- Client Portal tokens --- */
:root {
  --cp-bg: #FAFAF8;
  --cp-dark: #0F0F0F;
  --cp-text: #111111;
  --cp-gray: #666666;
  --cp-red: #DC2626;
  --cp-red-light: #FEE2E2;
  --cp-red-bg: #FEF2F2;
  --cp-green: #16A34A;
  --cp-green-light: #DCFCE7;
  --cp-amber: #D97706;
  --cp-amber-light: #FEF9C3;
  --cp-pink: #FDE8E0;
  --cp-pink-border: #F4A58A;
  --cp-shadow: 0 4px 24px rgba(0,0,0,0.07);
  --cp-radius: 16px;
  --cp-radius-lg: 20px;
}

/* Base resets inside the CP layout to prevent leakage/override issues */
.cp-layout {
  font-family: 'Inter', sans-serif;
  color: var(--cp-text);
  background: var(--cp-bg);
  width: 100%;
  min-height: 100vh;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 50;
  overflow-y: auto;
  overflow-x: hidden;
}
.cp-layout h1, .cp-layout h2, .cp-layout h3 {
  font-family: 'Playfair Display', serif;
  margin: 0;
}
.cp-layout p {
  margin: 0;
}

/* Utilities */
.text-center { text-align: center; }
.text-red { color: var(--cp-red); }
.text-red-dark { color: #991B1B; } /* specific requested */
.text-amber { color: var(--cp-amber); }
.text-green { color: var(--cp-green); }
.text-green-dark { color: #166534; }
.text-white { color: #ffffff; }
.text-gray { color: var(--cp-gray); }
.text-gray-light { color: #999999; }
.text-gray-500 { color: #555555; }
.bg-red { background: var(--cp-red); }
.bg-red-light { background: var(--cp-red-bg); }
.bg-green { background: var(--cp-green); }
.bg-green-light { background: var(--cp-green-light); }
.bg-white { background: #ffffff; }
.bg-fafa { background: #FAFAF8; }
.fw-500 { font-weight: 500; }
.fw-bold { font-weight: 700; }
.mt-14 { margin-top: 14px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }

/* Desktop Container limits */
.cp-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Navbar inside CP */
.cp-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.cp-nav-subtitle {
  font-size: 0.55em; color: var(--cp-gray); text-transform: none; letter-spacing: normal; font-weight: 400; font-family: 'Inter', sans-serif; margin-left: 12px;
}

/* BLOCK 1 */
.cp-block-1-scroll {
  background: var(--cp-dark);
  height: 220vh;
}
.cp-block-1-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 100px 40px 40px;
}
.cp-b1-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Header text is always pinned — never animated or moved */
.cp-client-name,
.cp-delight-bar,
.cp-client-meta {
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}
.cp-client-name {
  font-size: 56px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.cp-client-meta {
  font-size: 16px;
  color: #888;
  margin-bottom: 48px;
}

/* Delight bar — animated line under title */
.cp-delight-bar {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  width: 0%;
  max-width: 260px;
  margin: 0 auto 20px;
  will-change: width;
}

/* Scroll hint */
.cp-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  will-change: opacity;
}
.cp-scroll-hint-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'Inter', sans-serif;
}
.cp-scroll-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cp-scroll-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  animation: dotBounce 1.6s ease-in-out infinite;
}
.cp-scroll-dot:nth-child(2) { animation-delay: 0.25s; }
.cp-scroll-dot:nth-child(3) { animation-delay: 0.5s; }
@keyframes dotBounce {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 0.8; transform: translateY(5px); }
}
.cp-hero-interaction-area {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: min(520px, calc(100vh - 280px));
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.cp-hero-img-box {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 780px;
  transform-origin: left center;
  will-change: transform;
}
.client-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  background: #333;
}
.cp-score-row-wrapper {
  position: absolute;
  right: 0;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 64px;
  opacity: 0;
  transform: translateX(30px);
  will-change: opacity, transform;
  pointer-events: none; /* until shown */
}
.cp-score-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  max-width: 480px;
}
.cp-diagnostic-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}
.cp-score-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cp-gauge-box {
  position: relative;
  width: 140px;
  height: 140px;
}
.cp-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: center;
}
.cp-gauge-bg {
  fill: none;
  stroke: #1f1f1f;
  stroke-width: 16;
}
.cp-gauge-fill {
  fill: none;
  stroke: #ffffff;
  stroke-width: 16;
  stroke-dasharray: 528;
  stroke-dashoffset: 528;
  stroke-linecap: round;
  animation: gaugeFill1 1.5s ease-out forwards;
}
/* 528 - 22% = 412 */
@keyframes gaugeFill1 {
  to { stroke-dashoffset: 412; }
}
.cp-gauge-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.cp-gauge-score {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.cp-gauge-label {
  font-size: 11px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.cp-problems-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.cp-problem-pill {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
}

/* BLOCK 2 */
.cp-block-2 {
  background: var(--cp-bg);
  padding: 72px 40px;
}
.cp-layout .cp-transition-h2 {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #111;
  max-width: 820px;
  margin: 0 auto 16px;
  line-height: 1.3;
}
.cp-layout .cp-transition-sub {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #666;
}

/* BLOCK 3 */
.cp-block-3 {
  background: var(--cp-bg);
  padding: 0 40px 80px;
}
.cp-story-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.story-card {
  background: #fff;
  border-radius: var(--cp-radius-lg);
  overflow: hidden;
  box-shadow: var(--cp-shadow);
  display: flex;
  flex-direction: column;
}
.story-img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #eee;
}
.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-step {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 20px 20px 0;
  align-self: flex-start;
}
.step-green { background: var(--cp-green-light); color: #166534; }
.step-amber { background: var(--cp-amber-light); color: #854D0E; }
.step-red   { background: var(--cp-red-light); color: #991B1B; }

.story-body {
  padding: 16px 20px 20px;
  flex: 1;
}
.story-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
}
.story-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}
.story-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 20px 20px;
  align-self: flex-start;
}
.badge-green { background: var(--cp-green-light); color: #166534; }
.badge-amber { background: var(--cp-amber-light); color: #854D0E; }
.badge-red   { background: var(--cp-red-light); color: #991B1B; }

.cp-story-callout {
  margin-top: 24px;
  background: var(--cp-red-bg);
  border-left: 4px solid var(--cp-red);
  border-radius: 12px;
  padding: 20px 24px;
}
.cp-story-callout strong {
  color: #991B1B; font-size: 16px;
}
.cp-story-callout span {
  color: #555; font-size: 15px;
}

/* BLOCK 4 */
.cp-block-4 {
  background: #ffffff;
  padding: 80px 40px;
}
.cp-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.cp-gap-h2 {
  font-size: 36px;
  color: #111;
  margin-bottom: 8px;
}
.cp-gap-sub {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
}
.cp-gap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.gap-card {
  background: #fff;
  border-radius: var(--cp-radius-lg);
  padding: 28px;
  box-shadow: var(--cp-shadow);
}
.gap-card.red-top { border-top: 4px solid var(--cp-red); }
.gap-card.amber-top { border-top: 4px solid var(--cp-amber); }

.gap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.gap-icon { font-size: 32px; }
.gap-severity {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.badge-red-solid { background: var(--cp-red-light); color: var(--cp-red); }
.badge-amber-solid { background: var(--cp-amber-light); color: var(--cp-amber); }

.gap-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
.gap-divider {
  border-top: 1px solid #F0F0F0;
  margin: 16px 0;
}
.gap-label {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}
.gap-finding {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}
.gap-consequence {
  font-size: 14px;
}
.gap-fix {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.gap-check {
  color: var(--cp-green);
  font-size: 16px;
}
.gap-fix span:last-child {
  font-size: 14px;
  color: var(--cp-green);
  font-weight: 600;
  line-height: 1.5;
}

/* BLOCK 5 */
.cp-block-5 {
  background: var(--cp-dark);
  padding: 80px 40px;
}
.cp-score-h2 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 40px;
}
.cp-animated-gauge-wrapper {
  position: relative;
  width: 320px;
  height: 175px;
  margin: 0 auto 32px;
}
.cp-animated-gauge {
  width: 100%;
  height: 100%;
}
.gauge-bg {
  stroke: #1f1f1f;
  stroke-width: 20;
  fill: none;
  stroke-linecap: round;
}
.gauge-zone {
  stroke-width: 20;
  fill: none;
}
.gauge-red { stroke: var(--cp-red); }
.gauge-amber { stroke: var(--cp-amber); }
.gauge-green { stroke: var(--cp-green); }

.gauge-score-arc {
  stroke: #ffffff;
  stroke-width: 22;
  fill: none;
  stroke-linecap: round;
  animation: gaugeScore 1.5s ease-out forwards;
}
/* 471.2 * 0.78 = 367.5 offset for 22% fill */
@keyframes gaugeScore {
  to { stroke-dashoffset: 367.5; }
}
.gauge-center-text {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.gauge-number {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}
.gauge-total {
  font-size: 18px;
  color: #555;
  font-family: 'Inter', sans-serif;
}
.gauge-labels {
  font-size: 11px;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.score-caption {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}
.score-boldline {
  font-size: 20px;
  color: #ffffff;
  font-weight: 700;
  max-width: 500px;
  margin: 0 auto;
}

/* BLOCK 6 */
.cp-block-6 {
  min-height: 100vh;
  background: linear-gradient(160deg, #1a0000, #0F0F0F);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 80px 40px;
}
.cp-number-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cp-label-darkred {
  color: #7f1d1d;
  letter-spacing: 4px;
}
.giant-number {
  font-family: 'Playfair Display', serif;
  font-size: 104px;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}
.giant-number-sub {
  font-size: 22px;
  color: #888888;
  margin-bottom: 36px;
}
.calc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.calc-chip {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
}
.calc-result {
  background: var(--cp-red);
  font-weight: 700;
}
.calc-math {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.year-loss {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 32px;
}
.loss-desc {
  font-size: 16px;
  color: #888888;
  max-width: 540px;
  line-height: 1.8;
}

/* BLOCK 7 */
.cp-block-7 {
  background: var(--cp-bg);
  padding: 80px 40px;
}
.cp-ba-h2 {
  font-size: 36px;
  color: #111;
  margin-top: 12px;
  margin-bottom: 40px;
}
.table-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  width: 100%;
}
.ba-table {
  width: 100%;
  border-collapse: collapse;
}
.ba-table th {
  padding: 16px 24px;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.ba-table td {
  padding: 16px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.bg-fafa { background: #FAFAF8; }
.bg-white { background: #ffffff; }
.td-summary-red {
  background: #FEF2F2;
  color: #991B1B;
  font-size: 15px;
}
.td-summary-green {
  background: #DCFCE7;
  color: #166534;
  font-size: 15px;
}

/* BLOCK 8 */
.cp-block-8 {
  background: #ffffff;
  padding: 80px 40px;
}
.cp-pricing-h2 {
  font-size: 36px;
  margin-top: 12px;
  color: #111;
}
.cp-pricing-sub {
  font-size: 18px;
  color: #666;
  margin-top: 8px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: flex-start;
}
.pricing-card {
  background: #ffffff;
  border-radius: var(--cp-radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.card-starter {
  border: 1.5px solid #E5E5E5;
}
.card-core {
  border: 2px solid #111111;
  transform: translateY(-14px);
  position: relative;
}
.card-retainer {
  background: var(--cp-pink);
  border: 2px solid var(--cp-pink-border);
  position: relative;
}
.top-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  padding: 5px 18px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}
.top-badge-black { background: #111; }
.top-badge-red { background: var(--cp-red); }

.pricing-tag {
  font-size: 11px;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
}
.tp-gray { background: #F5F5F5; color: #666; }
.tp-red { background: rgba(220,38,38,0.1); color: var(--cp-red); }

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #111;
  line-height: 1;
}
.pricing-freq {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}
.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-main {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  color: #111;
  line-height: 1;
}
.price-plus { font-size: 20px; color: #666; }
.price-monthly {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--cp-red);
}

.pricing-divider {
  margin: 20px 0;
}
.line-gray { border-top: 1px solid #F0F0F0; }
.line-pink { border-top: 1px solid rgba(244,165,138,0.4); }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.pricing-features li {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.check-green {
  color: var(--cp-green);
  font-size: 14px;
}
.feat-text {
  font-size: 14px;
  color: #333;
}

.roi-box {
  background: rgba(255,255,255,0.72);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 20px;
}
.roi-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cp-green);
}
.roi-desc {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

.pricing-btn {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.starter-btn {
  border: 1.5px solid #111;
  background: #ffffff;
  color: #111;
}
.starter-btn:hover { background: #111; color: #fff; }
.core-btn {
  border: 2px solid #111;
  background: #111;
  color: #ffffff;
}
.core-btn:hover { background: #222; }
.retainer-btn {
  border: 2px solid #111;
  background: #111;
  color: #ffffff;
  font-weight: 700;
}
.retainer-btn:hover { background: #222; }

.pricing-footer {
  margin: 40px auto 0;
  max-width: 560px;
}
.loss-weekly {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
.setup-time {
  font-size: 15px;
  color: #666;
  margin-top: 8px;
}

/* BLOCK 9 */
.cp-block-9 {
  background: var(--cp-dark);
  padding: 80px 40px;
}
.final-h2 {
  font-size: 36px;
  color: #ffffff;
}
.final-sub {
  font-size: 18px;
  color: #888;
  margin-top: 12px;
  margin-bottom: 32px;
}
.final-cta-btn {
  min-width: 360px;
  padding: 18px 40px;
  background: #ffffff;
  color: #111111;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.final-cta-btn:hover { background: #F5F5F3; }
.final-hours {
  font-size: 14px;
  color: #555;
  margin-top: 12px;
  margin-bottom: 48px;
}
.cp-footer {
  font-size: 13px;
  color: #444;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .cp-story-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-gap-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .table-wrapper { overflow-x: auto; }
  .ba-table { min-width: 600px; }
}
@media (max-width: 600px) {
  .cp-block-1, .cp-block-2, .cp-block-3, .cp-block-4, .cp-block-5, .cp-block-6, .cp-block-7, .cp-block-8, .cp-block-9 {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cp-block-1 { padding-top: 48px; padding-bottom: 48px; }
  .cp-block-2 { padding-top: 48px; padding-bottom: 48px; }
  .cp-client-name { font-size: 32px; }
  .client-hero-img { height: 280px; margin-bottom: 32px; }
  .cp-score-row { gap: 32px; }
  .cp-gauge-box { width: 150px; height: 150px; }
  .cp-gauge-score { font-size: 32px; }

  .cp-transition-h2 { font-size: 28px; }
  
  .cp-story-grid { grid-template-columns: 1fr; }

  .cp-animated-gauge-wrapper { width: 260px; height: 142px; }
  
  .cp-score-row-wrapper { width: 100%; right: unset; left: 0; }
  .cp-score-row { justify-content: center; gap: 32px; }
  
  .giant-number { font-size: 64px; }
  .year-loss { font-size: 22px; }
  
  .pricing-grid { grid-template-columns: 1fr; }
  .card-core { transform: none; }

  .final-cta-btn { min-width: 100%; width: 100%; }
}


/* ═══════════════════════════════════════════════════════════════════
   METALLIC LIQUID THEME — All sections after the hero
═══════════════════════════════════════════════════════════════════ */

/* ── Global layout ── */
.cp-layout {
  background: #0c0c0e;
}
.cp-navbar {
  background: rgba(10,10,12,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.cp-navbar .logo { color: rgba(255,255,255,0.92); }
.cp-nav-subtitle { color: rgba(255,255,255,0.3) !important; }
.log-out {
  border: 1px solid rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.6) !important;
  background: transparent !important;
}
.log-out:hover {
  border-color: rgba(255,255,255,0.35) !important;
  color: rgba(255,255,255,0.9) !important;
}

/* ── Liquid metallic background (all post-hero sections) ── */
.cp-block-2, .cp-block-3, .cp-block-4,
.cp-block-5, .cp-block-6, .cp-block-7,
.cp-block-8, .cp-block-9 {
  background:
    radial-gradient(ellipse at 18% 40%, rgba(200,200,215,0.030) 0%, transparent 60%),
    radial-gradient(ellipse at 82% 70%, rgba(185,185,205,0.025) 0%, transparent 55%),
    linear-gradient(175deg, #111114 0%, #0d0d10 45%, #101013 100%);
}
.cp-block-3, .cp-block-7 {
  background:
    radial-gradient(ellipse at 75% 30%, rgba(195,195,212,0.028) 0%, transparent 58%),
    radial-gradient(ellipse at 20% 75%, rgba(180,180,200,0.020) 0%, transparent 50%),
    linear-gradient(175deg, #0e0e11 0%, #0b0b0e 50%, #0e0e11 100%);
}

/* ── Block 2 — Transition text ── */
.cp-layout .cp-transition-h2 {
  color: rgba(255,255,255,0.90);
  font-weight: 300;
}
.cp-layout .cp-transition-sub {
  color: rgba(255,255,255,0.38);
}

/* ── Block 3 — Story cards (3D glass) ── */
.story-card {
  background: linear-gradient(160deg,
    rgba(255,255,255,0.075) 0%,
    rgba(255,255,255,0.025) 50%,
    rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    0 28px 56px rgba(0,0,0,0.55),
    0 8px 20px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.25);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transform: perspective(900px) translateZ(0) rotateX(0deg);
  transition: transform 0.40s cubic-bezier(.22,.68,0,1.2),
              box-shadow 0.40s ease;
}
.story-card:hover {
  transform: perspective(900px) translateZ(10px) translateY(-5px);
  box-shadow:
    0 40px 72px rgba(0,0,0,0.65),
    0 14px 28px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.20),
    inset 0 -1px 0 rgba(0,0,0,0.25);
}
.story-img-container { background: #0a0a0c; }
.story-step,
.step-green, .step-amber, .step-red {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.48);
  border: 1px solid rgba(255,255,255,0.10);
}
.story-body h3 { color: rgba(255,255,255,0.90); }
.story-body p  { color: rgba(255,255,255,0.50); }
.story-badge,
.badge-green, .badge-amber, .badge-red {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.08);
}
.cp-story-callout {
  background: rgba(255,255,255,0.04);
  border-left: 2px solid rgba(255,255,255,0.20);
  border-radius: 12px;
}
.cp-story-callout strong { color: rgba(255,255,255,0.82); }
.cp-story-callout span   { color: rgba(255,255,255,0.48); }

/* ── Block 4 — Gap cards (3D glass) ── */
.cp-label       { color: rgba(255,255,255,0.32); }
.cp-gap-h2      { color: rgba(255,255,255,0.90); }
.cp-gap-sub     { color: rgba(255,255,255,0.42); }
.text-gray      { color: rgba(255,255,255,0.32) !important; }
.text-red       { color: rgba(255,255,255,0.68) !important; }
.fw-500         { font-weight: 500; }

.gap-card {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.065) 0%,
    rgba(255,255,255,0.020) 50%,
    rgba(255,255,255,0.010) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 44px rgba(0,0,0,0.50),
    0 6px 14px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.11),
    inset 0 -1px 0 rgba(0,0,0,0.20);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.15),
              box-shadow 0.35s ease;
}
.gap-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.60),
    0 10px 20px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.20);
}
.gap-card.red-top   { border-top: 2px solid rgba(255,255,255,0.22); }
.gap-card.amber-top { border-top: 2px solid rgba(255,255,255,0.13); }
.gap-title    { color: rgba(255,255,255,0.88); }
.gap-icon     { color: rgba(255,255,255,0.55); font-size: 18px; }
.gap-finding  { color: rgba(255,255,255,0.52); }
.gap-consequence { color: rgba(255,255,255,0.72); font-weight: 500; }
.gap-divider  { border-top-color: rgba(255,255,255,0.07); }
.gap-check    { color: rgba(255,255,255,0.45); }
.gap-fix span:last-child { color: rgba(255,255,255,0.62); font-weight: 500; }
.gap-severity,
.badge-red-solid,
.badge-amber-solid {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.50);
  border: none;
}

/* ── Block 5 — Score gauge ── */
.cp-score-h2   { color: rgba(255,255,255,0.90); }
.score-caption { color: rgba(255,255,255,0.52); }
.score-boldline{ color: rgba(255,255,255,0.82); }
.gauge-bg      { stroke: rgba(255,255,255,0.08); }
.gauge-red     { stroke: rgba(255,255,255,0.13); }
.gauge-amber   { stroke: rgba(255,255,255,0.22); }
.gauge-green   { stroke: rgba(255,255,255,0.32); }
.gauge-labels  { color: rgba(255,255,255,0.35); }
.gauge-labels .text-red,
.gauge-labels .text-amber,
.gauge-labels .text-green { color: rgba(255,255,255,0.35) !important; }
.cp-label-darkred { color: rgba(255,255,255,0.28); }

/* ── Block 6 — Giant number ── */
.giant-number-sub  { color: rgba(255,255,255,0.38); }
.calc-chip         {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.70);
  border: 1px solid rgba(255,255,255,0.08);
}
.calc-result {
  background: rgba(255,255,255,0.12) !important;
  color: rgba(255,255,255,0.88) !important;
  border: 1px solid rgba(255,255,255,0.16);
}
.year-loss  { color: rgba(255,255,255,0.88); }
.loss-desc  { color: rgba(255,255,255,0.42); }

/* ── Block 7 — Before/After two-card layout ── */
.cp-ba-h2 { color: rgba(255,255,255,0.90); }

.ba-cards-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

/* ── Shared card base ── */
.ba-card {
  flex: 1;
  border-radius: 20px;
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── LEFT: dark muted "before" card ── */
.ba-card-before {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.045) 0%,
    rgba(255,255,255,0.018) 60%,
    rgba(255,255,255,0.008) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ── RIGHT: warm orange glass "after" card ── */
.ba-card-after {
  background:
    radial-gradient(ellipse at 38% 28%, rgba(230,135,50,0.28) 0%, transparent 58%),
    radial-gradient(ellipse at 78% 75%, rgba(200,100,35,0.18) 0%, transparent 52%),
    linear-gradient(148deg,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 55%,
      rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(230,155,65,0.32);
  box-shadow:
    0 24px 56px rgba(0,0,0,0.50),
    0 0 80px rgba(210,110,35,0.18),
    inset 0 1px 0 rgba(255,200,100,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.20);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* Warm orbs inside after-card */
.ba-orb-1 {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,140,55,0.18) 0%, transparent 65%);
  top: -80px; right: -60px;
  pointer-events: none;
  filter: blur(40px);
}
.ba-orb-2 {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210,95,35,0.14) 0%, transparent 65%);
  bottom: -40px; left: 20%;
  pointer-events: none;
  filter: blur(35px);
}

/* ── Card header badges ── */
.ba-card-top { position: relative; z-index: 2; }

.ba-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 40px;
  padding: 5px 14px;
}
.ba-badge-before {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
}
.ba-badge-after {
  background: rgba(230,140,55,0.20);
  border: 1px solid rgba(230,155,65,0.40);
  color: rgba(255,195,110,0.95);
}

/* ── Lists ── */
.ba-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.ba-list li {
  font-family: var(--font-body);
  font-size: 0.90rem;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.ba-list li::before {
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.80rem;
}
.ba-list-before li {
  color: rgba(255,255,255,0.42);
}
.ba-list-before li::before {
  content: '✕';
  color: rgba(255,100,100,0.50);
}
.ba-list-after li {
  color: rgba(255,255,255,0.80);
}
.ba-list-after li::before {
  content: '✓';
  color: rgba(230,165,75,0.90);
}

/* ── Footer rows ── */
.ba-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.ba-footer-before {
  color: rgba(255,255,255,0.35);
}
.ba-footer-after {
  color: rgba(255,200,100,0.90);
  border-top-color: rgba(230,150,60,0.18);
}

/* ── Arrow between cards ── */
.ba-arrow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  z-index: 10;
}
.ba-arrow-svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 12px rgba(220,140,55,0.30));
}

/* ── Block 8 — Pricing cards (3D glass) ── */
.cp-pricing-h2  { color: rgba(255,255,255,0.90); }
.cp-pricing-sub { color: rgba(255,255,255,0.42); }
.pricing-card {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.070) 0%,
    rgba(255,255,255,0.025) 55%,
    rgba(255,255,255,0.012) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.52),
    0 8px 16px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.13),
    inset 0 -1px 0 rgba(0,0,0,0.18);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: transform 0.35s cubic-bezier(.22,.68,0,1.15),
              box-shadow 0.35s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 36px 64px rgba(0,0,0,0.62),
    0 12px 24px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.18);
}
.card-starter { border-color: rgba(255,255,255,0.08); }
.card-core    { border-color: rgba(255,255,255,0.18); }
.card-retainer {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.090) 0%,
    rgba(255,255,255,0.030) 55%,
    rgba(255,255,255,0.015) 100%) !important;
  border-color: rgba(255,255,255,0.14);
}
.top-badge-black { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.80); }
.top-badge-red   { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.75); }
.pricing-tag, .tp-gray, .tp-red {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.48);
}
.pricing-price, .price-main { color: rgba(255,255,255,0.90); }
.pricing-freq  { color: rgba(255,255,255,0.35) !important; }
.price-plus    { color: rgba(255,255,255,0.35); }
.price-monthly { color: rgba(255,255,255,0.72); }
.pricing-divider { border-top-color: rgba(255,255,255,0.07); }
.line-gray, .line-pink { border-top-color: rgba(255,255,255,0.07) !important; }
.feat-text   { color: rgba(255,255,255,0.58); }
.check-green { color: rgba(255,255,255,0.42); }
.roi-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.roi-title { color: rgba(255,255,255,0.60); }
.roi-desc  { color: rgba(255,255,255,0.38); }
.starter-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75);
}
.starter-btn:hover {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
}
.core-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.90);
}
.core-btn:hover { background: rgba(255,255,255,0.18); }
.retainer-btn {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
}
.retainer-btn:hover { background: rgba(255,255,255,0.17); }
.loss-weekly { color: rgba(255,255,255,0.85); }
.setup-time  { color: rgba(255,255,255,0.38); }
.pricing-footer .loss-weekly, .pricing-footer .setup-time { text-align: center; }

/* ── Block 9 — Final CTA ── */
.final-h2  { color: rgba(255,255,255,0.90); }
.final-sub { color: rgba(255,255,255,0.40); }
.final-cta-btn {
  background: rgba(255,255,255,0.92);
  color: #0c0c0e;
  box-shadow: 0 8px 32px rgba(0,0,0,0.40),
              inset 0 1px 0 rgba(255,255,255,1);
}
.final-cta-btn:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.50);
}
.final-hours { color: rgba(255,255,255,0.32); }
.cp-footer   { color: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════════════════════════════
   CARD STACK + SPREAD ANIMATION — Block 4
═══════════════════════════════════════════════════════════════════ */

.cp-gap-scroll-section {
  position: relative;
  height: 600vh;
  background:
    radial-gradient(ellipse at 18% 55%, rgba(110,90,140,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 25%, rgba(90,70,50,0.05) 0%, transparent 50%),
    linear-gradient(175deg, #0a0a0d 0%, #0d0d11 50%, #0a0a0d 100%);
}
/* Sticky section — full 100vh, flex column: title on top, stage below */
.cp-gap-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Title — always visible, sits above the card stage */
.cp-gap-sticky-title {
  flex-shrink: 0;
  text-align: center;
  padding: 36px 40px 20px;
  position: relative;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10,10,13,0.96) 65%, transparent 100%);
}
.cp-gap-sticky-title .cp-gap-h2 {
  margin-bottom: 0;
}

/* Stage — takes all remaining height below the title */
.cp-gap-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* Background orbs */
.gap-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.gap-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(120,100,155,0.14) 0%, transparent 70%);
  top: -8%; left: -12%;
  animation: gapOrb1 20s ease-in-out infinite;
}
.gap-orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(80,65,50,0.10) 0%, transparent 70%);
  bottom: 2%; right: -8%;
  animation: gapOrb2 25s ease-in-out infinite;
}
.gap-orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(100,95,75,0.08) 0%, transparent 70%);
  top: 35%; left: 35%;
  animation: gapOrb3 17s ease-in-out infinite;
}
@keyframes gapOrb1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(28px,-38px) scale(1.06); }
}
@keyframes gapOrb2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(-22px,32px) scale(0.95); }
}
@keyframes gapOrb3 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(18px,-18px) scale(1.04); }
}

/* Animated cards in the stage */
.gap-card-anim {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(310px, calc(min(100vw, 1100px) / 3 - 20px));
  transform: translateX(-50%) translateY(-120vh) scale(0.85);
  opacity: 0;
  will-change: transform, opacity;
  background: linear-gradient(155deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.03) 55%,
    rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 32px 64px rgba(0,0,0,0.65),
    0 10px 24px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.16),
    inset 0 -1px 0 rgba(0,0,0,0.25);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: var(--cp-radius-lg);
  padding: 28px;
  z-index: 1;
}
.gap-card-anim.red-top   { border-top: 2px solid rgba(255,255,255,0.24); }
.gap-card-anim.amber-top { border-top: 2px solid rgba(255,255,255,0.14); }

/* ═══════════════════════════════════════════════════════════════════
   SCORE REVEAL PANEL — Phase 3 of Block 4 sticky animation
═══════════════════════════════════════════════════════════════════ */

.cp-gap-score-reveal {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px 40px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  transition: none;
}

.gsr-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
  max-width: 860px;
}

/* ── Left: Gauge column ── */
.gsr-gauge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.gsr-gauge-wrap {
  position: relative;
  width: 220px;
  height: 120px;
}

.gsr-gauge-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.gsr-arc-bg {
  fill: none;
  stroke: rgba(255,255,255,0.10);
  stroke-width: 13;
  stroke-linecap: round;
}

/* White animated fill — starts empty, animates to 22% on .animate class */
.gsr-arc-fill {
  fill: none;
  stroke: rgba(255,255,255,0.90);
  stroke-width: 13;
  stroke-linecap: round;
  /* Arc perimeter ≈ π × 96 ≈ 302 */
  stroke-dasharray: 302;
  stroke-dashoffset: 302; /* fully hidden until animation */
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.35));
}
.gsr-arc-fill.animate {
  animation: gsrArcFill 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.15s;
}
@keyframes gsrArcFill {
  from { stroke-dashoffset: 302; }
  to   { stroke-dashoffset: 236; } /* 302 × 0.78 = 22% filled */
}

.gsr-gauge-center {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1;
}

.gsr-score-num {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.04em;
  line-height: 1;
}
.gsr-score-den {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255,255,255,0.35);
  margin-left: 3px;
  vertical-align: bottom;
  padding-bottom: 6px;
}

.gsr-score-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  text-align: center;
  margin-top: 4px;
}

/* Vertical divider between columns */
.gsr-inner::after {
  content: '';
  display: block;
  width: 1px;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.14), transparent);
  flex: 0 0 auto;
  order: 1;
}
/* Force right column to appear after divider */
.gsr-gauge-col { order: 0; }
.gsr-money-col { order: 2; }

/* ── Right: Money column — hidden until gauge animation finishes ── */
.gsr-money-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.gsr-money-col.visible {
  opacity: 1;
  transform: translateY(0);
}

.gsr-money-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 4px;
}

.gsr-pill-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gsr-big-pill {
  display: inline-block;
  background: linear-gradient(135deg, rgba(200,50,50,0.80) 0%, rgba(160,30,30,0.85) 100%);
  border: 1px solid rgba(255,100,100,0.30);
  box-shadow:
    0 8px 32px rgba(180,40,40,0.45),
    inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 80px;
  padding: 14px 40px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.gsr-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.gsr-formula-part {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-body);
}

.gsr-formula-op {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-body);
}

.gsr-formula-result {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body);
}

.gsr-year {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}
.gsr-year strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

/* ── Caption below both columns ── */
.gsr-caption {
  max-width: 640px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
}
.gsr-caption strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════
   CLIENT CRM DASHBOARD
═══════════════════════════════════════════════════════════════════ */

/* ── Shell layout ── */
.crm-shell {
  display: flex;
  height: 100vh;
  width: 100%;
  background: #090909;
  font-family: var(--font-body);
  color: rgba(255,255,255,0.88);
  overflow: hidden;
}

/* ── Sidebar ── */
.crm-sidebar {
  width: 252px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(12,12,15,0.96);
  border-right: 1px solid rgba(255,255,255,0.055);
  padding: 28px 20px;
  position: relative;
  z-index: 60;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.crm-sidebar-top { margin-bottom: 32px; }

.crm-logo {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 24px;
}
.crm-logo-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.01em;
}

.crm-client-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 10px 14px;
}
.crm-client-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(225,140,55,0.60), rgba(180,80,30,0.70));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.90);
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.crm-client-name-s {
  font-size: 0.80rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  line-height: 1.2;
}
.crm-client-handle {
  font-size: 0.70rem;
  color: rgba(255,255,255,0.30);
  line-height: 1.2;
}

/* ── Sidebar nav ── */
.crm-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.crm-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  text-align: left;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
.crm-nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.72);
}
.crm-nav-item.active {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.90);
}
.crm-nav-item.active svg { opacity: 0.90; }
.crm-nav-item svg { opacity: 0.40; flex-shrink: 0; }
.crm-nav-badge {
  margin-left: auto;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(225,140,55,0.20);
  border: 1px solid rgba(225,145,60,0.32);
  color: rgba(255,190,100,0.80);
  border-radius: 20px;
  padding: 2px 7px;
}

/* ── Sidebar bottom ── */
.crm-sidebar-bottom { margin-top: auto; padding-top: 16px; }
.crm-exit-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.30);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.crm-exit-btn:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.60);
}

/* ── Main content area ── */
.crm-main {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

/* When proposal view is active, .cp-layout inside fills this absolutely */
.crm-main .cp-layout {
  position: absolute;
  inset: 0;
  height: 100%;
}

/* ── Overview wrapper ── */
.crm-overview-wrap {
  height: 100%;
  overflow-y: auto;
  padding: 52px 52px 80px;
  background:
    radial-gradient(ellipse at 15% 8%, rgba(95,75,125,0.06) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 88%, rgba(75,60,45,0.05) 0%, transparent 48%),
    #0a0a0d;
}

/* ── Overview header ── */
.crm-ov-header { margin-bottom: 44px; }
.crm-ov-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
  margin-bottom: 8px;
}
.crm-ov-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.crm-ov-sub {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.32);
  margin: 0;
}

/* ── Metrics row ── */
.crm-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}
.crm-metric {
  background: linear-gradient(155deg,
    rgba(255,255,255,0.055) 0%,
    rgba(255,255,255,0.020) 60%,
    rgba(255,255,255,0.008) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 22px 20px 20px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.38);
}
.crm-metric-val {
  font-family: var(--font-heading);
  font-size: 1.90rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.crm-metric-val span {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.32);
}
.crm-metric-critical .crm-metric-val { color: rgba(220,90,90,0.90); }
.crm-metric-loss .crm-metric-val { color: rgba(220,90,90,0.80); font-size: 1.5rem; }
.crm-metric-label {
  font-size: 0.80rem;
  font-weight: 600;
  color: rgba(255,255,255,0.60);
  margin-bottom: 3px;
}
.crm-metric-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.26);
}
.crm-metric-pill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem !important;
  font-weight: 600;
  background: rgba(100,195,120,0.15);
  border: 1px solid rgba(100,195,120,0.28);
  color: rgba(120,210,140,0.85) !important;
  border-radius: 20px;
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

/* ── Two-column layout for sections ── */
.crm-ov-sections {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.crm-ov-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.24);
  margin-bottom: 16px;
}

/* ── Proposal card (inside overview) ── */
.crm-proposal-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  background:
    radial-gradient(ellipse at 35% 40%, rgba(225,130,50,0.22) 0%, transparent 55%),
    linear-gradient(148deg,
      rgba(255,255,255,0.08) 0%,
      rgba(255,255,255,0.03) 60%,
      rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(220,145,60,0.28);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45),
              0 0 50px rgba(195,100,35,0.10),
              inset 0 1px 0 rgba(255,195,95,0.16);
  transition: box-shadow 0.22s, border-color 0.22s;
}
.crm-proposal-card:hover {
  border-color: rgba(220,145,60,0.45);
  box-shadow: 0 20px 48px rgba(0,0,0,0.50), 0 0 60px rgba(195,100,35,0.16), inset 0 1px 0 rgba(255,195,95,0.20);
}
.crm-prop-orb {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,135,50,0.14) 0%, transparent 65%);
  top: -80px; right: 40px;
  pointer-events: none;
  filter: blur(30px);
}
.crm-prop-left { flex: 1; position: relative; z-index: 2; }
.crm-prop-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: rgba(225,145,60,0.18);
  border: 1px solid rgba(225,145,60,0.30);
  color: rgba(255,190,100,0.85);
  border-radius: 20px;
  padding: 3px 11px;
  margin-bottom: 10px;
}
.crm-prop-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0 0 6px;
}
.crm-prop-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.42);
  margin: 0 0 10px;
}
.crm-prop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.30);
}
.crm-prop-meta strong { color: rgba(255,255,255,0.65); }
.crm-sep { color: rgba(255,255,255,0.16); }
.crm-prop-btn {
  flex-shrink: 0;
  background: rgba(225,140,55,0.16);
  border: 1px solid rgba(225,145,60,0.32);
  border-radius: 10px;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255,195,100,0.90);
  cursor: pointer;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
}
.crm-prop-btn:hover { background: rgba(225,140,55,0.26); color: #fff; }

/* ── Timeline ── */
.crm-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(155deg,
    rgba(255,255,255,0.045) 0%,
    rgba(255,255,255,0.015) 60%,
    rgba(255,255,255,0.006) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 6px 0;
  overflow: hidden;
}
.crm-tl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.crm-tl-item:last-child { border-bottom: none; }
.crm-tl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.crm-tl-done { color: rgba(255,255,255,0.36); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.14); }
.crm-tl-done .crm-tl-dot { background: rgba(100,195,120,0.55); }
.crm-tl-active { color: rgba(255,255,255,0.88); font-weight: 500; }
.crm-tl-active .crm-tl-dot { background: rgba(225,145,60,0.90); box-shadow: 0 0 8px rgba(225,145,60,0.50); }
.crm-tl-pending { color: rgba(255,255,255,0.24); }
.crm-tl-pending .crm-tl-dot { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); }

/* ═══════════════════════════════════════════════
   CRM v2 — Light Glassmorphism Dashboard
   ═══════════════════════════════════════════════ */

.crm2-shell {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  color: rgba(255,245,215,0.88);
  position: relative;
  background: #1a1410;
}

/* ── Video background ── */
.crm2-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) brightness(0.55) saturate(0.7);
  transform: scale(1.08);
  z-index: 0;
}
.crm2-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 60% 20%, rgba(255,220,170,0.18) 0%, transparent 65%),
    linear-gradient(160deg, rgba(40,28,18,0.55) 0%, rgba(25,20,14,0.72) 100%);
  z-index: 0;
}

/* ── Sidebar ── */
.crm2-sidebar {
  width: 58px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 14px;
  background: rgba(255,248,235,0.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-right: 1px solid rgba(255,235,190,0.18);
  position: relative;
  z-index: 2;
}
.crm2-sb-logo {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.92);
  color: #111;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.crm2-sb-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.crm2-icon-btn {
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,235,190,0.42);
  transition: background 0.13s, color 0.13s;
}
.crm2-icon-btn:hover { background: rgba(255,235,190,0.12); color: rgba(255,235,190,0.78); }
.crm2-icon-btn.active { background: rgba(255,235,190,0.18); color: rgba(255,240,210,0.95); }
.crm2-sb-client {
  width: 30px; height: 30px;
  background: rgba(255,235,190,0.18);
  border: 1px solid rgba(255,235,190,0.26);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.67rem;
  font-weight: 600;
  color: rgba(255,240,210,0.72);
  flex-shrink: 0;
}

/* ── Main wrapper ── */
.crm2-main-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  position: relative;
  z-index: 2;
}

/* ── Top bar ── */
.crm2-topbar {
  display: flex;
  align-items: center;
  height: 52px;
  flex-shrink: 0;
  padding: 0 20px;
  background: rgba(255,245,220,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,230,160,0.14);
}
.crm2-tb-client {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid rgba(255,220,140,0.18);
  margin-right: 4px;
  height: 100%;
}
.crm2-tb-badge {
  width: 26px; height: 26px;
  background: rgba(255,220,140,0.22);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.69rem;
  font-weight: 700;
  color: rgba(255,240,200,0.88);
}
.crm2-tb-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,245,220,0.88);
}
.crm2-topnav {
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
}
.crm2-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 13px;
  height: 52px;
  font-family: 'Inter', sans-serif;
  font-size: 0.79rem;
  font-weight: 400;
  color: rgba(255,235,185,0.38);
  cursor: pointer;
  transition: color 0.13s, border-color 0.13s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: -1px;
}
.crm2-tab:hover { color: rgba(255,235,185,0.68); }
.crm2-tab-active {
  color: rgba(255,245,215,0.95) !important;
  font-weight: 500;
  border-bottom-color: rgba(255,220,130,0.70);
}
.crm2-tab-dim {
  opacity: 0.38;
  cursor: default;
  pointer-events: none;
}
.crm2-tab-exit {
  margin-left: auto;
  color: rgba(255,235,185,0.32);
  border-bottom: none;
}
.crm2-tab-exit:hover { color: #ff7070; }

/* ── Body ── */
.crm2-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,220,130,0.22) transparent;
}

/* ── Overview ── */
.crm2-overview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Metrics row ── */
.crm2-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

/* ── Card bases ── */
.crm2-metric-card {
  border-radius: 14px;
  padding: 16px 18px;
}
.crm2-glass-card {
  background: rgba(255,248,232,0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,230,155,0.22);
  box-shadow: 0 2px 18px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,240,185,0.20);
  color: rgba(255,245,215,0.92);
}
.crm2-dark-card {
  background: rgba(10,8,4,0.68);
  border: 1px solid rgba(255,220,120,0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.38);
  color: #fff;
}

/* ── Score card ── */
.crm2-card-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,220,140,0.55);
  margin-bottom: 8px;
}
.crm2-score-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px;
}
.crm2-score-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e53535;
  line-height: 1;
}
.crm2-score-denom {
  font-size: 0.95rem;
  color: rgba(255,235,180,0.38);
  font-weight: 400;
}
.crm2-badge-crit {
  margin-left: 8px;
  background: #e53535;
  color: #fff;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  align-self: center;
}
.crm2-progress-wrap { margin-top: 2px; }
.crm2-progress-track {
  position: relative;
  height: 5px;
  background: rgba(255,235,180,0.12);
  border-radius: 3px;
}
.crm2-progress-fill {
  position: absolute;
  left: 0; top: 0;
  width: 22%;
  height: 100%;
  background: #e53535;
  border-radius: 3px;
}
.crm2-progress-marker {
  position: absolute;
  left: 68%;
  top: -3px;
  width: 1.5px;
  height: 11px;
  background: rgba(255,235,180,0.36);
  border-radius: 1px;
}
.crm2-progress-labs {
  display: flex;
  justify-content: space-between;
  font-size: 0.60rem;
  color: rgba(255,235,180,0.36);
  margin-top: 5px;
  position: relative;
}
.crm2-meta-lab {
  position: absolute;
  left: calc(68% - 14px);
  color: rgba(255,235,180,0.50);
  font-weight: 500;
}

/* ── Loss card (dark) ── */
.crm2-label-dim { color: rgba(255,255,255,0.36) !important; }
.crm2-loss-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}
.crm2-loss-eq {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.44);
  margin-bottom: 4px;
}
.crm2-loss-yr {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.27);
}

/* ── Caps active card ── */
.crm2-caps-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255,245,215,0.95);
  line-height: 1;
  margin-bottom: 6px;
}
.crm2-caps-of {
  font-size: 1rem;
  color: rgba(255,235,180,0.38);
  font-weight: 400;
}
.crm2-caps-sub {
  font-size: 0.74rem;
  color: rgba(255,235,180,0.44);
}

/* ── Panels row ── */
.crm2-panels-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
.crm2-panel {
  border-radius: 14px;
  padding: 16px 18px;
}
.crm2-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.crm2-panel-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255,245,215,0.88);
}
.crm2-title-white { color: rgba(255,245,215,0.88) !important; }
.crm2-badge-gray {
  background: rgba(255,220,130,0.14);
  color: rgba(255,225,150,0.65);
  border-radius: 5px;
  padding: 2px 9px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.crm2-badge-dim {
  background: rgba(255,255,255,0.07);
  color: rgba(255,235,185,0.36);
  border-radius: 5px;
  padding: 2px 9px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ── Layer list ── */
.crm2-layers-list { display: flex; flex-direction: column; }
.crm2-layer-row {
  display: grid;
  grid-template-columns: 18px 1fr 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,220,140,0.08);
  font-size: 0.77rem;
}
.crm2-layer-row:last-child { border-bottom: none; }
.crm2-layer-n {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255,220,130,0.32);
  text-align: center;
}
.crm2-layer-name { font-weight: 500; color: rgba(255,245,215,0.88); }
.crm2-layer-desc { color: rgba(255,235,185,0.42); font-size: 0.72rem; }
.crm2-badge-falta {
  background: rgba(229,53,53,0.11);
  color: #e53535;
  border: 1px solid rgba(229,53,53,0.20);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
}
.crm2-badge-parcial {
  background: rgba(217,119,6,0.11);
  color: #d97706;
  border: 1px solid rgba(217,119,6,0.20);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Plan rows (dark card) ── */
.crm2-plan-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.crm2-plan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  transition: background 0.12s;
}
.crm2-plan-row:hover { background: rgba(255,255,255,0.08); }
.crm2-plan-sem {
  font-size: 0.63rem;
  font-weight: 700;
  color: rgba(255,255,255,0.26);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 34px;
}
.crm2-plan-text {
  flex: 1;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.70);
}
.crm2-plan-arrow {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.crm2-access-section {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 12px;
}
.crm2-access-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.20);
  margin-bottom: 5px;
}
.crm2-access-text {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.40);
}

/* ── CRM2 Overview ── */
.crm2-ov-header { margin-bottom: 20px; }
.crm2-ov-label {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,220,130,0.52);
  margin-bottom: 6px;
}
.crm2-ov-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: rgba(255,248,225,0.96);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.crm2-ov-sub { font-size: 0.78rem; color: rgba(255,235,185,0.44); }
.crm2-ov-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.crm2-prop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}
.crm2-prop-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,245,215,0.92);
  margin-bottom: 4px;
}
.crm2-prop-desc { font-size: 0.76rem; color: rgba(255,235,185,0.48); margin-bottom: 6px; }
.crm2-prop-meta { font-size: 0.72rem; color: rgba(255,220,140,0.40); }
.crm2-prop-meta strong { color: rgba(255,235,180,0.72); }
.crm2-prop-open-btn {
  flex-shrink: 0;
  background: rgba(255,220,130,0.16);
  color: rgba(255,245,215,0.90);
  border: 1px solid rgba(255,210,110,0.28);
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
  backdrop-filter: blur(8px);
}
.crm2-prop-open-btn:hover { background: rgba(255,220,130,0.26); border-color: rgba(255,210,110,0.45); }
.crm2-timeline { display: flex; flex-direction: column; gap: 0; margin-top: 10px; }
.crm2-tl-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.80rem;
  color: rgba(255,235,185,0.50);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,220,140,0.08);
}
.crm2-tl-item:last-child { border-bottom: none; }
.crm2-tl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255,235,185,0.20);
}
.crm2-tl-done { color: rgba(255,235,185,0.28); text-decoration: line-through; text-decoration-color: rgba(255,220,140,0.18); }
.crm2-tl-done .crm2-tl-dot { background: rgba(80,200,120,0.55); }
.crm2-tl-active { color: rgba(255,245,215,0.95); font-weight: 600; }
.crm2-tl-active .crm2-tl-dot { background: #e8a030; box-shadow: 0 0 7px rgba(232,160,48,0.60); }
.crm2-tl-pending { color: rgba(255,235,185,0.22); }

/* ── Content Hub ── */
.ch-wrap { display: flex; flex-direction: column; gap: 12px; }

.ch-schedule-card { padding: 20px 22px; border-radius: 14px; }
.ch-schedule-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.ch-schedule-title {
  font-size: 1.0rem;
  font-weight: 600;
  color: rgba(255,245,215,0.92);
  margin-bottom: 3px;
}
.ch-schedule-sub { font-size: 0.75rem; color: rgba(255,235,185,0.45); }
.ch-week-badge {
  background: rgba(50,180,90,0.12);
  color: rgba(30,140,60,0.90);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.ch-schedule-rows { display: flex; flex-direction: column; gap: 0; }
.ch-schedule-row {
  display: grid;
  grid-template-columns: 80px 160px 1fr 70px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(255,220,140,0.08);
  gap: 12px;
}
.ch-day { font-size: 0.74rem; color: rgba(255,220,140,0.46); font-weight: 500; }
.ch-type { font-size: 0.82rem; font-weight: 600; color: rgba(255,245,215,0.90); }
.ch-hook { font-size: 0.78rem; color: rgba(255,235,185,0.50); font-style: italic; }
.ch-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 5px;
  text-align: center;
  justify-self: end;
}
.ch-tag-postop { background: rgba(200,150,255,0.14); color: rgba(200,150,255,0.80); }
.ch-tag-info { background: rgba(100,180,255,0.12); color: rgba(120,190,255,0.80); }
.ch-tag-precio { background: rgba(255,200,80,0.14); color: rgba(255,195,70,0.90); }
.ch-tag-none { color: rgba(255,235,185,0.26); }

.ch-workflow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
}
.ch-step-card {
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ch-step-label {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,220,130,0.48);
}
.ch-step-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ch-step-label-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,245,215,0.90);
}
.ch-badge-pending {
  background: rgba(255,185,60,0.16);
  color: rgba(255,200,90,0.90);
  border-radius: 20px;
  padding: 3px 9px;
  font-size: 0.62rem;
  font-weight: 600;
}
.ch-upload-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed rgba(255,220,140,0.20);
  border-radius: 10px;
  padding: 22px 12px;
  text-align: center;
}
.ch-upload-title { font-size: 0.82rem; font-weight: 600; color: rgba(255,245,215,0.86); }
.ch-upload-sub { font-size: 0.72rem; color: rgba(255,235,185,0.42); }
.ch-upload-btn {
  background: transparent;
  border: 1px solid rgba(255,220,140,0.22);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,235,185,0.62);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  width: 100%;
}
.ch-upload-btn:hover { border-color: rgba(255,220,140,0.40); color: rgba(255,245,215,0.90); }
.ch-review-info { font-size: 0.76rem; color: rgba(255,235,185,0.46); }
.ch-preview-thumb {
  position: relative;
  background: rgba(0,0,0,0.08);
  border-radius: 10px;
  height: 110px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 8px;
  overflow: hidden;
}
.ch-preview-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 38px; height: 38px;
  background: rgba(0,0,0,0.48);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ch-preview-label {
  background: rgba(230,140,40,0.85);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 0.60rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}
.ch-review-title { font-size: 0.82rem; font-weight: 600; color: rgba(255,245,215,0.90); }
.ch-review-credit { font-size: 0.72rem; color: rgba(255,235,185,0.42); }
.ch-review-actions { display: flex; gap: 6px; }
.ch-btn-approve {
  flex: 1;
  background: rgba(255,220,130,0.18);
  color: rgba(255,245,215,0.92);
  border: 1px solid rgba(255,210,110,0.28);
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.ch-btn-approve:hover { background: rgba(255,220,130,0.28); }
.ch-btn-changes {
  background: rgba(255,235,185,0.08);
  color: rgba(255,235,185,0.55);
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.ch-btn-changes:hover { background: rgba(255,235,185,0.14); }

/* Published col — dark glass */
.ch-published-card {
  background: rgba(10,8,4,0.68) !important;
  border: 1px solid rgba(255,220,120,0.10) !important;
  color: rgba(255,245,215,0.90);
}
.ch-pub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ch-pub-title { font-size: 0.88rem; font-weight: 600; color: #fff; }
.ch-historial-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.15s;
}
.ch-historial-btn:hover { background: rgba(255,255,255,0.14); }
.ch-pub-sub { font-size: 0.72rem; color: rgba(255,255,255,0.36); margin-top: -4px; }
.ch-pub-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ch-pub-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-pub-thumb {
  width: 42px; height: 42px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.ch-pub-info { flex: 1; min-width: 0; }
.ch-pub-name {
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ch-pub-meta { font-size: 0.68rem; color: rgba(255,255,255,0.32); margin-top: 1px; }
.ch-live-badge {
  background: rgba(50,200,100,0.18);
  color: rgba(60,210,110,0.90);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ── Reportes ── */
.rep-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.rep-metric {
  border-radius: 14px;
  padding: 18px 20px;
}
.rep-metric-label {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,220,130,0.50);
  margin-bottom: 8px;
}
.rep-metric-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(255,248,225,0.95);
  line-height: 1;
  margin-bottom: 6px;
}
.rep-google-num { color: #e8a030; }
.rep-denom { font-size: 1rem; color: rgba(255,235,180,0.36); font-weight: 400; }
.rep-metric-delta { font-size: 0.76rem; font-weight: 500; }
.rep-delta-up { color: rgba(90,220,130,0.85); }
.rep-metric-sub { font-size: 0.74rem; color: rgba(255,235,185,0.42); }

.rep-main-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rep-activity { border-radius: 14px; padding: 20px; }
.rep-dms { border-radius: 14px; padding: 20px; }
.rep-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.rep-card-title { font-size: 0.90rem; font-weight: 600; color: rgba(255,245,215,0.90); }
.rep-badge-week {
  background: rgba(255,220,130,0.12);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,220,130,0.60);
}
.rep-badge-auto {
  background: rgba(255,255,255,0.10);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255,255,255,0.50);
}
.rep-activity-list { display: flex; flex-direction: column; gap: 0; }
.rep-activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,220,140,0.08);
}
.rep-activity-item:last-child { border-bottom: none; }
.rep-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.rep-dot-red { background: rgba(255,100,100,0.80); }
.rep-dot-green { background: rgba(80,220,130,0.80); }
.rep-dot-amber { background: rgba(255,185,60,0.80); }
.rep-activity-text { flex: 1; font-size: 0.78rem; color: rgba(255,235,185,0.60); line-height: 1.4; }
.rep-activity-time { font-size: 0.70rem; color: rgba(255,220,140,0.34); white-space: nowrap; flex-shrink: 0; }

.rep-dm-list { display: flex; flex-direction: column; gap: 0; }
.rep-dm-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rep-dm-item:last-child { border-bottom: none; }
.rep-dm-handle { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.82); margin-bottom: 2px; }
.rep-dm-keyword { font-size: 0.70rem; color: rgba(255,255,255,0.32); }
.rep-status {
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.65rem;
  font-weight: 600;
  flex-shrink: 0;
}
.rep-status-nuevo { background: rgba(220,100,40,0.20); color: rgba(220,130,60,0.95); }
.rep-status-cal { background: rgba(50,180,90,0.18); color: rgba(40,170,80,0.90); }
.rep-status-resp { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.36); }

/* ── Reputacion ── */
.repu-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.repu-card { border-radius: 14px; padding: 20px 22px; }
.repu-card-label {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,220,130,0.50);
  margin-bottom: 10px;
}
.repu-score-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.repu-score-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #e8a030;
  line-height: 1;
}
.repu-score-dash { color: rgba(255,235,185,0.26); font-size: 1.8rem; }
.repu-score-denom { font-size: 1rem; color: rgba(255,235,180,0.36); }
.repu-badge-count {
  background: rgba(255,200,70,0.16);
  color: rgba(255,210,100,0.90);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.68rem;
  font-weight: 600;
  align-self: center;
  margin-left: 6px;
}
.repu-badge-sin {
  background: rgba(255,80,80,0.14);
  color: rgba(255,120,120,0.90);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.68rem;
  font-weight: 600;
  align-self: center;
  margin-left: 6px;
}
.repu-goal { font-size: 0.76rem; color: rgba(255,235,185,0.46); margin-bottom: 8px; }
.repu-progress-track {
  height: 5px;
  background: rgba(255,235,185,0.10);
  border-radius: 3px;
  margin-bottom: 5px;
  position: relative;
}
.repu-progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  background: rgba(80,220,130,0.70);
  border-radius: 3px;
}
.repu-progress-labs {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255,235,185,0.36);
}
.repu-pct { font-weight: 600; color: rgba(80,220,130,0.85); }
.repu-incomplete {
  font-size: 0.80rem;
  font-weight: 600;
  color: rgba(255,120,120,0.80);
  margin-bottom: 10px;
}
.repu-todo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.repu-todo-list li {
  font-size: 0.76rem;
  color: rgba(255,235,185,0.52);
  padding-left: 10px;
  position: relative;
}
.repu-todo-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(255,220,140,0.36);
}
.repu-sistema-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.repu-badge-pend {
  background: rgba(220,60,60,0.14);
  color: rgba(220,80,80,0.90);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.65rem;
  font-weight: 600;
  flex-shrink: 0;
}
.repu-sistema-desc {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.46);
  margin-bottom: 14px;
  line-height: 1.5;
}
.repu-flujo-box {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 14px;
}
.repu-flujo-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 8px;
}
.repu-flujo-steps { display: flex; flex-direction: column; gap: 5px; }
.repu-flujo-step { font-size: 0.76rem; color: rgba(255,255,255,0.52); }
.repu-reviews {
  border-radius: 14px;
  padding: 20px 22px;
}
.repu-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.repu-reviews-title { font-size: 0.90rem; font-weight: 600; color: rgba(255,245,215,0.90); }
.repu-badge-avg {
  background: rgba(80,220,130,0.14);
  color: rgba(80,220,130,0.88);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 600;
}
.repu-review-list { display: flex; flex-direction: column; gap: 0; }
.repu-review-item {
  display: grid;
  grid-template-columns: auto 140px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,220,140,0.08);
}
.repu-review-item:last-child { border-bottom: none; }
.repu-stars { color: #e8a820; font-size: 0.80rem; letter-spacing: 1px; }
.repu-reviewer { font-size: 0.82rem; font-weight: 600; color: rgba(255,245,215,0.88); }
.repu-review-text { font-size: 0.76rem; color: rgba(255,235,185,0.48); text-align: right; }

/* ═══════════════════════════════════════════════
   ADMIN NAV EXTRAS
   ═══════════════════════════════════════════════ */
.adm-nav-separator {
  width: 1px; height: 20px;
  background: rgba(0,0,0,0.10);
  margin: 0 4px;
  flex-shrink: 0;
}
.adm-nav-highlight {
  background: rgba(0,0,0,0.05) !important;
  border: 1px solid rgba(0,0,0,0.09) !important;
  border-radius: 8px !important;
}
.adm-nav-highlight.active {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

/* ═══════════════════════════════════════════════
   MODULE 1 — CLIENT RECORDS
   ═══════════════════════════════════════════════ */
.adm-cr-wrap {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.adm-cr-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.adm-cr-client-badge {
  width: 46px; height: 46px;
  background: #111;
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; font-weight: 700;
  flex-shrink: 0;
}
.adm-cr-client-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}
.adm-cr-client-meta {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.44);
  margin-top: 2px;
}
.adm-section-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.32);
  margin-bottom: 10px;
}

/* Documents grid */
.adm-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.adm-doc-card {
  padding: 18px 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adm-doc-icon { color: rgba(0,0,0,0.30); flex-shrink: 0; }
.adm-doc-info { display: flex; flex-direction: column; gap: 4px; }
.adm-doc-title { font-size: 0.88rem; font-weight: 600; color: #111; }
.adm-doc-status {
  font-size: 0.68rem; font-weight: 600;
  padding: 2px 9px; border-radius: 5px;
  display: inline-flex; align-self: flex-start;
}
.adm-status-pending { background: rgba(220,150,40,0.12); color: rgba(180,110,20,0.90); }
.adm-status-done    { background: rgba(50,180,90,0.12); color: rgba(30,150,60,0.90); }
.adm-status-warn    { background: rgba(50,130,220,0.12); color: rgba(30,100,200,0.90); }
.adm-doc-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.adm-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 7px;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0,0,0,0.55);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.adm-upload-btn:hover { background: rgba(0,0,0,0.09); }
.adm-link-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 7px;
  font-size: 0.75rem;
  color: #111;
  background: rgba(0,0,0,0.03);
  box-sizing: border-box;
  font-family: inherit;
}
.adm-link-input:focus { outline: none; border-color: rgba(0,0,0,0.28); }
.adm-doc-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.adm-doc-date { font-size: 0.68rem; color: rgba(0,0,0,0.36); white-space: nowrap; }
.adm-status-select {
  font-size: 0.72rem;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.60);
  cursor: pointer;
  font-family: inherit;
}

/* Metrics table */
.adm-metrics-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
}
.adm-metrics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.adm-metrics-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.36);
  background: rgba(0,0,0,0.025);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.adm-metrics-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.055);
}
.adm-metrics-table tbody tr:last-child { border-bottom: none; }
.adm-metric-label {
  padding: 10px 16px;
  font-weight: 500;
  color: #111;
  white-space: nowrap;
}
.adm-metric-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.82rem;
  font-family: inherit;
  background: transparent;
  color: #111;
  text-align: center;
  box-sizing: border-box;
}
.adm-metric-input:focus {
  outline: none;
  border-color: rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.03);
}
.adm-save-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.adm-save-btn:hover { opacity: 0.80; }
#cr-save-metrics { margin: 12px 16px; }

/* Timeline */
.adm-timeline-wrap { border-radius: 14px; padding: 16px 20px; }
.adm-tl-list { display: flex; flex-direction: column; }
.adm-tl-row {
  display: grid;
  grid-template-columns: 70px 32px 1fr;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}
.adm-tl-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0,0,0,0.40);
  padding-top: 12px;
  text-align: right;
  padding-right: 14px;
}
.adm-tl-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.adm-tl-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 13px;
  z-index: 1;
}
.adm-tl-dot-done    { background: rgba(50,200,100,0.80); box-shadow: 0 0 6px rgba(50,200,100,0.40); }
.adm-tl-dot-pending { background: rgba(0,0,0,0.16); }
.adm-tl-dot-blocked { background: rgba(220,60,60,0.80); box-shadow: 0 0 6px rgba(220,60,60,0.40); }
.adm-tl-line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: rgba(0,0,0,0.07);
  margin-top: 2px;
}
.adm-tl-row:last-child .adm-tl-line { display: none; }
.adm-tl-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0 9px 14px;
}
.adm-tl-desc { font-size: 0.83rem; font-weight: 500; color: #111; }
.adm-tl-select {
  font-size: 0.72rem;
  padding: 4px 8px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.60);
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   MODULE 2 — ADMIN CONTENT HUB
   ═══════════════════════════════════════════════ */
.adm-ch-wrap {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.adm-api-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: rgba(0,0,0,0.50);
  border: 1px solid rgba(0,0,0,0.08);
}
.adm-api-bar.adm-api-set {
  background: rgba(50,200,100,0.06);
  border-color: rgba(50,200,100,0.20);
  color: rgba(30,150,60,0.80);
}
.adm-api-key-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  font-size: 0.78rem;
  font-family: monospace;
  background: rgba(0,0,0,0.03);
  color: #111;
}
.adm-api-key-input:focus { outline: none; border-color: rgba(0,0,0,0.28); }
.adm-api-key-btn {
  background: rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.adm-api-key-btn:hover { background: rgba(0,0,0,0.12); }

/* Tabs */
.adm-ch-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding-bottom: 0;
}
.adm-ch-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(0,0,0,0.40);
  cursor: pointer;
  font-family: inherit;
  margin-bottom: -1px;
  transition: color 0.13s, border-color 0.13s;
}
.adm-ch-tab:hover { color: rgba(0,0,0,0.68); }
.adm-ch-tab-active { color: #111 !important; font-weight: 600; border-bottom-color: #111; }

/* Brief table */
.adm-ch-brief-card { border-radius: 14px; padding: 20px; }
.adm-ch-brief-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.adm-ch-brief-title { font-size: 0.92rem; font-weight: 600; color: #111; }
.adm-brief-table-wrap { overflow-x: auto; }
.adm-brief-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}
.adm-brief-table thead th {
  padding: 9px 10px;
  text-align: left;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.34);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  white-space: nowrap;
}
.adm-brief-table tbody tr { border-bottom: 1px solid rgba(0,0,0,0.05); }
.adm-brief-table tbody tr:last-child { border-bottom: none; }
.adm-brief-day {
  padding: 8px 10px;
  font-weight: 600;
  color: rgba(0,0,0,0.52);
  white-space: nowrap;
}
.adm-brief-cell {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid transparent;
  font-size: 0.78rem;
  font-family: inherit;
  background: transparent;
  color: #111;
  box-sizing: border-box;
  resize: none;
}
.adm-brief-cell:focus { outline: none; border-bottom-color: rgba(0,0,0,0.20); background: rgba(0,0,0,0.025); }
.adm-brief-textarea { min-height: 58px; }

/* Posts grid */
.adm-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  align-items: start;
}
.adm-post-card {
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.adm-post-upload-area {
  display: block;
  position: relative;
  height: 180px;
  background: rgba(0,0,0,0.04);
  cursor: pointer;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.adm-post-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.32);
}
.adm-post-preview {
  width: 100%; height: 100%; object-fit: cover;
}
.adm-post-ai-section {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.adm-post-ai-label {
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.34);
  margin-bottom: 6px;
}
.adm-post-ai-output {
  font-size: 0.76rem;
  color: rgba(0,0,0,0.60);
  line-height: 1.5;
}
.adm-post-ai-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: rgba(0,0,0,0.46);
}
.adm-ai-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(0,0,0,0.12);
  border-top-color: #111;
  border-radius: 50%;
  animation: adm-spin 0.8s linear infinite;
  flex-shrink: 0;
}
@keyframes adm-spin { to { transform: rotate(360deg); } }
.adm-post-decision-row {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
}
.adm-post-decision {
  padding: 6px 8px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 7px;
  font-size: 0.75rem;
  font-family: inherit;
  background: rgba(0,0,0,0.03);
  color: #111;
  cursor: pointer;
  flex-shrink: 0;
}
.adm-post-action-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 7px;
  font-size: 0.75rem;
  font-family: inherit;
  background: rgba(0,0,0,0.03);
  color: #111;
}
.adm-post-action-input:focus { outline: none; border-color: rgba(0,0,0,0.24); }
.adm-add-post-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed rgba(0,0,0,0.12);
  border-radius: 14px;
  padding: 40px 20px;
  background: none;
  font-size: 0.82rem;
  font-family: inherit;
  color: rgba(0,0,0,0.38);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.adm-add-post-btn:hover { border-color: rgba(0,0,0,0.28); color: rgba(0,0,0,0.60); }

/* Reels list */
.adm-reels-card { border-radius: 14px; padding: 20px; }
.adm-reels-list { display: flex; flex-direction: column; gap: 8px; }
.adm-reel-row {
  display: grid;
  grid-template-columns: 28px 1fr 180px auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(0,0,0,0.025);
  border-radius: 9px;
  border: 1px solid rgba(0,0,0,0.06);
}
.adm-reel-n {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(0,0,0,0.28);
  text-align: center;
}
.adm-reel-title-input {
  font-size: 0.82rem;
  font-family: inherit;
  border: none;
  background: transparent;
  color: #111;
  font-weight: 500;
  width: 100%;
}
.adm-reel-title-input:focus { outline: none; }
.adm-reel-status {
  font-size: 0.74rem;
  padding: 5px 8px;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 7px;
  background: rgba(0,0,0,0.03);
  color: rgba(0,0,0,0.60);
  cursor: pointer;
  font-family: inherit;
}
.adm-reel-upload {
  padding: 5px 10px;
  font-size: 0.72rem;
}
.adm-reel-approve {
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.15s;
}
.adm-reel-approve:hover { background: rgba(50,200,100,0.12); }

/* ── LEIB Landing Page ── */
.leib-landing {
  background: #f5f4f1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.leib-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  background: #f5f4f1;
  position: sticky;
  top: 0;
  z-index: 100;
}
.leib-nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}
.leib-nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
}
.leib-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.leib-nav-link {
  font-size: 0.84rem;
  color: rgba(0,0,0,0.52);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.leib-nav-link:hover { color: #111; }
.leib-cta-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
}
.leib-cta-btn:hover { opacity: 0.78; }

.leib-hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 48px 80px;
  text-align: center;
}
.leib-hero-inner { max-width: 680px; }
.leib-hero-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.28);
  margin-bottom: 28px;
}
.leib-hero-h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.leib-hero-sub {
  font-size: 1.05rem;
  color: rgba(0,0,0,0.55);
  margin-bottom: 12px;
  font-weight: 400;
}
.leib-hero-support {
  font-size: 0.84rem;
  color: rgba(0,0,0,0.38);
  margin-bottom: 36px;
}
.leib-cta-hero {
  padding: 12px 28px;
  font-size: 0.88rem;
}

.leib-section {
  padding: 72px 48px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.leib-section-overline {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.28);
  margin-bottom: 16px;
}
.leib-section-h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.leib-section-h2 span { color: rgba(0,0,0,0.45); }
.leib-section-body {
  font-size: 0.96rem;
  color: rgba(0,0,0,0.45);
  margin-top: 8px;
}
.leib-section-shift { background: #fff; }

.leib-flow-section { background: #f5f4f1; }
.leib-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 32px;
  flex-wrap: wrap;
}
.leib-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  min-width: 120px;
}
.leib-flow-step-accent {
  background: #111;
  border-color: #111;
  color: #fff;
}
.leib-flow-step-accent .leib-flow-icon { color: rgba(255,255,255,0.80); }
.leib-flow-step span { font-size: 0.78rem; font-weight: 600; color: rgba(0,0,0,0.62); }
.leib-flow-step-accent span { color: rgba(255,255,255,0.88); }
.leib-flow-icon { color: rgba(0,0,0,0.38); }
.leib-flow-arrow {
  font-size: 1.2rem;
  color: rgba(0,0,0,0.20);
  padding: 0 8px;
}

.leib-features-section { background: #fff; }
.leib-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 8px;
}
.leib-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(0,0,0,0.62);
}
.leib-feature-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
}
.leib-feature-dot-accent { background: #111; }

.leib-final-cta {
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: #f5f4f1;
}
.leib-final-line {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.leib-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(0,0,0,0.07);
  font-size: 0.72rem;
  color: rgba(0,0,0,0.28);
}
