/* ============================================================
   Feasy Pro Landing — Components
   Nav, buttons, cards, mockups, FAQ, footer
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   Header / navigation
   ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
}

.site-header.is-scrolled {
  background: rgba(22, 18, 15, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(246, 241, 232, 0.08), 0 12px 32px -16px rgba(0, 0, 0, 0.45);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 11px;
  color: var(--text-on-dark);
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.brand-logo--sidebar {
  height: 26px;
}

/* Legacy letter mark — still used in small UI chrome (deck mock, etc.) */
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  box-shadow: 0 4px 14px -2px rgba(10, 132, 134, 0.55);
  color: var(--peach);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--peach);
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-links a {
  padding: 7px 9px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-on-dark);
  background: rgba(246, 241, 232, 0.08);
}

.nav-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
}

.nav-login {
  padding: 7px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-on-dark-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-login:hover {
  color: var(--text-on-dark);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-on-dark);
  border-radius: 12px;
  background: rgba(246, 241, 232, 0.06);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-on-dark);
  transition: background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-on-dark);
  transition: transform 0.3s var(--ease-out);
}

.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: rotate(-45deg);
}

/* The mobile drawer lives in css/megamenu.css alongside the rest of the nav. */

/* Collapse earlier — 9 links wrap on mid-width desktops */
@media (max-width: 1180px) {
  .nav-links,
  .nav-login {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-actions .btn {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .nav-links a {
    padding: 6px 7px;
    font-size: 12.5px;
  }
}

/* ────────────────────────────────────────────────────────────
   Buttons
   ──────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 15px;
}

.btn--lg {
  padding: 18px 34px;
  font-size: 17px;
}

.btn--primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    var(--shadow-glow-teal);
}

.btn--primary:hover {
  background: var(--grad-brand-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 14px 48px -6px rgba(10, 132, 134, 0.6);
}

.btn--peach {
  color: #52382f;
  background: var(--grad-sunrise);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-glow-peach);
}

.btn--peach:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 14px 48px -6px rgba(255, 204, 188, 0.5);
}

.btn--ghost-dark {
  color: var(--text-on-dark);
  background: rgba(246, 241, 232, 0.07);
  border: 1px solid rgba(246, 241, 232, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost-dark:hover {
  background: rgba(246, 241, 232, 0.13);
  transform: translateY(-2px);
}

.btn--ghost-light {
  color: var(--teal);
  background: transparent;
  border: 1.5px solid rgba(0, 91, 92, 0.35);
}

.btn--ghost-light:hover {
  border-color: var(--teal);
  background: rgba(0, 91, 92, 0.05);
  transform: translateY(-2px);
}

.btn .btn-arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ────────────────────────────────────────────────────────────
   Glass card (dark contexts)
   ──────────────────────────────────────────────────────────── */
.glass {
  background: linear-gradient(150deg, rgba(246, 241, 232, 0.1), rgba(246, 241, 232, 0.04));
  border: 1px solid rgba(246, 241, 232, 0.14);
  border-radius: var(--r-lg);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 48px -20px rgba(0, 0, 0, 0.55);
}

/* ────────────────────────────────────────────────────────────
   Feature cards
   ──────────────────────────────────────────────────────────── */
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 28px 32px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

/* Gradient border reveal on hover */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(10, 132, 134, 0.65), rgba(255, 204, 188, 0.75));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 188, 0.35), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before,
.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.35s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon--teal { background: var(--grad-brand); }
.feature-icon--ember { background: var(--grad-ember); }
.feature-icon--peach { background: var(--grad-sunrise); color: #52382f; }
.feature-icon--sage { background: linear-gradient(135deg, #7a8570, #5a6350); }

.feature-card h3 {
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--text-soft);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}

.feature-tags span {
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--linen-tint);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
}

/* ────────────────────────────────────────────────────────────
   Chips / badges
   ──────────────────────────────────────────────────────────── */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(246, 241, 232, 0.16);
  background: rgba(246, 241, 232, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-on-dark-soft);
}

