*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--lfc-bg);
  color: var(--lfc-text);
  font: 14px/1.6 var(--lfc-font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--lfc-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
h4 {
  color: var(--lfc-text-strong);
  line-height: 1.3;
  margin: 0 0 12px;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  font-weight: 650;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.35px;
}
h3 {
  font-size: 16px;
}
p {
  margin: 0 0 14px;
}
small {
  font-size: 12px;
}
.hidden,
[hidden] {
  display: none !important;
}
.sub,
.mut,
.muted,
.method,
.section-note {
  color: var(--lfc-muted);
}
.sub {
  font-size: 14px;
  margin: 8px 0 24px;
  max-width: 800px;
}
.mut,
.method {
  font-size: 12px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--lfc-primary);
  margin: 0 0 10px;
}
.positive,
.pos {
  color: var(--lfc-positive);
}
.negative,
.neg {
  color: var(--lfc-negative);
}
body[data-page] {
  padding-left: 244px;
  display: block;
}
.sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #102c3e;
  color: #cad8e0;
  display: flex;
  flex-direction: column;
  padding: 32px 18px 20px;
  z-index: 40;
}
.portal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.4px;
  padding: 0 7px;
  margin-bottom: 45px;
}
.portal-brand:hover {
  color: #fff;
  text-decoration: none;
}
.brand-clear {
  font-weight: 400;
  color: #b6dadb;
}
.portal-brand small {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: #81a7b7;
  margin-top: 7px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 40px;
  background: #24505d;
  border: 1px solid #42707a;
  border-radius: 10px;
  color: #81e2d8;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 23px;
  height: 23px;
}
.nav-caption {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #7193a5;
  padding-left: 14px;
  margin-bottom: 14px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav a,
.sidebar nav .nav-broker {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  color: #b4cad6;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 500;
  position: relative;
}
.sidebar nav .nav-broker {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.sidebar nav .nav-broker:hover { color: #fff; }
.sidebar nav a:hover,
.sidebar nav .nav-broker:hover {
  background: #1b3c4f;
  color: #fff;
  text-decoration: none;
}
.sidebar nav a[aria-current] {
  color: #fff;
  background: #245061;
}
.sidebar nav a svg,
.sidebar nav .nav-broker svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  opacity: 0.85;
}
.sidebar nav a i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #70d1c7;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.privacy-note {
  display: flex;
  gap: 11px;
  padding: 16px 12px;
  border-top: 1px solid #2b4658;
  margin-bottom: 14px;
  font-size: 12px;
  color: #d5e2e7;
}
.privacy-note svg {
  width: 18px;
  margin-top: 4px;
}
.privacy-note small {
  font-size: 10px;
  color: #7398ab;
}
.sidebar-bottom button {
  width: 100%;
  border: 0;
  background: transparent;
  color: #afc7d2;
  text-align: left;
  font-size: 12px;
  padding: 10px 13px;
  min-height: 40px;
}
.sidebar-bottom button:hover {
  background: #1b3c4f;
}
.sidebar-bottom #logoutBtn {
  color: #fff;
  display: flex;
  justify-content: space-between;
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 38px;
  background: var(--lfc-surface);
  border-bottom: 1px solid var(--lfc-border-soft);
}
.breadcrumb {
  font-size: 12px;
  color: var(--lfc-muted);
}
.breadcrumb span {
  margin: 0 12px;
  color: #b5c4ce;
}
.breadcrumb strong {
  font-weight: 500;
  color: var(--lfc-text);
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lfc-primary-soft);
  color: var(--lfc-primary);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.private-badge {
  font-size: 10px;
  letter-spacing: 0.2px;
  padding: 5px 9px;
  border: 1px solid var(--lfc-border);
  border-radius: 6px;
  margin-right: 14px;
  color: var(--lfc-muted);
}
.menu-toggle {
  display: none;
}
.nav-overlay {
  display: none;
}
main {
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  padding: 36px 38px 48px;
  min-width: 0;
  display: block;
}
main > * {
  min-width: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.page-heading .sub {
  margin-bottom: 0;
}
.overview-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.metric {
  border: 1px solid var(--lfc-border);
  border-radius: 12px;
  padding: 20px 22px;
  background: var(--lfc-surface);
  box-shadow: var(--lfc-shadow);
}
.metric span {
  display: block;
  font-size: 12px;
  color: var(--lfc-muted);
}
.metric strong {
  display: block;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.6;
  color: var(--lfc-text-strong);
}
.metric small {
  font-size: 11px;
  color: var(--lfc-muted);
}
.card,
.hero {
  background: var(--lfc-surface);
  border: 1px solid var(--lfc-border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--lfc-shadow);
  overflow: hidden;
}
.card > h2 {
  margin: -24px -24px 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--lfc-border-soft);
}
.card > h3 {
  margin-bottom: 18px;
}
.card .content {
  display: grid;
  gap: 18px;
}
.card-head,
.section > header {
  position: static;
  background: transparent;
  padding: 0;
  border: 0;
  margin-bottom: 16px;
  display: block;
}
.section > header h1 {
  font-size: 28px !important;
}
.section > header h2 {
  font-size: 18px;
}
.section {
  margin-bottom: 26px;
}
.wrap {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}
.site-footer {
  padding: 24px 38px;
  border-top: 1px solid var(--lfc-border);
  color: var(--lfc-muted);
  font-size: 12px;
}
.data-strip {
  background: var(--lfc-primary-soft);
  border-bottom: 1px solid var(--lfc-border);
  padding: 9px 38px;
  font-size: 11px;
  color: var(--lfc-primary);
}
.data-strip strong {
  color: var(--lfc-primary);
}
.data-strip .wrap {
  padding: 0;
  gap: 18px;
}
.fund-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--lfc-border);
}
.fund-tabs a {
  font-size: 12px;
  color: var(--lfc-muted);
  padding: 9px 13px;
  min-height: 38px;
  border-radius: 7px;
}
.fund-tabs a[aria-current] {
  color: var(--lfc-primary);
  background: var(--lfc-primary-soft);
  font-weight: 600;
}
.hero h1 {
  max-width: 30ch;
  font-size: 32px;
}
.hero {
  padding: 28px;
}
.hero .lede {
  max-width: 68ch;
}
button,
.button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--lfc-border);
  border-radius: 8px;
  background: var(--lfc-surface);
  color: var(--lfc-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  white-space: normal;
}
button:hover,
.button:hover,
.btn:hover {
  border-color: var(--lfc-primary);
  background: var(--lfc-primary-soft);
  text-decoration: none;
}
.primary,
.btn-primary,
button.primary {
  background: var(--lfc-primary);
  color: #fff;
  border-color: var(--lfc-primary);
}
.primary:hover,
.btn-primary:hover,
button.primary:hover {
  background: var(--lfc-primary-hover);
  color: #fff;
}
.theme-dark .primary,
.theme-dark .btn-primary {
  color: #102c3e;
}
.danger {
  color: var(--lfc-negative);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button.ghost {
  background: transparent;
}
input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--lfc-border);
  border-radius: 8px;
  background: var(--lfc-surface);
  color: var(--lfc-text);
  padding: 9px 12px;
  max-width: 100%;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: var(--lfc-muted-soft);
}
input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  min-height: 16px;
  height: 16px;
  accent-color: var(--lfc-primary);
  vertical-align: middle;
  flex-shrink: 0;
  margin: 0 5px 0 0;
}
label {
  display: block;
  font-size: 12px;
  color: var(--lfc-muted);
  margin-bottom: 5px;
}
label input,
label select,
label textarea {
  margin-top: 5px;
}
textarea {
  resize: vertical;
}
label:has(input[type="checkbox"]) {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
label input[type="checkbox"] {
  margin-top: 0;
}
:focus-visible {
  outline: 3px solid #43ada9;
  outline-offset: 3px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.row > div {
  min-width: 0;
  max-width: 100%;
}
.filters {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(100px, 1fr));
  gap: 12px;
}
.filters #toggleWatch {
  grid-column: 1/-1;
  justify-self: start;
}
.grid2,
.grid3,
.grid4 {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.actions,
.periods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.periods select {
  width: auto;
}
.periods button.active {
  background: var(--lfc-primary-soft);
  border-color: var(--lfc-primary);
  color: var(--lfc-primary);
}
.section-title {
  font-weight: 600;
  color: var(--lfc-text-strong);
  font-size: 15px;
  margin: 12px 0 0;
}
.stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.stat,
.riskout {
  flex: 1;
  min-width: 135px;
  background: var(--lfc-surface);
  border: 1px solid var(--lfc-border);
  border-radius: 12px;
  padding: 17px;
}
.stat b,
.riskout b {
  display: block;
  font-size: 22px;
  font-weight: 600;
}
.stat span,
.riskout span {
  font-size: 11px;
  color: var(--lfc-muted);
}
.table-scroll,
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border-radius: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
th {
  color: var(--lfc-muted);
  background: var(--lfc-surface-soft);
  font-size: 10px;
  letter-spacing: 0.4px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}
td,
th {
  padding: 13px 12px;
  border-bottom: 1px solid var(--lfc-border-soft);
  vertical-align: middle;
}
td {
  white-space: nowrap;
}
td.notes {
  min-width: 210px;
  max-width: 350px;
  white-space: normal;
}
tr:hover td {
  background: var(--lfc-surface-soft);
}
.empty {
  padding: 45px 18px;
  text-align: center;
  color: var(--lfc-muted);
  font-size: 13px;
}
.empty:before {
  content: "◇";
  display: block;
  font-size: 28px;
  color: #9ab9be;
  margin-bottom: 8px;
}
.tag,
.chip,
.badge {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  background: var(--lfc-neutral-soft);
  color: var(--lfc-muted);
}
.tag.long,
.tag.open,
.tag.win,
.tag.up,
.tag.in {
  background: var(--lfc-positive-soft);
  color: var(--lfc-positive);
}
.tag.short,
.tag.loss,
.tag.down {
  background: var(--lfc-negative-soft);
  color: var(--lfc-negative);
}
.tag.manual,
.badge.stale {
  background: var(--lfc-warning-soft);
  color: var(--lfc-warning);
}
.msg {
  font-size: 12px;
  min-height: 20px;
  color: var(--lfc-primary);
  margin: 14px 0 0;
}
.disclaimer {
  font-size: 11px;
  color: var(--lfc-muted);
  max-width: 980px;
  line-height: 1.7;
  margin-top: 25px;
}
.mobile-list {
  display: none;
}
.idea-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--lfc-border);
}
.idea-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 15px 0;
}
.prices span,
.prices b {
  display: block;
  font-size: 11px;
}
.prices span {
  color: var(--lfc-muted);
}
.prices b {
  font-size: 13px;
}
.skip {
  position: fixed;
  left: -10000px;
  top: 8px;
  z-index: 100;
  background: var(--lfc-surface);
  padding: 10px;
}
.skip:focus {
  left: 8px;
}
canvas {
  width: 100%;
  height: 340px;
}
#bars {
  display: flex;
  align-items: center;
  height: 270px;
  gap: 3px;
  overflow: hidden;
}
#bars .colwrap {
  flex: 1;
  height: 240px;
  min-width: 0;
}
#bars .up,
#bars .down {
  height: 105px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
