/* Public market hub — "FT editorial" theme (standalone; does not touch app.css).
   Warm salmon paper, serif headlines, markets-meets-newspaper. No build step. */
:root {
  --paper:   #fff1e5;   /* FT salmon */
  --card:    #fff9f2;   /* slightly lighter paper for surfaces */
  --ink:     #262320;   /* warm near-black */
  --ink-2:   #3b3530;
  --muted:   #6b635c;
  --line:    #ecdcca;   /* warm hairline */
  --line-2:  #e0cdb6;
  --claret:  #990f3d;   /* FT claret — kickers, accents */
  --blue:    #0f5499;   /* FT link blue */
  --teal:    #0d7680;
  --up:      #0a7d52;
  --down:    #c1271d;
  --shadow:  0 1px 0 rgba(76,53,28,.06);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: "Lora", Georgia, "Times New Roman", serif; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .35em; color: var(--ink); font-weight: 600; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* masthead */
.ft-masthead { padding-top: 18px; }
.ft-masthead .top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ft-masthead .kicker { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--claret); font-weight: 700; margin-bottom: 4px; }
.ft-masthead h1 { font-size: 40px; letter-spacing: -.2px; margin: 0; }
.ft-masthead .tagline { font-style: italic; color: var(--muted); font-family: "Lora", Georgia, serif; font-size: 17px; }
.ft-masthead .asof { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding-bottom: 6px; }
.ft-rule { border: 0; border-top: 3px solid var(--ink); margin: 14px 0 0; }
.ft-rule.thin { border-top: 1px solid var(--line-2); margin: 0; }

/* section nav */
.ft-nav { }
.ft-nav .wrap { display: flex; gap: 22px; padding: 10px 24px; flex-wrap: wrap; }
.ft-nav a { color: var(--ink); font-family: "Lora", Georgia, serif; font-size: 15px; padding: 4px 0;
  border-bottom: 2px solid transparent; }
.ft-nav a:hover { text-decoration: none; border-bottom-color: var(--line-2); }
.ft-nav a.active { border-bottom-color: var(--claret); color: var(--claret); font-weight: 600; }

/* ticker strip */
.ft-ticker { background: #15110e; color: #f6ead9; overflow: hidden; white-space: nowrap; }
.ft-ticker .row { display: inline-flex; gap: 30px; padding: 8px 24px; animation: scroll 44s linear infinite; }
.ft-ticker:hover .row { animation-play-state: paused; }
.ft-ticker .sym { font-weight: 700; letter-spacing: .06em; }
.ft-ticker .px { margin-left: 8px; font-variant-numeric: tabular-nums; }
.ft-ticker .chg { margin-left: 6px; font-variant-numeric: tabular-nums; }
.ft-ticker .up { color: #5fd0a0; } .ft-ticker .down { color: #ff8a7a; } .ft-ticker .flat { color: #b6ada1; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* layout */
.ft-main { padding: 26px 24px 60px; }
.grid { display: grid; grid-template-columns: 1fr 350px; gap: 38px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; gap: 28px; } }
.panel { margin-bottom: 30px; }
.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--claret); margin-bottom: 8px; }
aside .eyebrow { border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }

/* index hero */
.hero { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 30px; }
.hero .head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.hero .value { font-family: "Lora", Georgia, serif; font-size: 46px; font-weight: 600; letter-spacing: -.5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero .chgbig { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero .chgbig.up { color: var(--up); } .hero .chgbig.down { color: var(--down); }
.hero .spark { margin: 12px 0 6px; }
.hero .overview { font-family: "Lora", Georgia, serif; color: var(--ink-2); font-size: 16px; margin: 8px 0 0; max-width: 62ch; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.badge.up { background: #e3f3eb; color: var(--up); } .badge.down { background: #fbe7e4; color: var(--down); } .badge.flat { background: #efe7dd; color: var(--muted); }

/* news — editorial stories */
.story { padding: 20px 0; border-bottom: 1px solid var(--line); }
.story:first-of-type { padding-top: 6px; }
.story:last-child { border-bottom: 0; }
.story .kick { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.story .kick .cat { color: var(--claret); }
.story .kick .cat.macro { color: #b54708; } .story .kick .cat.market { color: var(--blue); }
.story .kick .cat.opinion { color: #6b21a8; font-style: italic; }
.story.opinion h3 { font-style: italic; }
.story .odisc { font-size: 12px; color: #8a877d; border-top: 1px solid #e4e0d2;
  padding-top: 8px; margin-top: 10px; }
.story .kick .when { color: var(--muted); font-weight: 600; }
.story .sdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.sdot.pos { background: var(--up);} .sdot.neg { background: var(--down);} .sdot.neu { background: #b39a82; }
.story h3 { font-size: 22px; margin: 0 0 6px; }
.story.lead h3 { font-size: 30px; }
.story p { margin: 6px 0 0; color: var(--ink-2); font-family: "Lora", Georgia, serif; }
.story.lead p { font-size: 18px; }

/* watchlist / tables */
table { width: 100%; border-collapse: collapse; }
.watchlist td, .watchlist th { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.watchlist th { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.watchlist td:first-child, .watchlist th:first-child { text-align: left; }
.watchlist tr:last-child td { border-bottom: 0; }
.watchlist .sym { font-weight: 700; color: var(--ink); }
.watchlist .co { color: var(--muted); font-size: 12px; display: block; }
.watchlist .spk { width: 64px; padding-right: 10px; }
.dtable td, .dtable th { padding: 8px 4px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.dtable th { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dtable td:first-child, .dtable th:first-child { text-align: left; }
.dtable tr:last-child td { border-bottom: 0; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; font-style: italic; }

/* landing — market cards */
.mktgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 20px; }
a.mktcard { display: block; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--claret);
  border-radius: 4px; padding: 20px; color: var(--ink); box-shadow: var(--shadow); transition: box-shadow .12s, transform .12s; }
a.mktcard:hover { text-decoration: none; box-shadow: 0 6px 22px rgba(76,53,28,.14); transform: translateY(-2px); }
a.mktcard .eyebrow { color: var(--muted); }
a.mktcard h2 { font-size: 22px; margin: 4px 0 8px; }
a.mktcard .tag { font-family: "Lora", Georgia, serif; font-style: italic; color: var(--ink-2); }
a.mktcard .status { margin-top: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
a.mktcard .status .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: middle; }
.status.live { color: var(--up); } .status.live .dot { background: var(--up); }
.status.pre { color: var(--muted); } .status.pre .dot { background: #c9b9a6; }