.pill-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-sunrise);
  box-shadow: 0 0 12px 2px rgba(255, 204, 188, 0.65);
}

/* ────────────────────────────────────────────────────────────
   Browser mockup frame
   ──────────────────────────────────────────────────────────── */
.browser {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--linen);
  border: 1px solid rgba(45, 41, 38, 0.14);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f6f1e8, #ede6db);
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #e8927c; }
.browser-dots span:nth-child(2) { background: #ecc37f; }
.browser-dots span:nth-child(3) { background: #97b98a; }

.browser-url {
  flex: 1;
  max-width: 380px;
  margin-inline: auto;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-url .lock {
  color: var(--teal);
  margin-right: 5px;
}

/* ────────────────────────────────────────────────────────────
   Recreated app UI — a rebuild of the real Revenue page
   (src/app/(app)/forecast/revenue/page.tsx). The frame is about
   as wide as a desktop window, so type and spacing use the
   app's own values rather than a scaled-down approximation.
   ──────────────────────────────────────────────────────────── */
.app-ui {
  /* The app's own tokens, so the mock drifts only when they do. */
  --app-border: #b5aea2;
  --app-border-soft: rgba(181, 174, 162, 0.5);
  --app-surface-low: #f3ede3;
  --app-primary-container: #e2ebe9;

  display: grid;
  grid-template-columns: 256px 1fr;
  min-height: 560px;
  font-family: var(--font-body);
  color: var(--ink);
  text-align: left;
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #2d2926;
  background-image: linear-gradient(168deg, #3a3531 0%, #2d2926 42%, #241f1c 78%, #1a1614 100%);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-ui);
}

.app-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px 12px;
}

.app-sidebar-brand .brand-logo {
  height: 26px;
  width: auto;
}

.app-company {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 12px 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.app-company-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--terracotta);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.app-company-text {
  min-width: 0;
  flex: 1;
}

.app-company-name {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-company-meta {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.app-company svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.45);
}

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
}

.app-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.app-nav-item svg {
  flex: none;
  width: 20px;
  height: 20px;
}

.app-nav-item.is-active {
  background: var(--teal);
  color: #fff;
}

.app-nav-item.is-disabled {
  color: rgba(255, 255, 255, 0.38);
}

.app-nav-badge {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.app-subnav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0 4px 16px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.app-subnav-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.app-subnav-item.is-active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.app-sidebar-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.app-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--teal-deep);
  font-size: 12px;
  font-weight: 700;
}

.app-account {
  min-width: 0;
}

.app-account-name {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.app-account-mail {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--linen);
}

/* PageHeader + ForecastTabs both sit on card white above the linen body. */
.app-page-head {
  padding: 24px 28px;
  background: #fff;
  border-bottom: 1px solid var(--app-border);
}

.app-page-head h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.app-page-head p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-soft);
}

/* All ten Financial Tables tabs, on one row — the frame is narrower than the
 * desktop window the app assumes, so the type gives up a point to fit. */
.app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 7px 28px;
  background: #fff;
  border-bottom: 1px solid var(--app-border);
}

.app-tab {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.app-tab.is-active {
  background: var(--teal);
  color: #fff;
  font-weight: 500;
}

.app-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding: 28px;
}

/* Toolbar: granularity toggle, CSV + chart buttons, add action */
.app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-ui);
}

.app-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: var(--app-surface-low);
}

.app-toggle span {
  padding: 4px 12px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.app-toggle span.is-active {
  background: #fff;
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.app-icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--app-border);
  border-radius: 9px;
  background: #fff;
  color: var(--text);
}

.app-icon-btn svg {
  width: 16px;
  height: 16px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px -4px rgba(0, 91, 92, 0.5);
}

.app-btn svg {
  width: 16px;
  height: 16px;
}

/* Totals chart card */
.app-card {
  padding: 16px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: #fff;
}

