/* AURUM-inspired preview skin.
 * Scope: dashboard-reference-preview only. This file intentionally changes
 * presentation, not the journal/trade data model or interaction handlers.
 */
:root {
  /* Neutral charcoal/navy surfaces keep the dark theme from drifting green. */
  --aurum-ink: #080b10;
  --aurum-black: #0b0e13;
  --aurum-panel: #101720;
  --aurum-panel-raised: #151d29;
  --aurum-olive: #1b2531;
  --aurum-line: #2a3545;
  --aurum-line-soft: rgba(148, 163, 184, .16);
  --aurum-gold: #d8bd69;
  --aurum-gold-soft: rgba(216, 189, 105, .16);
  --aurum-white: #f1f5f9;
  --aurum-muted: #9ca7b7;
  --aurum-dim: #718096;
  --aurum-red: #e2635d;
  --aurum-radius: 6px;
}

body:not(:has(#hero)) {
  background: var(--aurum-ink) !important;
  color: var(--aurum-white) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: .005em;
}

body:not(:has(#hero)) #root,
body:not(:has(#hero)) #root > div {
  background: var(--aurum-ink) !important;
}

body:not(:has(#hero)) :is(.pft-topbar, .pft-sidebar, .pft-desktop-toolbar, .pft-workspace-switch) {
  background: rgba(8, 11, 16, .96) !important;
  border-color: var(--aurum-line-soft) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) .pft-topbar {
  min-height: 66px !important;
  height: 66px !important;
  padding-inline: 22px !important;
  backdrop-filter: blur(14px);
}

body:not(:has(#hero)) .pft-sidebar {
  width: 222px !important;
  background: #0b0f16 !important;
}

body:not(:has(#hero)) .pft-topbar button,
body:not(:has(#hero)) .pft-sidebar button,
body:not(:has(#hero)) .pft-workspace-switch button,
body:not(:has(#hero)) .pft-desktop-toolbar button {
  border-radius: var(--aurum-radius) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) .pft-topbar button:hover,
body:not(:has(#hero)) .pft-sidebar button:hover,
body:not(:has(#hero)) .pft-desktop-toolbar button:hover,
body:not(:has(#hero)) .pft-workspace-switch button:hover {
  background: var(--aurum-gold-soft) !important;
  color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) .pft-sidebar :is([aria-current="page"], .active, [data-active="true"]) {
  background: var(--aurum-gold-soft) !important;
  border-color: var(--aurum-gold) !important;
  color: var(--aurum-white) !important;
  box-shadow: inset 3px 0 0 var(--aurum-gold) !important;
}

body:not(:has(#hero)) .pft-sidebar :is([aria-current="page"], .active, [data-active="true"]) svg {
  color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) .pft-main {
  background: var(--aurum-ink) !important;
  padding-top: 104px !important;
  padding-bottom: 48px !important;
}

body:not(:has(#hero)) .pft-content,
body:not(:has(#hero)) .pft-content-page,
body:not(:has(#hero)) .pft-journal-preview {
  color: var(--aurum-white) !important;
}

body:not(:has(#hero)) :is(.pft-content-page-heading, .journal-header) {
  border-bottom: 1px solid var(--aurum-line-soft) !important;
  padding-bottom: 22px !important;
  margin-bottom: 26px !important;
}

body:not(:has(#hero)) :is(.pft-content-page-heading [data-pagetitle], .journal-header h1) {
  color: var(--aurum-white) !important;
  font-size: clamp(31px, 4vw, 52px) !important;
  line-height: .98 !important;
  font-weight: 650 !important;
  letter-spacing: -.055em !important;
  margin: 0 !important;
}

body:not(:has(#hero)) :is(.pft-content-page-heading p, .pft-content-page-heading div, .fx-subtitle) {
  color: var(--aurum-muted) !important;
}

/* Shared AURUM surfaces: low-radius, almost-black, editorial rather than glassy. */
body:not(:has(#hero)) :is(.journal-card, .ap-card, .fx-card, .pft-card, .journal-editor-card, .analysis-designed .journal-card, .journal-notes-designed > .journal-card) {
  background: var(--aurum-panel) !important;
  border: 1px solid var(--aurum-line-soft) !important;
  border-radius: var(--aurum-radius) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) :is(.journal-card, .ap-card, .fx-card, .pft-card) :is(h1, h2, h3, h4, strong) {
  color: var(--aurum-white) !important;
}

body:not(:has(#hero)) :is(input, textarea, select, summary, .pft-profile-trigger, .journal-account-menu summary) {
  background: var(--aurum-panel-raised) !important;
  color: var(--aurum-white) !important;
  border-color: var(--aurum-line) !important;
  border-radius: var(--aurum-radius) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) :is(input, textarea, select):focus,
body:not(:has(#hero)) :is(input, textarea, select):focus-visible,
body:not(:has(#hero)) summary:focus-visible {
  outline: 1px solid var(--aurum-gold) !important;
  outline-offset: 2px !important;
  border-color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) :is(input, textarea, select)::placeholder {
  color: var(--aurum-dim) !important;
}

body:not(:has(#hero)) :is(button, [role="button"]) {
  border-radius: var(--aurum-radius) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) :is(button, [role="button"]):not(:disabled) {
  border-color: var(--aurum-line) !important;
}

body:not(:has(#hero)) :is(button, [role="button"]):is(.primary, .gold, [data-primary="true"], #add-trade, #save-journal, #save-trade, .journal-save-button) {
  background: var(--aurum-gold) !important;
  color: #11130f !important;
  border-color: var(--aurum-gold) !important;
  font-weight: 700 !important;
}

body:not(:has(#hero)) :is(button, [role="button"]):is(.primary, .gold, [data-primary="true"], #add-trade, #save-journal, #save-trade, .journal-save-button):hover {
  background: #ebd586 !important;
  color: #11130f !important;
}

body:not(:has(#hero)) :is(.journal-positive, .positive, [data-positive="true"]) {
  color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) :is(.journal-negative, .negative, [data-negative="true"]) {
  color: var(--aurum-red) !important;
}

/* Dashboard: preserve the existing metrics/chart while making the surface match the reference. */
body:not(:has(#hero)) .journal-dashboard-designed {
  --dash-surface: var(--aurum-panel);
  --dash-line: var(--aurum-line);
  --dash-muted: var(--aurum-muted);
}

body:not(:has(#hero)) .journal-dashboard-designed > .journal-header h1 {
  font-size: clamp(32px, 4.5vw, 56px) !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-stats {
  gap: 1px !important;
  background: var(--aurum-line-soft) !important;
  border: 1px solid var(--aurum-line-soft) !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-stats > .journal-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--aurum-panel) !important;
  min-height: 136px !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-stats small,
body:not(:has(#hero)) .journal-dashboard-designed .journal-card small {
  color: var(--aurum-dim) !important;
  text-transform: uppercase;
  letter-spacing: .13em !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-stats strong,
body:not(:has(#hero)) .journal-dashboard-designed .dash-performance-total {
  color: var(--aurum-gold) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .fx-dashboard-grid {
  gap: 1px !important;
  background: var(--aurum-line-soft) !important;
  border: 1px solid var(--aurum-line-soft) !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .fx-dashboard-grid > .journal-card {
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 440px !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-header h2 {
  font-size: 18px !important;
  letter-spacing: -.025em !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .dash-chart-icon {
  width: 27px !important;
  height: 27px !important;
  border-radius: 50% !important;
  background: var(--aurum-gold-soft) !important;
  color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .fx-periods {
  background: transparent !important;
  border: 1px solid var(--aurum-line-soft) !important;
  border-radius: var(--aurum-radius) !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .fx-periods button[aria-pressed="true"],
body:not(:has(#hero)) .journal-dashboard-designed .fx-periods button.active {
  background: var(--aurum-gold) !important;
  color: #11130f !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-day {
  background: var(--aurum-panel-raised) !important;
  border-color: var(--aurum-line-soft) !important;
  border-radius: 3px !important;
}

body:not(:has(#hero)) .journal-dashboard-designed .journal-day:hover,
body:not(:has(#hero)) .journal-dashboard-designed .journal-day.dash-today {
  border-color: var(--aurum-gold) !important;
  background: var(--aurum-gold-soft) !important;
}

/* Journal workspace: compact left list, square cards, gold focus states. */
body:not(:has(#hero)) .pft-journal-workspace .journal-sidebar,
body:not(:has(#hero)) .pft-journal-workspace .journal-list,
body:not(:has(#hero)) .pft-journal-workspace .journal-detail,
body:not(:has(#hero)) .pft-journal-workspace .journal-panel {
  background: var(--aurum-panel) !important;
  border-color: var(--aurum-line-soft) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-list-item, .journal-trade-item, .journal-entry, .saved-note-card) {
  background: transparent !important;
  border-color: var(--aurum-line-soft) !important;
  border-radius: var(--aurum-radius) !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-list-item, .journal-trade-item, .journal-entry):hover,
body:not(:has(#hero)) .pft-journal-workspace :is(.journal-list-item, .journal-trade-item, .journal-entry).active,
body:not(:has(#hero)) .pft-journal-workspace :is(.journal-list-item, .journal-trade-item, .journal-entry)[aria-selected="true"] {
  background: var(--aurum-gold-soft) !important;
  border-color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-label, .journal-section-label, .journal-upload-status) {
  color: var(--aurum-dim) !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-form, .journal-editor-card, .journal-checks) {
  background: transparent !important;
  border-color: var(--aurum-line-soft) !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-editor-form label, .journal-checklist-header h3, .journal-upload-heading) {
  color: var(--aurum-muted) !important;
  text-transform: uppercase;
  letter-spacing: .1em !important;
  font-size: 11px !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-checks > label, .journal-photo, .journal-upload-box) {
  border-radius: var(--aurum-radius) !important;
  border-color: var(--aurum-line) !important;
  background: var(--aurum-panel-raised) !important;
}

body:not(:has(#hero)) .pft-journal-workspace :is(.journal-checks > label:has(input:checked), .journal-photo:hover) {
  border-color: var(--aurum-gold) !important;
  background: var(--aurum-gold-soft) !important;
}

/* Analytics: make controls feel like a review desk and keep the equity chart dominant. */
body:not(:has(#hero)) .analysis-designed,
body:not(:has(#hero)) .analysis-designed .analysis-heading,
body:not(:has(#hero)) .analysis-designed .analysis-filter-bar {
  background: transparent !important;
}

body:not(:has(#hero)) .analysis-designed :is(.analysis-heading, .analysis-filter-bar, .analysis-group, .fx-quick-stats > div, .analysis-day-track, .analysis-details) {
  border-color: var(--aurum-line-soft) !important;
  border-radius: var(--aurum-radius) !important;
  box-shadow: none !important;
}

body:not(:has(#hero)) .analysis-designed :is(.analysis-heading h2, .analysis-heading h1, .analysis-heading .analysis-heading-title) {
  color: var(--aurum-white) !important;
  letter-spacing: -.045em !important;
}

body:not(:has(#hero)) .analysis-designed :is(.analysis-filter-bar button, .analysis-filter-bar select, .analysis-filter-bar summary, .analysis-select) {
  background: var(--aurum-panel-raised) !important;
  border-color: var(--aurum-line) !important;
  border-radius: var(--aurum-radius) !important;
}

body:not(:has(#hero)) .analysis-designed :is(.active, [aria-pressed="true"], [aria-selected="true"]) {
  background: var(--aurum-gold) !important;
  color: #11130f !important;
  border-color: var(--aurum-gold) !important;
}

body:not(:has(#hero)) .analysis-designed .journal-curve,
body:not(:has(#hero)) .analysis-designed .equity-curve,
body:not(:has(#hero)) .analysis-designed .fx-equity-curve {
  background: var(--aurum-panel) !important;
}

/* Tables and utility panels. */
body:not(:has(#hero)) :is(.journal-table, table) {
  border-color: var(--aurum-line-soft) !important;
  background: var(--aurum-panel) !important;
}

body:not(:has(#hero)) :is(.journal-table th, table th) {
  background: var(--aurum-panel-raised) !important;
  color: var(--aurum-dim) !important;
  text-transform: uppercase;
  letter-spacing: .11em !important;
  font-size: 10px !important;
}

body:not(:has(#hero)) :is(.journal-table td, table td) {
  border-color: var(--aurum-line-soft) !important;
}

body:not(:has(#hero)) ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body:not(:has(#hero)) ::-webkit-scrollbar-track {
  background: var(--aurum-ink);
}

body:not(:has(#hero)) ::-webkit-scrollbar-thumb {
  background: #3a4336;
  border-radius: 10px;
}

@media (max-width: 900px) {
  body:not(:has(#hero)) .pft-sidebar { width: 194px !important; }
  body:not(:has(#hero)) .pft-main { padding-top: 92px !important; }
}

@media (max-width: 720px) {
  body:not(:has(#hero)) .pft-topbar { height: 60px !important; min-height: 60px !important; padding-inline: 14px !important; }
  body:not(:has(#hero)) .pft-main { padding-top: 86px !important; padding-inline: 14px !important; }
  body:not(:has(#hero)) :is(.pft-content-page-heading, .journal-header) { padding-bottom: 16px !important; margin-bottom: 18px !important; }
  body:not(:has(#hero)) :is(.pft-content-page-heading [data-pagetitle], .journal-header h1) { font-size: 35px !important; }
  body:not(:has(#hero)) .journal-dashboard-designed .journal-stats { grid-template-columns: 1fr !important; }
  body:not(:has(#hero)) .journal-dashboard-designed .journal-stats > .journal-card { min-height: 108px !important; }
  body:not(:has(#hero)) .journal-dashboard-designed .fx-dashboard-grid { grid-template-columns: 1fr !important; }
}

/* Landing page translation of the reference video: editorial black, quiet
 * chrome, oversized type, fine rules, and one warm action colour. */
body:has(#hero) {
  background: var(--aurum-ink) !important;
  color: var(--aurum-white) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body:has(#hero) #root > div {
  background: var(--aurum-ink) !important;
  color: var(--aurum-white) !important;
}

body:has(#hero) #root > div:has(#hero) nav {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  z-index: 20 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 74px !important;
  box-sizing: border-box !important;
  padding: 18px 34px !important;
  background: rgba(8, 11, 16, .92) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--aurum-line-soft) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: blur(16px);
}

body:has(#hero) #root > div:has(#hero) nav > div:first-child {
  gap: 11px !important;
}

body:has(#hero) #root > div:has(#hero) nav .pft-brand-wordmark,
body:has(#hero) #root > div:has(#hero) nav .pft-wordmark-name {
  color: var(--aurum-white) !important;
  font-size: 15px !important;
  letter-spacing: .01em !important;
}

body:has(#hero) #root > div:has(#hero) nav .pft-wordmark-gold,
body:has(#hero) #root > div:has(#hero) nav .pft-wordmark-tagline {
  color: var(--aurum-gold) !important;
}

body:has(#hero) #root > div:has(#hero) nav .pft-wordmark-tagline {
  letter-spacing: .22em !important;
  font-size: 7px !important;
}

body:has(#hero) #root > div:has(#hero) nav .nav-links {
  gap: 25px !important;
}

body:has(#hero) #root > div:has(#hero) nav .nav-link,
body:has(#hero) #root > div:has(#hero) nav a,
body:has(#hero) #root > div:has(#hero) nav button:not(.nav-btn) {
  color: var(--aurum-muted) !important;
  font-size: 11px !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:has(#hero) #root > div:has(#hero) nav .nav-link:hover,
body:has(#hero) #root > div:has(#hero) nav a:hover,
body:has(#hero) #root > div:has(#hero) nav button:not(.nav-btn):hover {
  color: var(--aurum-gold) !important;
}

body:has(#hero) #root > div:has(#hero) nav .nav-btn,
body:has(#hero) #root > div:has(#hero) nav > div:last-child button {
  background: var(--aurum-gold) !important;
  color: #11130f !important;
  border: 1px solid var(--aurum-gold) !important;
  border-radius: 3px !important;
  padding: 10px 15px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

body:has(#hero) #root > div > .session-bar {
  display: none !important;
}

body:has(#hero) #hero {
  min-height: 860px !important;
  padding: 136px 34px 90px !important;
  box-sizing: border-box !important;
  background: var(--aurum-ink) !important;
  overflow: hidden !important;
}

body:has(#hero) #hero::before,
body:has(#hero) #hero::after {
  opacity: .18 !important;
  background: none !important;
  box-shadow: none !important;
}

body:has(#hero) #hero .hero-grid {
  width: min(1180px, 100%) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 56px !important;
}

body:has(#hero) #hero .anim-fade-up {
  width: 100% !important;
  text-align: center !important;
}

body:has(#hero) #hero .hero-title {
  max-width: none !important;
  margin-inline: auto !important;
  color: var(--aurum-white) !important;
  font-size: clamp(54px, 7vw, 96px) !important;
  line-height: .9 !important;
  letter-spacing: -.075em !important;
  font-weight: 650 !important;
}

body:has(#hero) #hero .hero-title > div:last-child {
  color: var(--aurum-gold) !important;
  background: none !important;
  -webkit-text-fill-color: initial !important;
}

body:has(#hero) #hero p {
  max-width: 520px !important;
  margin-inline: auto !important;
  color: var(--aurum-muted) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

body:has(#hero) #hero .cta-btn {
  background: var(--aurum-gold) !important;
  color: #10120f !important;
  border: 1px solid var(--aurum-gold) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  padding: 14px 20px !important;
  font-weight: 750 !important;
}

body:has(#hero) #hero .pft-hero-demo {
  width: min(960px, 100%) !important;
  margin-inline: auto !important;
  background: var(--aurum-panel) !important;
  border: 1px solid var(--aurum-line) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  transform: none !important;
}

body:has(#hero) #hero .pft-demo-topbar {
  background: var(--aurum-panel-raised) !important;
  border-bottom: 1px solid var(--aurum-line-soft) !important;
  color: var(--aurum-muted) !important;
}

body:has(#hero) #hero .pft-demo-card {
  background: transparent !important;
  border-color: var(--aurum-line-soft) !important;
  border-radius: 3px !important;
}

body:has(#hero) #hero .pft-demo-kicker {
  color: var(--aurum-dim) !important;
  text-transform: uppercase !important;
  letter-spacing: .16em !important;
}

body:has(#hero) #hero :is(.pft-demo-value, .pft-demo-good, .pft-demo-badge) {
  color: var(--aurum-gold) !important;
}

body:has(#hero) #hero .pft-demo-badge {
  background: var(--aurum-gold-soft) !important;
  border: 1px solid rgba(216, 189, 105, .35) !important;
  border-radius: 2px !important;
}

body:has(#hero) #hero .hero-badges,
body:has(#hero) #hero .badge-float {
  opacity: .25 !important;
  filter: grayscale(.8) !important;
}

body:has(#hero) #root > div > section:not(#hero) {
  width: min(1180px, calc(100% - 68px)) !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: 118px 0 !important;
  border-top: 1px solid var(--aurum-line-soft) !important;
}

body:has(#hero) #root > div > section > div:first-child > div:first-child,
body:has(#hero) #root > div > section > div:first-child > div:last-child {
  color: var(--aurum-white) !important;
}

body:has(#hero) #root > div > section :is(h1, h2, h3) {
  color: var(--aurum-white) !important;
  letter-spacing: -.055em !important;
}

body:has(#hero) #root > div > section :is(p, [style*="color: #8"], [style*="color: rgb(1"]) {
  color: var(--aurum-muted) !important;
}

body:has(#hero) #root > div > section .feat-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: var(--aurum-line-soft) !important;
  border: 1px solid var(--aurum-line-soft) !important;
}

body:has(#hero) #root > div > section .feat-card {
  min-height: 180px !important;
  padding: 27px !important;
  background: var(--aurum-panel) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body:has(#hero) #root > div > section .feat-card:hover {
  background: var(--aurum-olive) !important;
  transform: none !important;
}

body:has(#hero) #root > div > section .feat-card > div:first-child {
  color: var(--aurum-gold) !important;
  text-transform: uppercase !important;
  letter-spacing: .14em !important;
  font-size: 10px !important;
}

body:has(#hero) #pricing .feat-card {
  min-height: 280px !important;
}

body:has(#hero) #pricing .feat-card :is(strong, b, [style*="font-size: 42"], [style*="font-size:42"]) {
  color: var(--aurum-gold) !important;
}

body:has(#hero) #faq .feat-grid {
  grid-template-columns: 1fr !important;
  background: transparent !important;
  border: 0 !important;
}

body:has(#hero) #faq .feat-card {
  min-height: 0 !important;
  padding: 22px 0 !important;
  border-top: 1px solid var(--aurum-line-soft) !important;
}

body:has(#hero) #faq .feat-card:last-child {
  border-bottom: 1px solid var(--aurum-line-soft) !important;
}

body:has(#hero) .pft-final-cta {
  width: 100% !important;
  max-width: none !important;
  padding: 135px 34px !important;
  text-align: center !important;
  background: var(--aurum-panel) !important;
}

body:has(#hero) .pft-final-cta .cta-btn,
body:has(#hero) .pft-final-cta .pft-discord-cta {
  border-radius: 3px !important;
  box-shadow: none !important;
}

body:has(#hero) :is(.pft-landing-footer, footer) {
  background: var(--aurum-ink) !important;
  border-top: 1px solid var(--aurum-line-soft) !important;
}

@media (max-width: 800px) {
  body:has(#hero) #root > div:has(#hero) nav { padding-inline: 18px !important; }
  body:has(#hero) #root > div:has(#hero) nav .nav-links { display: none !important; }
  body:has(#hero) #hero { min-height: auto !important; padding: 108px 22px 72px !important; }
  body:has(#hero) #hero .hero-grid { grid-template-columns: 1fr !important; gap: 44px !important; }
  body:has(#hero) #hero .hero-title { font-size: clamp(52px, 15vw, 80px) !important; }
  body:has(#hero) #root > div > section:not(#hero) { width: calc(100% - 44px) !important; padding: 76px 0 !important; }
  body:has(#hero) #root > div > section .feat-grid { grid-template-columns: 1fr !important; }
  body:has(#hero) .pft-final-cta { padding: 92px 22px !important; }
}

/* Theme bridge: the AURUM skin is dark-first, but it must release every
 * surface when the existing app theme controller adds pft-force-light. */
body.pft-force-light:not(:has(#hero)),
body.pft-force-light:not(:has(#hero)) #root,
body.pft-force-light:not(:has(#hero)) #root > div {
  background: #f4f6f9 !important;
  color: #111827 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.pft-topbar, .pft-sidebar, .pft-desktop-toolbar, .pft-workspace-switch) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d9dee7 !important;
  box-shadow: none !important;
}

body.pft-force-light:not(:has(#hero)) .pft-main,
body.pft-force-light:not(:has(#hero)) :is(.pft-content, .pft-content-page, .pft-journal-preview) {
  background: #f4f6f9 !important;
  color: #111827 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.pft-sidebar button, .pft-sidebar a, .pft-topbar button, .pft-desktop-toolbar button, .pft-workspace-switch button) {
  color: #526071 !important;
}

body.pft-force-light:not(:has(#hero)) .pft-sidebar :is([aria-current="page"], .active, [data-active="true"]) {
  background: #f4edd8 !important;
  color: #111827 !important;
  border-color: #c9a84c !important;
  box-shadow: inset 3px 0 0 #c9a84c !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-card, .ap-card, .fx-card, .pft-card, .journal-editor-card, .analysis-designed .journal-card, .journal-notes-designed > .journal-card) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d9dee7 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-card, .ap-card, .fx-card, .pft-card) :is(h1, h2, h3, h4, strong),
body.pft-force-light:not(:has(#hero)) :is(.pft-content-page-heading [data-pagetitle], .journal-header h1) {
  color: #111827 !important;
}

body.pft-force-light:not(:has(#hero)) :is(input, textarea, select, summary, .pft-profile-trigger, .journal-account-menu summary) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d9dee7 !important;
}

body.pft-force-light:not(:has(#hero)) :is(input, textarea, select)::placeholder {
  color: #778396 !important;
}

body.pft-force-light:not(:has(#hero)) :is(button, [role="button"]):not(:disabled):not(.primary):not(.gold):not([data-primary="true"]):not(#add-trade):not(#save-journal):not(#save-trade):not(.journal-save-button) {
  background: #ffffff !important;
  color: #344155 !important;
  border-color: #d9dee7 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-day, .analysis-designed .analysis-day-track, .journal-dashboard-designed .journal-day) {
  background: #f7f8fa !important;
  border-color: #d9dee7 !important;
  color: #526071 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-table, table) {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d9dee7 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-table th, table th) {
  background: #f7f8fa !important;
  color: #667286 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-table td, table td) {
  border-color: #e3e7ee !important;
  color: #1f2937 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-positive, .positive, [data-positive="true"]) {
  color: #9b7415 !important;
}

body.pft-force-light:not(:has(#hero)) :is(.journal-negative, .negative, [data-negative="true"]) {
  color: #c2413b !important;
}

body.pft-force-light:has(#hero),
body.pft-force-light:has(#hero) #root,
body.pft-force-light:has(#hero) #root > div {
  background: #f7f8fb !important;
  color: #111827 !important;
}

body.pft-force-light:has(#hero) #root > div:has(#hero) nav {
  background: rgba(255, 255, 255, .94) !important;
  border-color: #d9dee7 !important;
  color: #111827 !important;
}

body.pft-force-light:has(#hero) #root > div:has(#hero) nav :is(.nav-link, a, button:not(.nav-btn)) {
  color: #526071 !important;
}

body.pft-force-light:has(#hero) #hero,
body.pft-force-light:has(#hero) #root > div:has(#hero) section {
  background: #f7f8fb !important;
  color: #111827 !important;
}

body.pft-force-light:has(#hero) #hero .hero-title,
body.pft-force-light:has(#hero) #root > div:has(#hero) section :is(h1, h2, h3) {
  color: #111827 !important;
}

body.pft-force-light:has(#hero) #hero .hero-title > div:last-child {
  color: #a77c00 !important;
}

body.pft-force-light:has(#hero) #hero p,
body.pft-force-light:has(#hero) #root > div:has(#hero) section p {
  color: #526071 !important;
}

body.pft-force-light:has(#hero) #hero .pft-hero-demo,
body.pft-force-light:has(#hero) #root > div:has(#hero) section .feat-card {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #d9dee7 !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07) !important;
}

body.pft-force-light:has(#hero) #hero .pft-demo-topbar,
body.pft-force-light:has(#hero) #hero .pft-demo-card {
  background: #f7f8fa !important;
  color: #111827 !important;
  border-color: #e1e5eb !important;
}
