/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.23_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.23_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!../../packages/ui/styles.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --background: #f5f6f5;
  --foreground: #231f20;
  --card: #ffffff;
  --muted-foreground: #6b736e;
  --border: #e2e6e3;
  --primary: #73a95d;
  --primary-foreground: #ffffff;
  --success: #4f7d42;
  --destructive: #b42318;
  --warning: #9a6b12;
  --stage: #231f20;
  --sidebar-accent: #eef3eb;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 1px 0 rgba(35, 31, 32, 0.06);
  --shadow-lift: 0 12px 32px rgba(35, 31, 32, 0.1);
  --shell-max: 1180px;
  --shell-wide-max: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--foreground);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }

.font-body { font-family: Manrope, system-ui, sans-serif; }
.font-display { font-family: Syne, system-ui, sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.tabular-nums { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

.shell, .shell-wide, .page {
  width: min(100% - 2rem, var(--shell-wide-max));
  margin-inline: auto;
}
.page { padding: 1.25rem 0 4rem; }
.muted { color: var(--muted-foreground); }
.positive { color: var(--success); }
.negative { color: var(--destructive); }
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.state-msg.error {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: #fdecec;
  color: var(--destructive);
}
.pulse-soft { animation: pulse-soft 1.8s ease-in-out infinite; }
@keyframes pulse-soft {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-sm { min-height: 36px; padding: 0.35rem 0.75rem; font-size: 13px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}
.btn-ghost:hover { background: #eef1ee; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.capital-desk { display: grid; grid-gap: 1.5rem; gap: 1.5rem; }
.capital-stage {
  display: grid;
  grid-gap: 1.25rem;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: linear-gradient(145deg, #231f20 0%, #2f3a2c 55%, #3d5a34 100%);
  color: #f3f6f4;
  box-shadow: var(--shadow-lift);
}
@media (min-width: 900px) {
  .capital-stage { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
}
.capital-stage-copy h1 { margin: 0; font-family: Syne, sans-serif; }
.capital-equity {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.capital-sub { margin: 0.35rem 0 0; color: #b7c0b8; }
.capital-meter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-top: 1.1rem;
}
@media (min-width: 640px) {
  .capital-meter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.capital-meter em {
  display: block;
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9aa39c;
}
.capital-meter strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.05rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.tone-up { color: #9fd389; }
.tone-warn { color: #e2c15a; }
.tone-down { color: #e08a7a; }
.capital-stage-chart {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem;
}
.capital-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 13px;
  color: #c5cdc6;
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #73a95d;
  box-shadow: 0 0 0 0 rgba(115, 169, 93, 0.7);
  animation: live 2s ease-in-out infinite;
}
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(115, 169, 93, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(115, 169, 93, 0); }
  100% { box-shadow: 0 0 0 0 rgba(115, 169, 93, 0); }
}

.desk-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-card);
}
.desk-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.desk-section-head h2 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.2rem;
}
.desk-section-head a { color: var(--primary); font-weight: 600; font-size: 14px; }

.allocation-rail {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .allocation-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.allocation-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  background: #fbfcfb;
}
.allocation-tile-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}
.allocation-tile-top strong { display: block; }
.cell-sub { display: block; color: var(--muted-foreground); font-size: 12px; margin-top: 2px; }
.allocation-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
  margin: 0.85rem 0;
}
.allocation-metrics em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.allocation-metrics strong {
  font-size: 0.95rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #e8ebe6;
}
.status-active { background: #d8edd0; color: #1f4d12; }
.status-paused { background: #f5e6c8; color: #6a4b00; }
.status-close_only, .status-terminated { background: #f5d0d0; color: #7a1010; }

.risk-lab-grid {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .risk-lab-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.risk-lab-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  background: #fbfcfb;
}
.risk-lab-tile em {
  display: block;
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}
.risk-lab-tile strong {
  display: block;
  margin: 0.35rem 0;
  font-family: Syne, sans-serif;
  font-size: 1.05rem;
}
.risk-lab-tile p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

/* Minimal Tailwind-like utilities used across pages */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.flex-1 { flex: 1 1; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.max-w-xl { max-width: 36rem; }
.max-w-shell-wide { max-width: var(--shell-wide-max); }
.mx-auto { margin-inline: auto; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.px-4 { padding-inline: 1rem; }
.py-4 { padding-block: 1rem; }
.p-4 { padding: 1rem; }
.rounded-lg { border-radius: var(--radius-md); }
.rounded-xl { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 999px; }
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.bg-background { background: var(--background); }
.bg-card { background: var(--card); }
.bg-muted { background: #eef1ee; }
.bg-primary { background: var(--primary); }
.text-primary { color: var(--primary); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.text-destructive { color: var(--destructive); }
.text-success { color: var(--success); }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-xs { font-size: 0.75rem; }
.text-\[10px\] { font-size: 10px; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-relaxed { line-height: 1.65; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-muted:hover { background: #eef1ee; }
.size-4 { width: 1rem; height: 1rem; }
.h-2 { height: 0.5rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-40 { height: 10rem; }
.h-64 { height: 16rem; }
.w-24 { width: 6rem; }
.shrink-0 { flex-shrink: 0; }
.overflow-hidden { overflow: hidden; }
.fixed { position: fixed; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-40 { z-index: 40; }
.bg-background\/95 { background: rgba(245, 246, 245, 0.95); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (min-width: 640px) {
  .sm\:px-6 { padding-inline: 1.5rem; }
  .sm\:py-6 { padding-block: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
  .sm\:inline-flex { display: inline-flex; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .md\:hidden { display: none; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Fintech shell overrides when using CSS classes on body chrome */
.mesh-shell-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
}
.mesh-shell-brand { font-family: Syne, sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.mesh-shell-nav { display: flex; flex-wrap: wrap; gap: 0.85rem; flex: 1 1; }
.mesh-shell-nav a { font-size: 14px; color: var(--foreground); }
.mesh-shell-nav a:hover { color: var(--primary); }