.app-card-title {
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.app-chart {
  display: block;
  width: 100%;
  height: auto;
}

/* Line-item grid: label column, forecast years, row actions */
.app-grid {
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

/*
 * Auto layout, not `fixed`: fixed would size every column from the banner
 * row, whose "Forecast →" cell spans three of them. Widths therefore live on
 * the second header row, which leaves hidden columns to collapse cleanly at
 * narrow widths.
 */
.app-grid table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.app-grid .g-banner th {
  padding: 6px 16px;
  background: rgba(0, 91, 92, 0.1);
  border-bottom: 1px solid var(--app-border);
}

.app-grid .g-forecast {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  text-align: center;
}

.app-grid .g-head th {
  padding: 8px 16px;
  background: var(--app-surface-low);
  border-bottom: 1px solid var(--app-border);
}

.app-grid .g-label {
  width: 28%;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.app-grid .g-year {
  width: 19.7%;
}

.app-grid .g-actions {
  width: 12.9%;
}

.app-grid .g-year,
.app-grid .g-actions {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: right;
  white-space: nowrap;
}

.app-grid tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--app-border-soft);
  vertical-align: top;
}

.app-grid .g-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
}

.app-grid .g-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border: 1px solid var(--app-border);
  border-radius: var(--r-pill);
  background: var(--surface-mid);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.app-grid .g-val {
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.app-grid .g-acts {
  text-align: right;
  white-space: nowrap;
}

.app-grid .g-act {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: 5px;
  border-radius: 8px;
  background: var(--surface-mid);
  color: var(--text);
}

.app-grid .g-act svg {
  width: 15px;
  height: 15px;
}

.app-grid .g-total td {
  border-top: 1px solid var(--app-border);
  border-bottom: none;
  color: var(--teal);
  font-weight: 700;
}

.app-grid .g-total-label {
  background: var(--app-primary-container);
  font-family: var(--font-heading);
}

.app-grid .g-total .g-val {
  background: rgba(226, 235, 233, 0.3);
}

.app-grid .g-total .g-acts {
  background: var(--app-primary-container);
}

/* ────────────────────────────────────────────────────────────
   Business Plan mock — rebuild of /business-plan (PlanView)
   Reuses .app-sidebar from the Revenue showcase; everything
   from .plan-main inward is unique to this page.
   ──────────────────────────────────────────────────────────── */
.plan-ui {
  --app-border: #b5aea2;
  --app-surface-low: #f3ede3;

  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 580px;
  font-family: var(--font-body);
  color: var(--ink);
  text-align: left;
}

.plan-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, var(--linen-tint) 0%, var(--linen) 120px);
}

.plan-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(135deg, #005b5c 0%, #004345 48%, #2d2926 100%);
  color: #fff;
}

.plan-hero-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.plan-ring {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
}

.plan-ring svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plan-ring span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
}

.plan-hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.plan-hero-title {
  margin-top: 2px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.plan-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.plan-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.plan-hero-btn svg {
  width: 14px;
  height: 14px;
}

.plan-hero-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.plan-hero-btn--solid {
  background: #fff;
  color: var(--teal);
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.35);
}

.plan-workspace {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 0;
  flex: 1;
}

.plan-toc {
  padding: 16px 14px;
  border-right: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-ui);
}

.plan-toc-label {
  margin-bottom: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.plan-toc-label span {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
  color: var(--text-faint);
}

.plan-toc-group {
  margin-bottom: 16px;
}

.plan-toc-group--dim {
  opacity: 0.72;
}

.plan-toc-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.plan-toc-count,
.plan-toc-live {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
}

.plan-toc-live {
  color: #c4a35a;
}

.plan-toc-bar {
  height: 3px;
  margin: 7px 0 8px;
  border-radius: var(--r-pill);
  background: rgba(45, 41, 38, 0.1);
  overflow: hidden;
}

.plan-toc-bar::after {
  content: "";
  display: block;
  width: var(--fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent, var(--teal));
}

.plan-toc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
}

.plan-toc-item i {
  flex: none;
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--app-border);
  border-radius: 50%;
  background: transparent;
}

