@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap);

/*
 * Toast.css — Bloomberg Terminal 2.0
 * Premium notification toasts with glass-morphism.
 */

.boc-toast-container {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-2);
  pointer-events: none;
}

.boc-toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 280px;
  max-width: 420px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  pointer-events: auto;
  animation: boc-toast-in 0.25s var(--easing-decelerate);
}

@keyframes boc-toast-in {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.boc-toast--exit {
  animation: boc-toast-out 0.2s ease-in forwards;
}

@keyframes boc-toast-out {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

.boc-toast__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.boc-toast--info    .boc-toast__icon { background: var(--color-accent-primary);  color: #fff; }
.boc-toast--success .boc-toast__icon { background: var(--color-profit); color: #fff; }
.boc-toast--warning .boc-toast__icon { background: var(--color-warning); color: #000; }
.boc-toast--error   .boc-toast__icon { background: var(--color-loss);  color: #fff; }

.boc-toast__msg {
  flex: 1;
  font-size: 13px;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.boc-toast__close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 2px;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast) var(--easing-default);
}

.boc-toast__close:hover {
  color: var(--color-text-primary);
}

@media (max-width: 480px) {
  .boc-toast-container {
    left: var(--space-3);
    right: var(--space-3);
    bottom: calc(78px + env(safe-area-inset-bottom) + var(--space-3));
  }
  .boc-toast { max-width: 100%; min-width: 0; }
}

.app-shell-skeleton {
  min-height: 100vh;
  padding: 1rem;
  background: var(--color-bg-primary);
}

.app-shell-skeleton__row {
  height: 56px;
  border-radius: 14px;
  margin-bottom: 0.75rem;
}

.app-shell-skeleton__row--strong {
  background: rgba(148, 163, 184, 0.12);
}

.app-shell-skeleton__row--mid {
  background: rgba(148, 163, 184, 0.1);
}

.app-shell-skeleton__row--light {
  margin-bottom: 0;
  background: rgba(148, 163, 184, 0.08);
}


/*
 * BoCapital Design System — CSS Custom Properties
 * Bloomberg Terminal 2.0 — data-dense, trader-first, premium dark mode.
 * Auto-generated from tokens.ts — keep in sync.
 * This file is imported once in global.css.
 */

:root {
  /* ─── Backgrounds (Bloomberg-inspired near-black) ─────────────────── */
  --color-bg-base:       #090d1a;
  --color-bg-elevated:   #0f1623;
  --color-bg-surface:    #111827;
  --color-bg-hover:      #161e2e;
  --color-bg-active:     #1e293b;

  /* ─── Text (refined hierarchy) ───────────────────────────────────── */
  --color-text-primary:   #f8fafc;
  --color-text-secondary: #94a3b8;
  --color-text-muted:     #64748b;
  --color-text-inverse:   #090d1a;

  /* ─── Borders ────────────────────────────────────────────────────── */
  --color-border-default: rgba(71, 85, 105, 0.18);
  --color-border-subtle:  rgba(71, 85, 105, 0.12);
  --color-border-strong:  rgba(71, 85, 105, 0.24);
  --color-border-focus:   #3B82F6;

  /* ─── Accent (desaturated, premium) ──────────────────────────────── */
  --color-accent-primary:       #3B82F6;
  --color-accent-primary-hover: #2563EB;
  --color-accent-secondary:       #8B5CF6;
  --color-accent-secondary-hover: #7C3AED;
  --color-accent-teal:          #0ea5a1;
  --color-accent-teal-hover:    #0d9488;
  --color-accent-gold:          #d97706;

  /* ─── Semantic ───────────────────────────────────────────────────── */
  --color-profit:       #059669;
  --color-profit-muted: rgba(5, 150, 105, 0.12);
  --color-loss:         #dc2626;
  --color-loss-muted:   rgba(220, 38, 38, 0.12);
  --color-warning:       #d97706;
  --color-warning-muted: rgba(217, 119, 6, 0.12);

  /* ─── Sessions ───────────────────────────────────────────────────── */
  --color-session-asian:     #A78BFA;
  --color-session-asian-bg:  rgba(167, 139, 250, 0.08);
  --color-session-london:    #38BDF8;
  --color-session-london-bg: rgba(56, 189, 248, 0.08);
  --color-session-ny:        #34D399;
  --color-session-ny-bg:     rgba(52, 211, 153, 0.08);

  /* ─── Cycle Phases ───────────────────────────────────────────────── */
  --color-cycle-accumulation: #A78BFA;
  --color-cycle-markup:       #059669;
  --color-cycle-distribution: #d97706;
  --color-cycle-markdown:     #dc2626;
  --color-cycle-reset:        #64748b;

  /* ─── Chart Palette ──────────────────────────────────────────────── */
  --color-chart-1: #3B82F6;
  --color-chart-2: #0ea5a1;
  --color-chart-3: #8B5CF6;
  --color-chart-4: #059669;
  --color-chart-5: #d97706;
  --color-chart-6: #dc2626;
  --color-chart-7: #EC4899;
  --color-chart-grid: rgba(71, 85, 105, 0.08);
  --color-chart-axis: var(--color-text-muted);

  /* ─── Heatmap Intensity ──────────────────────────────────────────── */
  --color-heat-0: var(--color-bg-active);
  --color-heat-1: rgba(14, 165, 161, 0.2);
  --color-heat-2: rgba(14, 165, 161, 0.4);
  --color-heat-3: rgba(14, 165, 161, 0.65);
  --color-heat-4: rgba(14, 165, 161, 0.9);

  /* ─── Typography ─────────────────────────────────────────────────── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --fw-medium: 500;
  --fw-semi:   600;

  /* ─── Spacing (8pt grid) ─────────────────────────────────────────── */
  --space-0:  0px;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  40px;
  --space-8:  48px;
  --space-10: 64px;
  --space-12: 80px;

  /* ─── Border Radius ──────────────────────────────────────────────── */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* ─── Shadows (Linear-inspired layered depth) ────────────────────── */
  --shadow-none: none;
  --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg:   0 8px 24px rgba(0, 0, 0, 0.5);
  --card-shadow:  0 1px 3px 0 rgb(0 0 0 / 0.3), 0 1px 2px -1px rgb(0 0 0 / 0.4);
  --shadow-hover: 0 4px 12px 0 rgb(0 0 0 / 0.35), 0 2px 4px -1px rgb(0 0 0 / 0.3);

  /* ─── Glows ──────────────────────────────────────────────────────── */
  --glow-teal:    0 0 12px rgba(14, 165, 161, 0.25);
  --glow-blue:    0 2px 8px rgba(59, 130, 246, 0.4);
  --glow-profit:  0 0 8px rgba(5, 150, 105, 0.3);
  --glow-loss:    0 0 8px rgba(220, 38, 38, 0.3);

  /* ─── Motion ─────────────────────────────────────────────────────── */
  --duration-instant: 100ms;
  --duration-fast:    200ms;
  --duration-normal:  250ms;
  --duration-slow:    400ms;
  --easing-default:    cubic-bezier(0.4, 0, 0.2, 1);
  --easing-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --easing-accelerate: cubic-bezier(0.4, 0, 1, 1);

  /* ─── Layout ─────────────────────────────────────────────────────── */
  --sidebar-width:     240px;
  --sidebar-collapsed: 64px;
  --topbar-height:     56px;
  --max-content-width: 1800px;
}


/*
 * BoCapital — Global Reset & Base Styles
 */

/* ─── Reset ─────────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100%;
  background-color: var(--color-bg-base);
  overscroll-behavior-y: none;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background-color: var(--color-bg-base);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  overscroll-behavior-y: none;
}

/* ─── Links ─────────────────────────────────────────────────────────────────── */

a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing-default);
}
a:hover {
  color: var(--color-accent-primary-hover);
}

/* ─── Selection ─────────────────────────────────────────────────────────────── */

::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--color-text-primary);
}

/* ─── Scrollbar ─────────────────────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--color-bg-active);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

/* ─── Focus Rings (teal accent, subtle glow) ──────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--color-accent-teal, var(--color-border-focus));
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(14, 165, 161, 0.15);
}

/* ─── Images ────────────────────────────────────────────────────────────────── */

img, svg {
  display: block;
  max-width: 100%;
}

/* ─── Tables ────────────────────────────────────────────────────────────────── */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ─── Lists ─────────────────────────────────────────────────────────────────── */

ul, ol {
  list-style: none;
}

/* ─── Inputs ────────────────────────────────────────────────────────────────── */

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
button {
  cursor: pointer;
}

/* ─── Monospace Numbers ─────────────────────────────────────────────────────── */

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ─── Shimmer Skeleton (Tremor-inspired loading) ──────────────────────────── */

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 400px 100%;
  animation: shimmer 1.6s infinite linear;
  border-radius: var(--radius-md, 12px);
}

