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

:root {
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'Menlo', 'Cascadia Code', 'Consolas', monospace;
  --black: #000;
  --text: #1d1d1f;
  --text2: #6e6e73;
  --text3: #999;
  --bg: #fff;
  --bg2: #f5f5f7;
  --border: #e5e5e7;
  --green: #34c759;
  --red: #ff3b30;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 980px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 48px;
}
.nav-logo {
  font-family: var(--mono); font-size: 15px; font-weight: 700;
  color: var(--black); text-decoration: none; letter-spacing: 0.08em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; color: var(--text2); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--black); }
.nav-signin {
  padding: 5px 14px; background: var(--black); color: #fff !important;
  border-radius: 16px; font-size: 12px; font-weight: 500;
}
.nav-signin:hover { opacity: 0.85; }

/* Hero */
.hero {
  padding: 160px 24px 100px; text-align: center;
  max-width: 720px; margin: 0 auto;
}
.hero-label {
  font-size: 13px; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;
}
.hero h1 {
  font-size: 56px; font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--black); margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px; line-height: 1.5; color: var(--text2); margin-bottom: 36px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 16px; }
.hero-meta { font-size: 12px; color: var(--text3); font-family: var(--mono); margin-bottom: 24px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hero-stat { font-size: 13px; color: var(--text2); }
.hero-stat span { font-family: var(--mono); font-weight: 600; color: var(--black); }
.hero-stat-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text3); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; background: var(--black); color: #fff;
  border: none; border-radius: 24px; font-size: 15px; font-weight: 500;
  font-family: var(--font); cursor: pointer; transition: opacity 0.2s; text-decoration: none;
}
.btn-primary:hover { opacity: 0.85; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-ghost {
  font-size: 15px; color: var(--text2); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--black); }