.plan-toc-item.is-ready i {
  border-color: #006d77;
  background:
    radial-gradient(circle at center, #006d77 0 42%, transparent 43%),
    #fff;
}

.plan-toc-item.is-active {
  background: rgba(0, 109, 119, 0.1);
  color: var(--ink);
  font-weight: 600;
}

.plan-toc-item--more {
  font-style: italic;
  color: var(--text-faint);
}

.plan-editor {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 20px 22px 24px;
}

.plan-card {
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border: 1px solid rgba(181, 174, 162, 0.6);
  border-top: 3px solid #006d77;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.plan-card::after {
  content: "";
  position: absolute;
  top: -32px;
  right: -32px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #006d77;
  opacity: 0.07;
  pointer-events: none;
}

.plan-card-top {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-badge {
  display: inline-flex;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: #006d77;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h4 {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.plan-ready {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(181, 174, 162, 0.6);
  border-radius: 9px;
  background: var(--app-surface-low);
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
}

.plan-ready.is-on {
  border-color: rgba(0, 91, 92, 0.3);
  background: rgba(0, 91, 92, 0.05);
  color: var(--teal);
}

.plan-switch {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: var(--r-pill);
  background: rgba(45, 41, 38, 0.2);
}

.plan-ready.is-on .plan-switch {
  background: var(--teal);
}

.plan-switch span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.plan-ready.is-on .plan-switch span {
  left: 16px;
}

.plan-tip {
  position: relative;
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid rgba(181, 174, 162, 0.5);
  border-radius: 12px;
  background: rgba(243, 237, 227, 0.8);
}

.plan-tip svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #006d77;
}

.plan-tip p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
}

.plan-rte {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.plan-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface-low);
}

.plan-toolbar > span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 7px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
}

.plan-toolbar > span.is-on {
  background: #fff;
  color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.plan-toolbar svg {
  width: 14px;
  height: 14px;
}

.plan-toolbar-sep {
  width: 1px !important;
  min-width: 1px !important;
  height: 18px !important;
  padding: 0 !important;
  background: var(--app-border);
}

.plan-prose {
  padding: 18px 20px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink);
}

.plan-prose p + p {
  margin-top: 12px;
}

/* ────────────────────────────────────────────────────────────
   Add Revenue Stream form mock — Why Feasy Pro section
   (src/components/forecast/revenue-stream-form.tsx)
   Reuses .app-sidebar, .app-page-head, .app-tabs.
   ──────────────────────────────────────────────────────────── */
.rev-form-ui {
  --app-border: #b5aea2;
  --app-surface-low: #f3ede3;

  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
  font-family: var(--font-body);
  color: var(--ink);
  text-align: left;
  background: var(--linen);
}

.rev-form-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--linen);
}

.rev-form-ui .app-page-head,
.rev-form-ui .app-tabs {
  padding-inline: 22px;
}

.rev-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px 22px;
  max-width: 720px;
}

.rev-form-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 2px;
}

.rev-form-back {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--app-surface-low);
  color: var(--ink);
}

.rev-form-back svg {
  width: 16px;
  height: 16px;
}

.rev-form-title h4 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.rev-form-title p {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.rev-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rev-field > span:first-child {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.rev-input,
.rev-select {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  color: var(--text-faint);
}

.rev-input--sm {
  min-height: 34px;
}

.rev-select {
  justify-content: space-between;
  color: var(--ink);
  font-weight: 500;
}

.rev-select::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 8px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-soft);
}

.rev-type-row,
.rev-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rev-type-row span,
.rev-mode span {
  padding: 7px 12px;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.rev-type-row span.is-on,
.rev-mode span.is-on {
  border-color: rgba(0, 91, 92, 0.35);
  background: var(--sage-light);
  color: var(--teal);
}

.rev-card {
  padding: 14px 16px 16px;
  border: 1px solid var(--app-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.rev-card-label {
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.rev-mode {
  margin-bottom: 12px;
}

.rev-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 10px;
}

.rev-field-row--2 {
  grid-template-columns: 1fr 1fr;
}

/* ────────────────────────────────────────────────────────────
   Metrics / Executive Dashboard mock
   (src/components/dashboard/executive-dashboard.tsx)
   ──────────────────────────────────────────────────────────── */
.metrics-ui {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
  font-family: var(--font-body);
  color: var(--ink);
  text-align: left;
  background: var(--linen);
}

.metrics-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--linen);
}

.metrics-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 22px;
}