#bars .down {
  align-items: flex-start;
  border-top: 1px solid var(--lfc-border);
}
.barce {
  background: #679db5;
  width: 70%;
}
.barpe {
  background: #2ba397;
  width: 70%;
}
.barlabel {
  font-size: 9px;
  text-align: center;
  color: var(--lfc-muted);
}
.flip {
  font-size: 12px;
  color: var(--lfc-muted);
  margin-top: 12px;
}
.atm {
  background: var(--lfc-primary-soft);
}
.auth-pending body[data-page] > :not(.auth-error) {
  visibility: hidden;
}
.auth-error {
  position: fixed;
  inset: 25% max(16px, calc((100vw - 520px) / 2)) auto;
  background: var(--lfc-surface);
  padding: 30px;
  border: 1px solid var(--lfc-border);
  border-radius: 16px;
  z-index: 100;
  visibility: visible;
}
.auth-error h1 {
  font-size: 22px;
}
@media (min-width: 1600px) {
  main {
    padding-top: 44px;
  }
}
@media (max-width: 1180px) {
  body[data-page] {
    padding-left: 214px;
  }
  .sidebar {
    width: 214px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .portal-brand {
    font-size: 15px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 30px 26px;
  }
  .filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filters > input {
    grid-column: 1/-1;
  }
  .overview-grid,
  .summary-grid {
    gap: 12px;
  }
  .metric {
    padding: 18px;
  }
  .data-strip {
    padding-left: 26px;
    padding-right: 26px;
  }
}
@media (max-width: 900px) {
  body[data-page] {
    padding-left: 0;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
  }
  .nav-open .sidebar {
    transform: translateX(0);
  }
  .nav-open .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: #102c3e80;
    border: 0;
    border-radius: 0;
    z-index: 35;
  }
  .nav-open {
    overflow: hidden;
  }
  .menu-toggle {
    display: inline-flex;
    font-size: 19px;
    min-width: 40px;
    min-height: 40px;
    padding: 5px;
  }
  .topbar {
    height: 68px;
    padding: 0 22px;
  }
  .breadcrumb {
    margin-right: auto;
  }
  .profile #userDisplay {
    display: none;
  }
  .private-badge {
    margin-right: 0;
  }
  main {
    padding: 28px 22px;
  }
  .overview-grid,
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer {
    padding: 24px 22px;
  }
  .data-strip {
    padding: 10px 22px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 25px;
    letter-spacing: -0.7px;
  }
  main {
    padding: 24px 16px 36px;
  }
  .topbar {
    padding: 0 16px;
    gap: 10px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb > span {
    margin: 0 6px;
  }
  .private-badge {
    display: none;
  }
  .page-heading {
    display: block;
    margin-bottom: 22px;
  }
  .page-heading .button {
    margin-top: 18px;
  }
  .overview-grid {
    gap: 10px;
    margin-bottom: 20px;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 25px;
  }
  .metric small {
    font-size: 10px;
  }
  .metric span {
    font-size: 11px;
  }
  .card,
  .hero {
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .card > h2 {
    margin: -18px -18px 18px;
    padding: 17px 18px;
    font-size: 16px;
  }
  .grid2,
  .grid3,
  .grid4 {
    grid-template-columns: 1fr;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters > * {
    min-width: 0;
  }
  .row {
    gap: 12px;
  }
  .row > div[style*="min-width:260px"] {
    min-width: 0 !important;
    flex-basis: 100% !important;
  }
  .row > div:has(> input),
  .row > div:has(> select) {
    flex: 1 1 120px;
  }
  .row input:not([type="checkbox"]),
  .row select,
  .row textarea {
    width: 100% !important;
  }
  .row > button {
    flex: 1 1 auto;
  }
  .row > input {
    max-width: 100%;
  }
  .desktop-table {
    display: none;
  }
  .mobile-list {
    display: block;
  }
  .fund-tabs {
    gap: 3px;
  }
  .fund-tabs a {
    padding: 8px 9px;
    font-size: 11px;
  }
  .hero h1 {
    font-size: 26px;
  }
  .data-strip {
    padding: 9px 16px;
  }
  .data-strip .wrap {
    gap: 5px 14px;
  }
  .stat,
  .riskout {
    min-width: 125px;
    padding: 14px;
  }
  .stat b {
    font-size: 19px;
  }
  .site-footer {
    padding: 22px 16px;
  }
  .stat-row {
    gap: 12px;
  }

}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

#bars:empty { justify-content:center; align-items:center; min-height:160px; height:180px; }
#bars:empty::before {content:"Option-chain data will appear here when the source is available.";color:var(--lfc-muted);font-size:13px;text-align:center;max-width:35ch;}
#importBox {background:var(--lfc-surface);color:var(--lfc-text);border-color:var(--lfc-border)}
.notice {background:var(--lfc-warning-soft);border:1px solid var(--lfc-border);padding:15px 18px;margin-bottom:20px;border-radius:10px;color:var(--lfc-warning)}

.sidebar > * { flex-shrink: 0; }

/* ---------------------------------------------------------------------------
   Tredye design pass — light surfaces, hairline borders, indigo accents.
   Overrides the legacy teal-on-slate shell; colour values come from tokens.css.
   --------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--lfc-font-display);
  letter-spacing: -0.02em;
  font-weight: 700;
}
:focus-visible {
  outline: 2px solid var(--lfc-primary);
  outline-offset: 2px;
}
.sidebar {
  background: var(--lfc-surface);
  color: var(--lfc-text);
  border-right: 1px solid var(--lfc-border);
}
.portal-brand,
.portal-brand:hover {
  color: var(--lfc-text-strong);
  font-family: var(--lfc-font-display);
  font-weight: 800;
}
.brand-clear {
  color: var(--lfc-primary);
  font-weight: 700;
}
.portal-brand small {
  color: var(--lfc-muted);
  letter-spacing: 1.4px;
}
.brand-mark {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
  border-radius: 12px;
}
.nav-caption {
  color: var(--lfc-muted);
}
.sidebar nav a,
.sidebar nav .nav-broker {
  color: var(--lfc-text);
  border-radius: var(--lfc-radius-sm);
}
.sidebar nav a:hover,
.sidebar nav .nav-broker:hover {
  background: var(--lfc-surface-soft);
  color: var(--lfc-text-strong);
}
.sidebar nav a[aria-current] {
  background: var(--lfc-primary-soft);
  color: var(--lfc-primary);
  font-weight: 600;
}
.sidebar nav a[aria-current] svg {
  opacity: 1;
}
.sidebar nav a i {
  background: var(--lfc-primary);
}
.privacy-note {
  border-top-color: var(--lfc-border);
  color: var(--lfc-text);
}
.privacy-note small {
  color: var(--lfc-muted);
}
.sidebar-bottom button {
  color: var(--lfc-text);
}
.sidebar-bottom button:hover {
  background: var(--lfc-surface-soft);
}
.sidebar-bottom #logoutBtn {
  color: var(--lfc-text-strong);
}
.nav-open .nav-overlay {
  background: rgba(15, 23, 42, 0.32);
}
button,
.button,
.btn,
input,
select,
textarea {
  border-radius: var(--lfc-radius-sm);
}
button:hover,
.button:hover,
.btn:hover {
  border-color: #c7d2fe;
  background: var(--lfc-primary-soft);
  color: var(--lfc-primary);
}
.primary:hover,
.btn-primary:hover,
button.primary:hover {
  background: var(--lfc-primary-hover);
  color: #fff;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--lfc-primary);
  box-shadow: 0 0 0 3px var(--lfc-primary-soft);
  outline: none;
}
.metric strong,
.stat b,
.riskout b {
  font-family: var(--lfc-font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.02em;
}
th {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card,
.hero {
  box-shadow: var(--lfc-shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--lfc-shadow-raise);
}