.skeleton-text {
  height: 14px;
  border-radius: var(--radius-sm, 8px);
}

.skeleton-heading {
  height: 24px;
  width: 60%;
  border-radius: var(--radius-sm, 8px);
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-lg, 16px);
}

/* ─── GPU-accelerated transitions ─────────────────────────────────────────── */

.gpu-transform {
  will-change: transform;
  transform: translateZ(0);
}

/* ─── App Root ──────────────────────────────────────────────────────────────── */

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-bg-base);
}


/*
 * BoCapital — Utility Classes
 * Spacing, flex, grid, and type helpers.
 * All values reference design tokens.
 */

/* ─── Flex ──────────────────────────────────────────────────────────────────── */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.items-start   { align-items: flex-start; }
.items-center  { align-items: center; }
.items-end     { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

/* ─── Grid ──────────────────────────────────────────────────────────────────── */
.grid      { display: grid; }
.grid-2    { grid-template-columns: repeat(2, 1fr); }
.grid-3    { grid-template-columns: repeat(3, 1fr); }
.grid-4    { grid-template-columns: repeat(4, 1fr); }
.grid-5    { grid-template-columns: repeat(5, 1fr); }

/* ─── Gap ───────────────────────────────────────────────────────────────────── */
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-5  { gap: var(--space-5); }
.gap-6  { gap: var(--space-6); }

/* ─── Padding ───────────────────────────────────────────────────────────────── */
.p-0  { padding: var(--space-0); }
.p-1  { padding: var(--space-1); }
.p-2  { padding: var(--space-2); }
.p-3  { padding: var(--space-3); }
.p-4  { padding: var(--space-4); }
.p-5  { padding: var(--space-5); }
.p-6  { padding: var(--space-6); }
.px-3 { padding-left: var(--space-3); padding-right: var(--space-3); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-5 { padding-left: var(--space-5); padding-right: var(--space-5); }
.py-2 { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.py-3 { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }

/* ─── Margin ────────────────────────────────────────────────────────────────── */
.m-0  { margin: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.ml-auto { margin-left: auto; }

/* ─── Typography ────────────────────────────────────────────────────────────── */
.type-display     { font-size: 32px; font-weight: 700; line-height: 1.2; }
.type-heading-1   { font-size: 24px; font-weight: 600; line-height: 1.3; }
.type-heading-2   { font-size: 20px; font-weight: 600; line-height: 1.35; }
.type-heading-3   { font-size: 16px; font-weight: 600; line-height: 1.4; }
.type-body        { font-size: 14px; font-weight: 400; line-height: 1.5; }
.type-body-strong { font-size: 14px; font-weight: 600; line-height: 1.5; }
.type-label       { font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; text-transform: uppercase; }
.type-caption     { font-size: 11px; font-weight: 400; line-height: 1.4; }

/* ─── Colors ────────────────────────────────────────────────────────────────── */
.text-primary   { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted     { color: var(--color-text-muted); }
.text-profit    { color: var(--color-profit); }
.text-loss      { color: var(--color-loss); }
.text-warning   { color: var(--color-warning); }
.text-accent    { color: var(--color-accent-primary); }

/* ─── Misc ──────────────────────────────────────────────────────────────────── */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.w-full  { width: 100%; }
.h-full  { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }
.cursor-pointer  { cursor: pointer; }
.select-none     { user-select: none; }
.pointer-events-none { pointer-events: none; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }

/* ─── Responsive Visibility ─────────────────────────────────────────────────── */
.hide-below-sm { display: initial; }
.hide-below-md { display: initial; }
.hide-below-lg { display: initial; }
.show-below-sm { display: none; }
.show-below-md { display: none; }
.show-below-lg { display: none; }

@media (max-width: 479px) {
  .hide-below-sm { display: none !important; }
  .show-below-sm { display: initial !important; }
}
@media (max-width: 767px) {
  .hide-below-md { display: none !important; }
  .show-below-md { display: initial !important; }
}
@media (max-width: 1023px) {
  .hide-below-lg { display: none !important; }
  .show-below-lg { display: initial !important; }
}

/* ─── Mobile-first grid collapse ───────────────────────────────────────────── */

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-5 {
    grid-template-columns: 1fr;
  }
  /* Journal/table: hide non-essential columns */
  .col-hide-mobile { display: none !important; }
}

@media (max-width: 480px) {
  /* Stats row: single column */
  .stats-row { grid-template-columns: 1fr !important; }
}

/* ─── Hamburger nav toggle (shown only on small screens) ───────────────────── */

.nav-hamburger { display: none; }

@media (max-width: 480px) {
  .nav-full { display: none; }
  .nav-hamburger { display: flex; }
}


/*# sourceMappingURL=main.1212fcfa.css.map*/