.metrics-ghost-btn {
  flex: none;
  margin-top: 4px;
  padding: 8px 14px;
  border: 1px solid #b5aea2;
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.metrics-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px 20px;
}

.metrics-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 50%),
    linear-gradient(135deg, #005b5c 0%, #004345 48%, #2d2926 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.metrics-hero-kicker {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.metrics-hero h4 {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.metrics-hero > div:first-child > p:last-child {
  margin-top: 6px;
  max-width: 38ch;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.metrics-hero-stat {
  text-align: right;
}

.metrics-hero-stat span {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.metrics-hero-stat strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.metrics-hero-stat em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: #b8e6c8;
}

.metrics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.metrics-kpi {
  position: relative;
  min-height: 96px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(181, 174, 162, 0.45);
  border-radius: 14px;
  overflow: hidden;
}

.metrics-kpi svg {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  opacity: 0.45;
}

.metrics-kpi-label {
  display: block;
  padding-right: 22px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.metrics-kpi strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.metrics-kpi em {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-style: normal;
  color: var(--text-faint);
}

.metrics-kpi--sage { background: #e4efe8; }
.metrics-kpi--sand { background: #ece8e1; }
.metrics-kpi--cream { background: #f3ede3; }
.metrics-kpi--gold { background: #f3ebce; }
.metrics-kpi--teal { background: #dceceb; }
.metrics-kpi--peach { background: #f5e6df; }
.metrics-kpi--mist { background: #e8e6e3; }
.metrics-kpi--sky { background: #dde8f0; }

.metrics-insights {
  padding: 14px 16px 16px;
  border: 1px solid rgba(0, 91, 92, 0.22);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  background: rgba(0, 91, 92, 0.05);
}

.metrics-insights-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.metrics-insights-label svg {
  width: 14px;
  height: 14px;
}

.metrics-insights ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metrics-insights li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}

.metrics-insights li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* Chart cards — single tilted row */
.metrics-charts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 4px 2px;
  transform-style: preserve-3d;
}

.metrics-chart-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px 12px 10px;
  border: 1px solid rgba(45, 41, 38, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transform: translateZ(18px);
}

.metrics-chart-card:nth-child(1) {
  transform: translateZ(28px) rotateY(-3deg) translateY(6px);
}

.metrics-chart-card:nth-child(2) {
  transform: translateZ(22px) rotateY(-1deg);
}

.metrics-chart-card:nth-child(3) {
  transform: translateZ(22px) rotateY(1deg);
}

.metrics-chart-card:nth-child(4) {
  transform: translateZ(28px) rotateY(3deg) translateY(6px);
}

.metrics-chart-card header {
  margin-bottom: 6px;
}

.metrics-chart-card h4 {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.metrics-chart-card header p {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--text-faint);
}

.metrics-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 6px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-soft);
}

.metrics-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
}

.metrics-legend .lg-rev { background: #005b5c; }
.metrics-legend .lg-gp { background: #2d2926; }
.metrics-legend .lg-np {
  background: transparent;
  border-top: 2px solid #8a8378;
  height: 0;
  width: 12px;
  vertical-align: 3px;
}

.metrics-bars,
.metrics-lines,
.metrics-area {
  display: block;
  width: 100%;
  height: auto;
}

.metrics-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  min-height: 0;
}

.metrics-donut {
  flex: none;
  width: 88px;
  height: 88px;
}

.metrics-mix-legend {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  font-size: 10.5px;
  color: var(--ink);
}

.metrics-mix-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 1px;
}

.metrics-mix-legend strong {
  margin-left: 4px;
  font-weight: 700;
  color: var(--text-soft);
}

/* ────────────────────────────────────────────────────────────
   Forecast Report mock — Download & Print picker + paper pages
   (src/components/forecast/download-report-panel.tsx +
    src/app/(app)/forecast/report/page.tsx)
   ──────────────────────────────────────────────────────────── */
.report-picker {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid rgba(45, 41, 38, 0.14);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-ui);
  text-align: left;
}

.report-picker::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px -6px;
  width: 4px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
}

.report-picker-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.report-picker-kicker {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.report-picker-head h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.report-picker-head p:last-child {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}

.report-picker-block {
  margin-bottom: 16px;
}

.report-picker-label {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.report-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.report-check span {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
}

.report-check.is-on span {
  border-color: var(--teal);
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.report-detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.report-picker-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 6px 18px -8px rgba(0, 91, 92, 0.65);
}

.report-pages {
  position: relative;
  min-height: 460px;
  transform-style: preserve-3d;
}

.report-sheet {
  position: absolute;
  background: #fff;
  border: 1px solid rgba(45, 41, 38, 0.12);
  box-shadow: var(--shadow-lg);
  text-align: left;
  color: var(--ink);
  transform-style: preserve-3d;
}

.report-sheet--cover {
  top: 18px;
  left: 0;
  width: min(78%, 420px);
  padding: 28px 26px 22px;
  border-radius: 4px;
  transform: rotateY(10deg) rotateZ(-3.5deg) translateZ(-28px);
  z-index: 1;
}

.report-sheet--pnl {
  top: 0;
  right: 0;
  width: min(86%, 520px);
  padding: 22px 22px 16px;
  border-radius: 6px;
  transform: rotateY(-6deg) rotateZ(1.8deg) translateZ(24px);
  z-index: 2;
}

.rs-kicker {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.rs-title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.report-sheet--pnl .rs-title {
  font-size: 22px;
}

.rs-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.rs-rule {
  height: 1px;
  margin: 16px 0 14px;
  background: var(--line-strong);
}

.rs-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.rs-meta dt {
  font-family: var(--font-ui);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.rs-meta dd {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
}

.rs-contents-label {
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.rs-contents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-top: 8px;
  font-size: 12px;
}

.rs-contents li {
  display: flex;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(181, 174, 162, 0.45);
}

.rs-contents span {
  flex: none;
  width: 1.4em;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}

.rs-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.rs-pnl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.rs-pill {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--sage-light);
  border: 1px solid rgba(0, 91, 92, 0.18);
  color: var(--teal);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
}

.rs-chart-card {
  padding: 12px 12px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--linen);
  margin-bottom: 12px;
}

.rs-chart-label {
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

.rs-chart {
  display: block;
  width: 100%;
  height: auto;
}

.rs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.rs-table th,
.rs-table td {
  padding: 7px 8px;
  border-bottom: 1px solid rgba(181, 174, 162, 0.45);
}

.rs-table th {
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: right;
  background: var(--linen-tint);
}

.rs-table th:first-child,
.rs-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.rs-table td {
  text-align: right;
}

.rs-table .is-emph td {
  font-weight: 600;
}

.rs-table .is-total td {
  border-top: 1.5px solid var(--ink);
  border-bottom: none;
  background: rgba(226, 235, 233, 0.45);
  color: var(--teal);
  font-weight: 700;
}

.rs-page-note {
  margin-top: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: right;
}

/* ────────────────────────────────────────────────────────────
   FAQ
   ──────────────────────────────────────────────────────────── */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] {
  border-color: rgba(0, 91, 92, 0.35);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--teal);
  transition: transform 0.35s var(--ease-out), background 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(45deg);
  background: var(--grad-sunrise);
  color: #52382f;
}

.faq-body {
  padding: 0 24px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

.faq-body a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ────────────────────────────────────────────────────────────
   Placeholder marker (testimonials etc.)
   ──────────────────────────────────────────────────────────── */
.placeholder-flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px dashed rgba(230, 168, 23, 0.65);
  background: rgba(230, 168, 23, 0.1);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a6510;
}

.on-dark .placeholder-flag {
  background: rgba(230, 168, 23, 0.14);
  color: #ecc37f;
}