/* Features */
.features { padding: 100px 0; background: var(--bg2); }
.features h2, .how h2, .download h2 {
  font-size: 40px; font-weight: 700; text-align: center;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.section-sub { font-size: 17px; color: var(--text2); text-align: center; margin-bottom: 48px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card {
  padding: 32px; background: var(--bg); border-radius: 16px;
  border: 1px solid var(--border);
}
.feature-stat {
  font-family: var(--mono); font-size: 32px; font-weight: 700;
  color: var(--black); margin-bottom: 8px;
}
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.5; }

/* How */
.how { padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.step { text-align: center; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  margin: 0 auto 16px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text2); }

/* Preview */
.preview { padding: 60px 0 100px; }
.preview-box {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 16px;
  height: 400px; display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 15px;
}

/* Download */
.download { padding: 100px 0; background: var(--bg2); text-align: center; }
.requirements { margin-top: 16px; font-size: 13px; color: var(--text3); font-family: var(--mono); }

/* Footer */
footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-left { display: flex; align-items: center; gap: 16px; }
.footer-brand { font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.footer-copy { font-size: 12px; color: var(--text3); }
.footer-disclaimer { font-size: 11px; color: var(--text3); max-width: 400px; text-align: right; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(6px);
  z-index: 200; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.25s;
}
.modal-overlay.visible { opacity: 1; visibility: visible; }

.modal-card {
  background: var(--bg); border-radius: 16px; padding: 40px;
  width: 380px; position: relative; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 22px; color: var(--text3); cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-brand { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--text3); letter-spacing: 0.12em; margin-bottom: 4px; }
.modal-title { font-size: 22px; font-weight: 600; margin-bottom: 20px; }

.modal-tabs { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.modal-tab {
  flex: 1; padding: 8px 0; font-size: 13px; font-weight: 500;
  background: transparent; color: var(--text2); border: none; cursor: pointer; transition: all 0.15s;
  font-family: var(--font);
}
.modal-tab.active { background: var(--bg2); color: var(--black); }

.modal-input {
  width: 100%; padding: 11px 14px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; font-size: 14px; font-family: var(--font); color: var(--text);
  outline: none; margin-bottom: 10px; transition: border-color 0.15s;
}
.modal-input:focus { border-color: #aaa; }
.modal-input::placeholder { color: var(--text3); }

.modal-error { color: var(--red); font-size: 12px; text-align: left; margin-bottom: 8px; min-height: 16px; }
.modal-hint { margin-top: 20px; font-size: 11px; color: var(--text3); }

.success-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; margin: 0 auto 16px;
}
.success-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.success-key {
  font-family: var(--mono); font-size: 11px; color: var(--text3);
  background: var(--bg2); padding: 8px 16px; border-radius: 6px;
  margin-bottom: 20px; word-break: break-all;
}

/* Live Feed */
.live-feed { padding: 100px 0; background: var(--bg2); }

.feed-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 640px; margin: 0 auto 40px; text-align: center;
}
.feed-stat {
  padding: 24px; background: var(--bg); border-radius: 12px;
}
.feed-stat-value {
  display: block; font-family: var(--mono); font-size: 32px; font-weight: 700;
  color: var(--black); letter-spacing: -0.02em; margin-bottom: 4px;
}
.feed-stat-label { font-size: 12px; color: var(--text3); }

.feed-list {
  max-width: 640px; margin: 0 auto;
  background: var(--bg); border-radius: 12px;
  max-height: 400px; overflow-y: auto;
}
.feed-empty {
  padding: 40px; text-align: center; color: var(--text3); font-size: 14px;
}
.feed-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; border-bottom: 1px solid var(--border);
}
.feed-item:last-child { border-bottom: none; }
.feed-text { font-size: 14px; color: var(--text); }
.feed-time { font-size: 11px; color: var(--text3); font-family: var(--mono); flex-shrink: 0; margin-left: 20px; }

/* Partners */
.partners { padding: 60px 0; text-align: center; }
.partner-label {
  font-size: 11px; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.partner-link { display: inline-block; transition: opacity 0.2s; }
.partner-link:hover { opacity: 0.7; }
.partner-logo { width: 160px; height: auto; margin-bottom: 12px; }
.partner-text { font-size: 13px; color: var(--text3); max-width: 420px; margin: 0 auto; }

/* Performance Page */
.perf-summary { padding: 0 0 80px; }
.perf-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.perf-card {
  text-align: center; padding: 32px 24px;
  background: var(--bg2); border-radius: 16px;
}
.perf-card-value {
  display: block; font-family: var(--mono); font-size: 36px; font-weight: 700;
  color: var(--black); letter-spacing: -0.02em; margin-bottom: 4px;
}
.perf-card-label { font-size: 13px; color: var(--text3); }

.perf-weekly { padding: 80px 0; background: var(--bg2); }
.perf-weekly h2, .perf-monthly h2, .perf-feed h2 {
  font-size: 40px; font-weight: 700; text-align: center;
  letter-spacing: -0.02em; margin-bottom: 8px;
}

.weekly-bars {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.weekly-empty { text-align: center; color: var(--text3); font-size: 14px; padding: 24px; }
.weekly-bar-row {
  display: flex; align-items: center; gap: 12px;
}
.weekly-bar-label {
  width: 36px; flex-shrink: 0;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text2);
}
.weekly-bar-track {
  flex: 1; height: 32px; background: var(--bg); border-radius: 8px;
  overflow: hidden;
}
.weekly-bar {
  height: 100%; border-radius: 8px;
  transition: width 0.4s ease;
}
.weekly-bar-value {
  width: 90px; flex-shrink: 0; text-align: right;
  font-family: var(--mono); font-size: 14px; font-weight: 600;
}

.perf-monthly { padding: 80px 0; }
.month-grid-header {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  max-width: 640px; margin: 0 auto 8px;
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.04em;
}
.month-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  max-width: 640px; margin: 0 auto;
}
.month-cell {
  aspect-ratio: 1; border-radius: 10px; background: var(--bg2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4px;
}
.month-cell-empty { background: transparent; }
.month-cell-day { font-size: 13px; font-weight: 600; color: var(--text); }
.month-cell-pnl { font-family: var(--mono); font-size: 10px; font-weight: 600; margin-top: 2px; }
.month-cell-green { background: rgba(52, 199, 89, 0.1); }
.month-cell-red { background: rgba(255, 59, 48, 0.1); }

.perf-feed { padding: 80px 0; background: var(--bg2); }
.perf-feed-list {
  max-width: 640px; margin: 0 auto;
  background: var(--bg); border-radius: 12px;
  max-height: 600px; overflow-y: auto;
}

/* Pricing Page */
.pricing-section { padding: 0 0 100px; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 720px; margin: 0 auto;
}
.pricing-card {
  padding: 40px 32px; background: var(--bg2); border-radius: 20px;
  display: flex; flex-direction: column;
}
.pricing-card-muted { opacity: 0.55; }
.pricing-card-header { margin-bottom: 28px; }
.pricing-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  color: var(--green); background: rgba(52, 199, 89, 0.1);
  padding: 3px 10px; border-radius: 20px; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.pricing-badge-muted { color: var(--text3); background: var(--border); }
.pricing-plan { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.pricing-price {
  font-family: var(--mono); font-size: 48px; font-weight: 700;
  color: var(--black); letter-spacing: -0.03em;
}
.pricing-price-muted { color: var(--text3); }
.pricing-period { font-size: 16px; font-weight: 400; color: var(--text3); }
.pricing-features {
  list-style: none; flex: 1; margin-bottom: 32px;
}
.pricing-features li {
  padding: 8px 0; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-cta { text-align: center; }
.pricing-cta-disabled {
  background: var(--border); color: var(--text3) !important;
  cursor: not-allowed;
}
.pricing-cta-disabled:hover { opacity: 1; }

/* FAQ */
.faq-section { padding: 80px 0; background: var(--bg2); }
.faq-section h2 {
  font-size: 40px; font-weight: 700; text-align: center;
  letter-spacing: -0.02em; margin-bottom: 40px;
}
.faq-list { max-width: 640px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; border: none;
  font-family: var(--font); font-size: 16px; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: left;
}
.faq-question:hover { color: var(--black); }
.faq-icon {
  font-size: 20px; color: var(--text3); transition: transform 0.2s;
  flex-shrink: 0; margin-left: 16px;
}
.faq-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-open .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-answer p {
  font-size: 15px; color: var(--text2); line-height: 1.6;
}
.faq-answer a { color: var(--text); text-decoration: underline; }

/* Journal Page */
.journal-auth-gate {
  padding: 120px 24px 80px; text-align: center; min-height: 60vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.journal-auth-gate h2 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.journal-auth-gate p { font-size: 15px; color: var(--text2); margin-bottom: 24px; }
.journal-auth-gate .modal-input { max-width: 340px; }

.journal-header {
  padding: 16px 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.journal-filters { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.journal-range-group { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.journal-select, .journal-date-input {
  padding: 7px 12px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; font-family: var(--font); color: var(--text);
  outline: none; cursor: pointer;
}
.journal-select:focus, .journal-date-input:focus { border-color: #aaa; }
.journal-range-btn {
  padding: 7px 16px; background: transparent; border: none;
  font-size: 13px; font-family: var(--font); color: var(--text2);
  cursor: pointer; transition: all 0.15s;
}
.journal-range-btn.active { background: var(--black); color: #fff; }
.journal-range-btn:hover:not(.active) { background: var(--bg2); }

.journal-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 32px;
}
.journal-stat-card {
  padding: 20px; background: var(--bg2); border-radius: 12px; text-align: center;
}
.journal-stat-value {
  display: block; font-family: var(--mono); font-size: 24px; font-weight: 700;
  color: var(--black); letter-spacing: -0.02em; margin-bottom: 2px;
}
.journal-stat-value.positive { color: var(--green); }
.journal-stat-value.negative { color: var(--red); }
.journal-stat-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.04em; }

.journal-section { margin-bottom: 40px; }
.journal-section h3 {
  font-size: 20px; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em;
}

/* Setup Performance Bars */
.setup-bars { display: flex; flex-direction: column; gap: 8px; }
.setup-bar-row { display: flex; align-items: center; gap: 10px; }
.setup-bar-label {
  width: 48px; flex-shrink: 0; font-family: var(--mono); font-size: 13px;
  font-weight: 600; color: var(--text2); text-align: right;
}
.setup-bar-track {
  flex: 1; height: 28px; background: var(--bg2); border-radius: 6px;
  overflow: hidden; position: relative;
}
.setup-bar {
  height: 100%; border-radius: 6px; transition: width 0.4s ease;
  min-width: 2px;
}
.setup-bar-value {
  width: 80px; flex-shrink: 0; text-align: right;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.setup-bar-trades {
  width: 60px; flex-shrink: 0; text-align: right;
  font-size: 11px; color: var(--text3);
}

/* Daily P&L Chart */
.daily-chart {
  display: flex; align-items: flex-end; gap: 3px; height: 180px;
  padding: 0; background: var(--bg2); border-radius: 12px; padding: 16px 12px 8px;
  overflow-x: auto;
}
.daily-bar-col {
  display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 18px;
  justify-content: flex-end; height: 100%;
}
.daily-bar {
  width: 100%; max-width: 32px; border-radius: 3px 3px 0 0;
  transition: height 0.3s ease; min-height: 2px;
}
.daily-bar-neg { border-radius: 0 0 3px 3px; }
.daily-bar-date {
  font-size: 9px; color: var(--text3); font-family: var(--mono);
  margin-top: 4px; writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg); max-height: 40px; overflow: hidden;
}
.daily-chart-wrapper {
  position: relative;
}
.daily-chart-zero {
  position: absolute; left: 12px; right: 12px; border-top: 1px dashed var(--border);
}

/* Trade Log Table */
.journal-table-wrap {
  overflow-x: auto; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg);
}
.journal-table {
  width: 100%; border-collapse: collapse; font-size: 13px;
  min-width: 900px;
}
.journal-table th {
  padding: 10px 12px; text-align: left; font-size: 11px; font-weight: 600;
  color: var(--text3); text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  cursor: pointer; user-select: none; white-space: nowrap;
}
.journal-table th:hover { color: var(--text); }
.journal-table th .sort-arrow { font-size: 10px; margin-left: 4px; }
.journal-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 12px; white-space: nowrap;
}
.journal-table tr:last-child td { border-bottom: none; }
.journal-table tr.win-row td { background: rgba(52, 199, 89, 0.04); }
.journal-table tr.loss-row td { background: rgba(255, 59, 48, 0.04); }
.journal-table .pnl-cell { font-weight: 600; }
.journal-table .side-long { color: var(--green); font-weight: 600; }
.journal-table .side-short { color: var(--red); font-weight: 600; }

.journal-empty {
  text-align: center; padding: 60px 24px; color: var(--text3); font-size: 15px;
}

.journal-pagination {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.journal-page-btn {
  padding: 6px 14px; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; font-size: 12px; font-family: var(--font); color: var(--text2);
  cursor: pointer;
}
.journal-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.journal-page-btn:hover:not(:disabled) { border-color: #aaa; }
.journal-page-info { font-size: 12px; color: var(--text3); font-family: var(--mono); }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .nav-links a:not(.nav-signin) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-disclaimer { text-align: center; }
  .perf-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .month-grid-header, .month-grid { max-width: 100%; }
  .journal-stats { grid-template-columns: repeat(2, 1fr); }
  .jrn-row { grid-template-columns: 1fr; }
}

/* Journal Page */
.jrn-login {
  padding: 160px 24px 100px; max-width: 380px; margin: 0 auto; text-align: center;
}
.jrn-login-brand { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--text3); letter-spacing: 0.12em; margin-bottom: 4px; }
.jrn-login-title { font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.jrn-login-sub { font-size: 14px; color: var(--text2); margin-bottom: 28px; }
.jrn-login .modal-input { margin-bottom: 10px; }
.jrn-login-error { color: var(--red); font-size: 12px; min-height: 18px; margin-bottom: 8px; }

.jrn-page { padding-top: 72px; }
.jrn-hero { margin-bottom: 24px; }
.jrn-title { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.jrn-greeting { font-size: 14px; color: var(--text2); margin-top: 4px; }

.jrn-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }

.jrn-row { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; margin-bottom: 24px; }
.jrn-card { background: var(--bg2); border-radius: 16px; padding: 24px; }
.jrn-card-wide { }
.jrn-card-title { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.jrn-empty { text-align: center; color: var(--text3); padding: 24px; font-size: 14px; }

/* Journal Calendar */
.jrn-cal-weekdays { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-bottom: 3px; }
.jrn-cal-day-header { text-align: center; font-size: 11px; font-weight: 500; color: var(--text3); padding: 4px 0; }
.jrn-cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.jrn-cal-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 4px; border-radius: 8px; background: var(--bg); min-height: 52px; gap: 2px;
}
.jrn-cal-empty { background: transparent; }
.jrn-cal-today { outline: 2px solid var(--text3); outline-offset: -2px; }
.jrn-cal-profit { background: rgba(52, 199, 89, 0.08); }
.jrn-cal-loss { background: rgba(255, 59, 48, 0.08); }
.jrn-cal-num { font-size: 13px; font-weight: 500; color: var(--text2); }
.jrn-cal-profit .jrn-cal-num { color: var(--green); }
.jrn-cal-loss .jrn-cal-num { color: var(--red); }
.jrn-cal-pnl { font-family: var(--mono); font-size: 10px; font-weight: 600; }
