/* Tradedge Pulse · site styles (single brand theme: ink + gold) */
:root {
  --ink: #0B0E14; --ink2: #121722; --ink3: #1A2130; --line-d: #252D3B; --text-d: #E9EBEF; --muted-d: #9AA3B2;
  --gold: #F2B90F; --gold-d: #B8860B; --gold-soft: rgba(242,185,15,.12);
  --paper: #FFFFFF; --paper2: #F7F6F2; --text: #14181F; --muted: #5C6572; --line: #E4E6EA;
  --pos: #1E8E5A; --neg: #C0392B; --pos-soft: #E7F5EE; --neg-soft: #FBECEA;
  --display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px; --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: .02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-d); }
.dark .eyebrow { color: var(--gold); }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.dark .lede { color: var(--muted-d); }
.gold { color: var(--gold); }
.dark { background: var(--ink); color: var(--text-d); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.pos { color: var(--pos); font-weight: 600; } .neg { color: var(--neg); font-weight: 600; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(11,14,20,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; letter-spacing: .14em; font-size: 1rem; }
.logo svg { flex: none; }
.logo small { color: var(--gold); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #C9CED6; text-decoration: none; font-size: .92rem; padding: 8px 11px; border-radius: 4px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--ink3); }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; padding: 12px 20px; border-radius: 3px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: #FFCB2E; color: #111; transform: translateY(-1px); }
.btn-ghost { border-color: #3A4353; color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222a37; color: #fff; }
.nav .btn { padding: 9px 16px; margin-left: 8px; color: #111; }
.menu-btn { display: none; background: none; border: 1px solid #3A4353; color: #fff; border-radius: 4px; padding: 8px 10px; font: inherit; }
@media (max-width: 1180px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--ink); border-bottom: 1px solid var(--line-d); padding: 10px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 80px); }
.hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 0%, rgba(242,185,15,.18), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(242,185,15,.06), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 .gold { display: block; }
.hero .lede { margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chart-card { background: var(--ink2); border: 1px solid var(--line-d); border-radius: 6px; padding: 20px 20px 14px; box-shadow: 0 30px 80px -40px rgba(242,185,15,.35); }
.chart-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.chart-card .big { font-family: var(--display); font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.chart-card .cap { font-family: var(--mono); font-size: .72rem; color: var(--muted-d); letter-spacing: .08em; text-transform: uppercase; }
.chart-card svg { width: 100%; height: auto; margin-top: 10px; display: block; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 4px; overflow: hidden; margin-top: 16px; }
.kpis div { background: var(--ink2); padding: 10px 12px; }
.kpis b { display: block; font-family: var(--mono); font-size: 1.05rem; color: #fff; font-weight: 600; }
.kpis span { font-size: .68rem; color: var(--muted-d); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* strip */
.strip { background: var(--ink2); border-block: 1px solid var(--line-d); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; justify-content: space-between; padding-block: 18px; }
.strip span { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); display: flex; align-items: center; gap: 10px; }
.strip span:before { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* sections */
.section { padding-block: clamp(56px, 8vw, 100px); }
.section.alt { background: var(--paper2); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.step { border-top: 3px solid var(--gold); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.step .n { font-family: var(--mono); color: var(--gold-d); font-size: .8rem; letter-spacing: .12em; }
.step p { color: var(--muted); font-size: .96rem; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.section.alt .card { background: #fff; }
.card .tag { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-d); }
.card p { color: var(--muted); font-size: .96rem; }
.card ul { margin: 0; padding-left: 18px; color: var(--text); font-size: .94rem; display: grid; gap: 4px; }
.card .more { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; font-size: .86rem; text-decoration: none; margin-top: 4px; }
.card.feature { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 3px; padding: 16px 18px; background: #fff; }
.tile b { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.tile span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tile small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th { font-family: var(--mono); font-weight: 500; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; text-align: left; color: var(--muted); background: var(--paper2); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FBFAF6; }
details.trades { border: 1px solid var(--line); border-radius: 4px; background: #fff; margin-top: 14px; }
details.trades summary { cursor: pointer; padding: 14px 16px; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; }
details.trades summary:after { content: "+"; color: var(--gold-d); }
details.trades[open] summary:after { content: "−"; }
details.trades .table-wrap { border: 0; border-top: 1px solid var(--line); border-radius: 0; }

/* interactive equity chart */
.eqchart { position: relative; }
.eqchart svg { width: 100%; height: auto; display: block; }
.eq-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .76rem; padding: 7px 10px; border-radius: 3px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; }
.eq-tip.on { opacity: 1; }

/* heatmap */
.heat { display: grid; grid-template-columns: 56px repeat(12, minmax(38px, 1fr)) 72px; gap: 3px; min-width: 640px; font-family: var(--mono); font-size: .78rem; }
.heat div { padding: 9px 4px; text-align: center; border-radius: 2px; }
.heat .h { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.heat .y { text-align: left; color: var(--muted); }
.heat .t { font-weight: 600; text-align: right; }

.bars { display: grid; gap: 10px; }
.bars .row { display: grid; grid-template-columns: 170px 1fr 48px; gap: 12px; align-items: center; font-size: .9rem; }
.bars .bar { height: 12px; background: var(--paper2); border-radius: 0 3px 3px 0; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--gold-d); border-radius: 0 3px 3px 0; }
@media (max-width: 520px) { .bars .row { grid-template-columns: 1fr 48px; } .bars .bar { grid-column: 1 / -1; order: 3; } }

.note { background: var(--paper2); border-left: 3px solid var(--gold); padding: 16px 18px; font-size: .92rem; color: #3A414B; border-radius: 0 3px 3px 0; }
.warn { background: var(--neg-soft); border-left: 3px solid var(--neg); padding: 16px 18px; font-size: .92rem; border-radius: 0 3px 3px 0; }

.stage { border: 1px solid var(--line); border-radius: 6px; padding: 20px; background: #fff; display: grid; gap: 6px; }
.stage .h { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; align-items: center; font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.badge { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; background: var(--pos-soft); color: var(--pos); }
.stage .v { font-family: var(--display); font-size: 2rem; font-weight: 600; }
.stage small { color: var(--muted); font-size: .84rem; line-height: 1.55; }

/* founder */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder img { border-radius: 6px; border: 1px solid rgba(242,185,15,.5); box-shadow: 0 0 0 8px rgba(242,185,15,.06); }
.founder blockquote { margin: 22px 0 0; font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; line-height: 1.25; border-left: 3px solid var(--gold); padding-left: 18px; color: #fff; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 360px; } }
.facts { display: grid; border-top: 1px solid var(--line-d); margin-top: 22px; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-d); font-size: .93rem; }
.facts span:first-child { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); padding-top: 3px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: .03em; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary:after { content: "+"; color: var(--gold-d); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary:after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); max-width: 75ch; }

/* forms */
.form { display: flex; flex-wrap: wrap; gap: 10px; }
.form input, .form select { flex: 1 1 220px; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--text); }
.dark .form input, .dark .form select { background: var(--ink2); border-color: var(--line-d); color: #fff; }
.form-msg { font-size: .9rem; margin-top: 10px; color: var(--pos); }

/* products */
.plan { position: relative; }
.plan .price { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.plan .price small { font-family: var(--body); font-size: .8rem; color: var(--muted); font-weight: 400; text-transform: none; display: block; }
.steps-list { counter-reset: s; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps-list li:before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: .9rem; color: var(--gold-d); border: 1px solid var(--line); border-radius: 3px; text-align: center; padding: 6px 0; }
.steps-list b { display: block; font-family: var(--display); text-transform: uppercase; font-weight: 600; letter-spacing: .03em; }
.steps-list span { color: var(--muted); font-size: .94rem; }
code { font-family: var(--mono); font-size: .86em; background: var(--paper2); padding: 2px 6px; border-radius: 3px; }

/* blog */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-list { grid-template-columns: 1fr; } }
.post-card { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: #fff; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--text); }
.post-card .meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); }
.post-card h3 { font-size: 1.2rem; }
.post-card p { color: var(--muted); font-size: .93rem; }
.article { max-width: 720px; margin: 0 auto; }
.article-head { display: grid; gap: 16px; }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.byline { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted-d); }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; border: 1px solid var(--gold); }
.prose { font-size: 1.06rem; line-height: 1.75; color: #232830; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.prose .table-wrap { font-size: .92rem; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--gold); font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; line-height: 1.3; color: var(--text); }
.toc-box { background: var(--paper2); border-radius: 4px; padding: 18px 20px; font-size: .94rem; }
.toc-box ol { margin: 8px 0 0; padding-left: 1.2em; }
.cta-box { background: var(--ink); color: var(--text-d); border-radius: 6px; padding: 28px; display: grid; gap: 14px; margin-top: 2.2em; }
.cta-box h3 { color: #fff; }
.cta-box p { color: var(--muted-d); }

/* footer */
.site-foot { background: var(--ink); color: var(--muted-d); padding-block: 64px 36px; font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 1100px) { .site-foot .cols { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-foot .cols { grid-template-columns: 1fr; } }
.site-foot h4 { color: #fff; font-size: .9rem; letter-spacing: .1em; margin-bottom: 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-foot a { color: #C9CED6; text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot .legal { border-top: 1px solid var(--line-d); margin-top: 44px; padding-top: 22px; font-size: .78rem; line-height: 1.65; color: #7D8594; display: grid; gap: 10px; }
.page-hero { padding-block: clamp(48px, 7vw, 84px) clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 90% 0%, rgba(242,185,15,.14), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 18px; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.anchor-nav a { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #C9CED6; border: 1px solid var(--line-d); padding: 7px 12px; border-radius: 20px; text-decoration: none; }
.anchor-nav a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── accounts, checkout, admin, live feed ─── */
.auth-card { max-width: 520px; margin: 0 auto; border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 4vw, 32px); background: #fff; display: grid; gap: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.tabs button { font: 600 .82rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 10px; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.fields { display: grid; gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--text); }
.fields input, .fields select, .fields textarea, .plan-edit input { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--text); width: 100%; }
.fields input:focus, .fields select:focus, .fields textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.fields .chk, .plan-edit .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.fields .chk input, .plan-edit .chk input { width: auto; margin-top: 4px; }
.fields h3 { margin-top: 8px; font-size: 1rem; }
.fields .btn { justify-self: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .two { grid-template-columns: 1fr; } }
.small { font-size: .86rem; color: var(--muted); }
.form-msg.bad { color: var(--neg); }
.empty { border: 1px dashed var(--line); border-radius: 6px; padding: 22px; color: var(--muted); background: var(--paper2); }
.notice { border-left: 3px solid var(--gold); background: var(--gold-soft); padding: 16px 18px; border-radius: 0 4px 4px 0; }
.st { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 20px; background: #EEF0F3; color: var(--muted); white-space: nowrap; }
.st-approved, .st-active, .st-closed { background: var(--pos-soft); color: var(--pos); }
.st-pending, .st-running, .st-open, .st-upcoming { background: var(--gold-soft); color: var(--gold-d); }
.st-rejected, .st-expired, .st-cancelled { background: var(--neg-soft); color: var(--neg); }
.side { font-family: var(--mono); font-size: .72rem; font-weight: 600; padding: 2px 7px; border-radius: 3px; }
.side-buy { background: var(--pos-soft); color: var(--pos); } .side-sell { background: var(--neg-soft); color: var(--neg); }
.lock { font-family: var(--mono); font-size: .72rem; color: var(--muted); }
td.latest { color: var(--muted); font-size: .84rem; min-width: 160px; white-space: normal; max-width: 420px; }
details.rel-notes { margin-top: 10px; font-size: .86rem; color: var(--muted); }
details.rel-notes summary { cursor: pointer; color: var(--ink); font-weight: 500; list-style: revert; }
details.rel-notes > div { white-space: pre-line; overflow-wrap: anywhere; margin-top: 8px; line-height: 1.55; }
td.latest details.rel-notes { margin-top: 0; }
td.latest details.rel-notes summary { font-weight: 400; color: var(--muted); }
td.latest details.rel-notes[open] summary { color: var(--ink); }
details.rel-notes .more { color: var(--gold-d); font-size: .78rem; margin-left: 4px; text-decoration: underline; }
details.rel-notes[open] .more { display: none; }
.plan-now { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.plan-now h3 { font-size: 1.6rem; margin: 4px 0; }
.plan-now .days { text-align: center; border: 1px solid var(--line); border-radius: 6px; padding: 10px 16px; }
.plan-now .days b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; }
.plan-now .days span { font-size: .78rem; color: var(--muted); }
.dark-ghost { color: var(--text); border-color: var(--line); }
.picks { display: grid; gap: 10px; }
.pick { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; cursor: pointer; background: #fff; }
.pick:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.pick input { accent-color: var(--gold-d); width: 18px; height: 18px; }
.pick span { display: grid; gap: 2px; } .pick small { color: var(--muted); }
.pay-box { position: sticky; top: 84px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.kv span { color: var(--muted); } .kv b { text-align: right; word-break: break-all; }
.copy { cursor: copy; font-family: var(--mono); font-weight: 500; }
.copy.copied:after { content: " ✓ copied"; color: var(--pos); font-family: var(--body); font-size: .8rem; }
.pay-amt { font-size: 1.05rem; padding: 12px 14px; background: var(--paper2); border-radius: 4px; }
.card.done { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.btn-sm { padding: 7px 12px; font-size: .78rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
td.acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 260px; }
td.acts .note-in { font: inherit; font-size: .84rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 3px; flex: 1 1 120px; }
.plan-edit { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 6px; padding: 14px; background: #fff; }
.plan-edit > b { font-family: var(--mono); width: 100%; font-size: .8rem; color: var(--gold-d); text-transform: uppercase; }
.plan-edit label { display: grid; gap: 4px; font-size: .8rem; font-weight: 600; flex: 1 1 120px; }
.settings { max-width: 760px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2ECC71; margin-right: 6px; box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: pulse 1.8s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 90; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; background: var(--ink); color: var(--text-d); border: 1px solid var(--line-d); border-radius: 6px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .9rem; }
.cookie-bar a { color: var(--gold); }
.cookie-btns { display: flex; gap: 8px; }
.ed-split { grid-template-columns: 1.1fr 1fr; }
@media (max-width: 1000px) { .ed-split { grid-template-columns: 1fr; } }
.ed-preview { max-height: 900px; overflow: auto; padding: 24px; font-size: .98rem; }
.slugrow { display: flex; align-items: center; gap: 8px; } .slugrow span { font-weight: 400; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; }
.toolbar button { font: 600 .8rem/1 var(--body); padding: 8px 10px; border: 1px solid var(--line); background: #fff; border-radius: 3px; cursor: pointer; }
.toolbar button:hover { border-color: var(--gold); }
#ed-body { font-family: var(--mono); font-size: .92rem; line-height: 1.6; min-height: 420px; }
.count { font-weight: 400; color: var(--muted); font-size: .78rem; } .count.warn-c { color: var(--neg); }
.st-draft, .st-new, .st-customer { background: #EEF0F3; color: var(--muted); } .st-published, .st-admin { background: var(--pos-soft); color: var(--pos); } .st-editor { background: var(--gold-soft); color: var(--gold-d); }

/* ─── blog: WordPress-style layout ─── */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .blog-layout { grid-template-columns: minmax(0, 1fr); } }
.blog-main { min-width: 0; }
.prose .table-wrap { margin: 1.2em 0; }
.blog-layout .article { max-width: none; margin: 0; }
.blog-side { display: grid; gap: 20px; position: sticky; top: 84px; }
@media (max-width: 960px) { .blog-side { position: static; } }
.widget { border: 1px solid var(--line); border-radius: 6px; padding: 18px; background: #fff; }
.widget h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.widget ul, .widget ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.widget a { color: var(--text); text-decoration: none; } .widget a:hover { color: var(--gold-d); }
.side-cats li { display: flex; justify-content: space-between; gap: 10px; } .side-cats span { font-family: var(--mono); font-size: .75rem; color: var(--muted); background: var(--paper2); border-radius: 10px; padding: 1px 8px; }
.side-posts li { display: grid; gap: 2px; } .side-posts small { color: var(--muted); font-size: .76rem; }
.side-top { counter-reset: t; } .side-top li { counter-increment: t; display: grid; grid-template-columns: 26px 1fr; } .side-top li:before { content: counter(t); font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--gold-d); }
.side-search { display: flex; gap: 6px; } .side-search input { flex: 1; min-width: 0; font: inherit; padding: 9px 11px; border: 1px solid var(--line); border-radius: 3px; }
.side-search.big { margin-bottom: 8px; } .side-search.big input { padding: 12px 14px; }
.widget-cta { background: var(--ink); color: var(--text-d); border-color: var(--ink); } .widget-cta p { color: var(--muted-d); font-size: .9rem; margin-bottom: 12px; } .widget-cta h4 { color: #fff; }
.blog-list { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .blog-list { grid-template-columns: 1fr; } }
.post-card.has-thumb { padding: 0; overflow: hidden; } .post-card.has-thumb > :not(.thumb) { margin-inline: 20px; } .post-card.has-thumb > p:last-child { margin-bottom: 20px; }
.post-card .thumb { aspect-ratio: 16 / 9; background: var(--ink) center / cover no-repeat; }
.post-card .thumb.ph { display: flex; align-items: flex-end; padding: 16px; background: radial-gradient(80% 90% at 90% 0%, rgba(242,185,15,.28), transparent 60%), linear-gradient(135deg, #121722, #0B0E14); }
.post-card .thumb.ph span { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-size: .95rem; }
.post-card[hidden] { display: none !important; }
.ad-slot { border: 1px dashed var(--line); border-radius: 6px; padding: 10px; background: var(--paper2); text-align: center; overflow: hidden; }
.ad-slot .ad-label { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.blog-list .ad-slot { grid-column: 1 / -1; }
.prose .ad-slot { margin: 1.6em 0; }
.pager { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.pager a, .pager span { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; text-decoration: none; }
.pg-btn { color: var(--text); border: 1px solid var(--line); padding: 10px 14px; border-radius: 3px; }
.pg-btn:hover { border-color: var(--gold); color: var(--gold-d); }
.pg-nums { display: flex; gap: 6px; }
.pg-nums a, .pg-nums .cur, .pg-nums .gap { min-width: 36px; text-align: center; padding: 8px 10px; border-radius: 3px; color: var(--text); border: 1px solid var(--line); }
.pg-nums .cur { background: var(--ink); color: var(--gold); border-color: var(--ink); } .pg-nums .gap { border: 0; }
@media (max-width: 560px) { .pg-nums { order: -1; width: 100%; justify-content: center; } }

/* ─── signal alerts (account page) ─── */
.alert-banner { background: var(--neg-soft); color: var(--neg); border: 1px solid rgba(192,57,43,.35); border-left: 4px solid var(--neg); border-radius: 4px; padding: 14px 18px; font-size: .95rem; }
.alert-banner a { color: var(--neg); font-weight: 600; }
.alerts-card { scroll-margin-top: 90px; }
#signals { scroll-margin-top: 90px; }
.al-status { margin: 4px 0 14px; font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.al-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.al-row > div > b { display: block; font-size: .98rem; }
.al-text { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.al-text ol { margin: 8px 0 0; padding-left: 20px; }
.al-text li { margin: 4px 0; }
.al-row .cta-row { margin-top: 10px; }
.al-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.al-row.ok .al-ic { background: var(--pos-soft); color: var(--pos); }
.al-row.todo .al-ic { background: var(--gold-soft); color: var(--gold-d); }
.al-row.warn .al-ic { background: var(--neg-soft); color: var(--neg); }
.al-skip { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.al-skip input { margin-top: 4px; }
.locked { border: 1px dashed var(--line); border-radius: 4px; padding: 28px 22px; text-align: center; background: var(--paper2); }
.locked p { color: var(--muted); margin: 6px 0 16px; }

/* ─── My products (account page) ─── */
#products { scroll-margin-top: 90px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 960px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
.prod h3 { font-size: 1.35rem; margin: 2px 0 10px; }
.prod > p { color: var(--muted); font-size: .93rem; }
.prod.off { background: var(--paper2); }
.prod.off h3 { color: var(--muted); }
.prod-lock p { color: var(--muted); margin-bottom: 12px; font-size: .93rem; }
.prod-list { margin: 10px 0 0; padding-left: 18px; font-size: .93rem; }
.prod-list li { margin: 4px 0; }
.prod-steps { margin: 8px 0 0; padding-left: 20px; font-size: .9rem; color: var(--muted); }
.prod-st { border-radius: 4px; padding: 10px 12px; font-size: .9rem; margin-top: 12px; }
.prod-st.ok { background: var(--pos-soft); color: var(--pos); }
.prod-st.wait { background: var(--gold-soft); color: var(--gold-d); }
.prod-st.todo { background: var(--neg-soft); color: var(--neg); }
.prod-form { margin-top: 14px; }
.prod-rel { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; margin-top: 12px; }
.prod-rel b { display: block; }
.prod-rel span { font-size: .85rem; color: var(--muted); }

/* ─── discount codes ─── */
.coupon-row { display: flex; gap: 10px; align-items: flex-end; }
.coupon-row label { flex: 1; display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.coupon-row input { text-transform: uppercase; }
#co-sum-amt s, .pay-box s { color: var(--muted); font-weight: 400; margin-right: 6px; }
.st-off { background: var(--paper2); color: var(--muted); }
.coupon-row input { font: inherit; font-weight: 400; padding: 11px 13px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--text); width: 100%; }
.coupon-row input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }

/* author box under articles */
.author-box { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 36px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper2); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; border: 1px solid var(--gold); }
.author-box b { display: block; font-size: 1rem; }
.author-box p { color: var(--muted); font-size: .9rem; margin: 4px 0 6px; }
.author-box a { font-size: .9rem; font-weight: 600; }

.linkbtn { background: none; border: 0; padding: 0 2px; color: var(--gold-d); font: inherit; font-size: .8rem; text-decoration: underline; cursor: pointer; }
.end-edit { display: inline-flex; gap: 6px; align-items: center; }
.end-edit input { padding: 4px 6px; font: inherit; font-size: .85rem; border: 1px solid var(--line); border-radius: 3px; }

/* ── responsive guard: grid/flex children may shrink, so wide tables scroll inside their box instead of stretching the page ── */
.stack { grid-template-columns: minmax(0, 1fr); }
.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stack > *, .split > *, .tiles > *, .two > *, .prod-grid > *, .fields > * { min-width: 0; }
.table-wrap { max-width: 100%; }
.fields input, .fields select, .fields textarea { max-width: 100%; box-sizing: border-box; }
td.wrap { white-space: normal; overflow-wrap: anywhere; min-width: 140px; }
.form-msg, .notice, .warn, .empty, .small { overflow-wrap: anywhere; }
.page-hero, .prod, .prod-grid, .card { overflow-wrap: anywhere; }
.page-hero .wrap > *, .prod > * { min-width: 0; max-width: 100%; }

/* sent emails history */
.mail-hist { margin-top: 34px; display: grid; gap: 12px; min-width: 0; }
.mail-hist-head { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.mail-hist-head h3 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: inherit; font-size: .8rem; padding: 6px 12px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#ad-emaillog { display: grid; gap: 10px; }
.mail-item { border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 14px 16px; overflow-wrap: anywhere; min-width: 0; }
.mail-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .8rem; color: var(--muted); }
.mail-item h4 { margin: 8px 0 4px; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.mail-to { margin: 0; font-size: .84rem; color: var(--muted); }
details.mail-body { margin-top: 8px; font-size: .9rem; }
details.mail-body summary { cursor: pointer; color: var(--gold-d); font-size: .84rem; text-decoration: underline; }
details.mail-body > div { white-space: pre-line; margin-top: 8px; padding: 12px 14px; background: var(--paper2); border-radius: 4px; line-height: 1.6; }
details.mail-body > b { display: block; margin-top: 8px; }
#eh-more { justify-self: start; }

/* founder bio: role line + social links */
.role { margin: 8px 0 0; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
.socials { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 12px; }
.socials.compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin-top: 20px; }
.soc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-d); border-radius: 6px; color: #fff; text-decoration: none; background: rgba(255,255,255,.02); transition: border-color .15s, background .15s; min-width: 0; }
.soc:hover, .soc:focus-visible { border-color: var(--gold); background: rgba(242,185,15,.07); }
.soc svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gold); }
.soc span { display: grid; min-width: 0; font-size: .9rem; overflow-wrap: anywhere; line-height: 1.3; }
.soc small { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-d); }
.founder img { width: 100%; height: auto; object-fit: cover; }
.soc span { overflow-wrap: normal; word-break: normal; }
.socials { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.socials.compact { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
@media (max-width: 480px) { .socials, .socials.compact { grid-template-columns: 1fr; } }
.socials { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

/* ── reviews ── */
.stars { display: inline-flex; gap: 1px; color: #D5D8DE; font-size: 1rem; line-height: 1; letter-spacing: 0; }
.stars .on { color: var(--gold); }
.stars.lg { font-size: 1.5rem; }
.rv-home-head { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.rv-home-head h2 { margin: 6px 0 0; }
.rv-avg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.rv-avg b { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.rv-avg > span:last-child { color: var(--muted); font-size: .9rem; }
.rv-none { color: var(--muted); }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-bottom: 22px; }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.rv-card h3 { margin: 2px 0 0; font-size: 1.05rem; text-transform: none; letter-spacing: 0; }
.rv-card-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.rv-date { font-size: .78rem; color: var(--muted); }
.rv-body { margin: 0; white-space: pre-line; line-height: 1.6; }
.rv-body.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rv-by { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .85rem; margin-top: 4px; }
.rv-ver { color: #1E8E5A; font-size: .78rem; font-weight: 600; }
.rv-prod { color: var(--muted); font-size: .78rem; }
.rv-reply { background: var(--paper2); border-left: 3px solid var(--gold); padding: 10px 12px; border-radius: 0 4px 4px 0; font-size: .88rem; }
.rv-reply p { margin: 4px 0 0; white-space: pre-line; }
.rv-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; margin-bottom: 22px; }
@media (max-width: 700px) { .rv-top { grid-template-columns: minmax(0, 1fr); } }
.rv-summary { display: grid; gap: 14px; }
.rv-side { display: grid; gap: 10px; justify-items: start; }
.rv-bars { display: grid; gap: 6px; max-width: 420px; }
.rv-bar { display: grid; grid-template-columns: 38px 1fr 34px; gap: 10px; align-items: center; background: none; border: 0; padding: 2px 0; font: inherit; font-size: .85rem; color: var(--ink); cursor: pointer; text-align: left; }
.rv-bar i { display: block; height: 8px; background: #EEF0F3; border-radius: 4px; overflow: hidden; }
.rv-bar em { display: block; height: 100%; background: var(--gold); }
.rv-filter { margin: 8px 0 16px; }
.rv-list { display: grid; gap: 14px; margin-bottom: 16px; }
.rv-write { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 760px; scroll-margin-top: 90px; }
.rv-stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-top: 6px; }
.rv-stars-input input { position: absolute; opacity: 0; pointer-events: none; }
.rv-stars-input label { font-size: 2rem; line-height: 1; color: #D5D8DE; cursor: pointer; transition: color .1s; }
.rv-stars-input input:checked ~ label, .rv-stars-input label:hover, .rv-stars-input label:hover ~ label { color: var(--gold); }
.rv-stars-input input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.rv-toggles { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.rv-admin-list { display: grid; gap: 14px; margin-top: 14px; }
.rv-reply-edit { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); }
.rv-reply-edit textarea { font: inherit; font-size: .9rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; width: 100%; box-sizing: border-box; }
.tp-block { display: grid; gap: 14px; justify-items: start; }
.tp-widget { min-height: 28px; width: 100%; max-width: 520px; }
.tp-widget iframe { max-width: 100%; }
.tp-badge { min-height: 24px; width: 100%; max-width: 260px; margin-top: 8px; }
.rv-home-head .rv-score { display: grid; gap: 4px; justify-items: end; }
@media (max-width: 700px) { .rv-home-head .rv-score { justify-items: start; } }

/* ── brokers & prop firms ── */
.pt-warning { background: #FFF7E0; border: 1px solid #F2D27A; border-left: 4px solid var(--gold); border-radius: 4px; padding: 14px 16px; font-size: .9rem; line-height: 1.6; margin-bottom: 14px; overflow-wrap: anywhere; }
.pt-warning.red { background: #FDECEC; border-color: #F2B8B5; border-left-color: #C0392B; }
.pt-disclose { margin: 0 0 8px; }
.pt-method { margin: 0 0 26px; font-size: .9rem; } .pt-method summary { cursor: pointer; font-weight: 600; } .pt-method p { margin: 8px 0 0; color: var(--muted); max-width: 80ch; }
.pt-h { margin: 30px 0 14px; font-size: 1.4rem; }
.pt-compare td { vertical-align: middle; } .pt-compare td:nth-child(2) a { color: var(--ink); }
.pt-dot { font-size: .66rem; font-family: var(--mono); letter-spacing: .04em; color: #C0392B; border: 1px solid #F2B8B5; border-radius: 10px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
.pt-list { display: grid; gap: 16px; }
.pt-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px 18px; display: grid; gap: 12px; min-width: 0; overflow-wrap: anywhere; scroll-margin-top: 90px; }
.pt-rank { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.pt-head { display: flex; gap: 14px; align-items: center; padding-right: 36px; }
.pt-head h2 { margin: 0; font-size: 1.25rem; text-transform: none; letter-spacing: 0; } .pt-head h2 a { color: var(--ink); text-decoration: none; }
.pt-logo { width: 52px; height: 52px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); flex: 0 0 auto; }
.pt-logo.lg { width: 76px; height: 76px; border-radius: 14px; } .pt-logo.sm { width: 34px; height: 34px; border-radius: 7px; }
.pt-mono { display: inline-grid; place-items: center; background: var(--ink); color: var(--gold); font-family: var(--display); font-weight: 700; font-size: 1.05rem; border-color: var(--ink); }
.pt-logo.lg.pt-mono { font-size: 1.5rem; } .pt-logo.sm.pt-mono { font-size: .78rem; }
.pt-rating { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .9rem; margin-top: 4px; } .pt-rating b { font-size: 1.05rem; } .pt-rating span { color: var(--muted); }
.pt-rating.lg b { font-size: 1.5rem; } .dark .pt-rating span { color: var(--muted-d); }
.pt-urate { font-size: .82rem; } .pt-urate b { font-size: .9rem !important; }
.pt-tags { display: flex; flex-wrap: wrap; gap: 6px; } .pt-tags:empty { display: none; }
.pt-tag { font-size: .72rem; font-weight: 600; padding: 3px 9px; border-radius: 12px; background: #EEF0F3; color: var(--ink); }
.pt-tag.bad { background: #FDECEC; color: #A93226; } .pt-tag.warn { background: #FFF3D6; color: #8A6D00; }
.pt-offer-tag { font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: #E8F7EF; color: #1E7A4E; }
.pt-sum { margin: 0; color: var(--muted); line-height: 1.6; }
.pt-hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 760px) { .pt-hl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-hl div { background: var(--paper2); border-radius: 6px; padding: 8px 10px; display: grid; gap: 2px; min-width: 0; }
.pt-hl span { font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); } .pt-hl b { font-size: .88rem; overflow-wrap: anywhere; }
.pt-foot { margin-top: 26px; }
/* detail */
.crumbs { font-size: .82rem; color: var(--muted-d); margin-bottom: 16px; } .crumbs a { color: var(--gold); } .crumbs span { margin: 0 4px; }
.pt-dhead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
.pt-dhead h1 { margin: 6px 0 4px; } .pt-dhead .cta-row { margin-top: 14px; } .pt-checked { color: var(--muted-d); margin-top: 10px; }
@media (max-width: 600px) { .pt-dhead { grid-template-columns: minmax(0, 1fr); } }
.pt-offers { display: grid; gap: 10px; margin-bottom: 18px; } .pt-offers:empty { display: none; }
.pt-offer { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; align-items: center; background: #F0FAF4; border: 1px dashed #5FB98A; border-radius: 8px; padding: 14px 16px; }
.pt-offer h3 { margin: 4px 0; font-size: 1.05rem; text-transform: none; letter-spacing: 0; } .pt-offer p { margin: 0; font-size: .88rem; color: var(--muted); }
.pt-offer-lbl { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #1E7A4E; }
.pt-offer-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pt-code { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--ink); background: #fff; border-radius: 6px; padding: 6px 10px; font: inherit; cursor: pointer; }
.pt-code span { font-family: var(--mono); font-weight: 700; letter-spacing: .06em; } .pt-code small { color: var(--gold-d); font-size: .74rem; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
@media (max-width: 900px) { .pt-grid { grid-template-columns: minmax(0, 1fr); } }
.pt-main h2 { margin: 30px 0 12px; font-size: 1.35rem; } .pt-main h2:first-child { margin-top: 0; }
.pt-main p { line-height: 1.75; }
.pt-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
@media (max-width: 640px) { .pt-pc { grid-template-columns: minmax(0, 1fr); } }
.pt-pc > div { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; } .pt-pc h3 { margin: 0 0 8px; }
.pt-pc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; } .pt-pc li { padding-left: 24px; position: relative; line-height: 1.5; font-size: .93rem; }
.pros li::before { content: "✓"; position: absolute; left: 0; color: #1E8E5A; font-weight: 700; } .cons li::before { content: "✕"; position: absolute; left: 0; color: #C0392B; font-weight: 700; }
.pt-facts th { width: 38%; white-space: normal; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: .85rem; color: var(--ink); background: var(--paper2); vertical-align: top; }
.pt-facts td { white-space: normal; font-size: .88rem; line-height: 1.55; overflow-wrap: anywhere; }
.pt-side { display: grid; gap: 16px; position: sticky; top: 86px; }
@media (max-width: 900px) { .pt-side { position: static; } }
.pt-box { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 10px; } .pt-box h3 { margin: 0 0 4px; font-size: 1rem; }
.pt-sub { display: grid; grid-template-columns: minmax(0, 1fr) 70px 30px; gap: 8px; align-items: center; font-size: .82rem; }
.pt-sub i { display: block; height: 7px; background: #EEF0F3; border-radius: 4px; overflow: hidden; } .pt-sub em { display: block; height: 100%; background: var(--gold); } .pt-sub b { text-align: right; }
.pt-others { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .pt-others li { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.pt-reviews { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 90px; display: grid; gap: 14px; }
.pt-reviews h2 { margin: 0; } .pt-rv-write h3 { margin: 10px 0 6px; } .pt-rv-form { max-width: 640px; }
.pt-sources { margin-top: 30px; font-size: .85rem; } .pt-sources summary { cursor: pointer; font-weight: 600; } .pt-sources ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; overflow-wrap: anywhere; }
/* admin */
.pt-admin-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pt-admin-list { display: grid; gap: 8px; }
.pt-arow { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; min-width: 0; flex-wrap: wrap; }
.pt-arow.off { opacity: .6; } .pt-anum { font-family: var(--mono); font-size: .78rem; color: var(--muted); width: 20px; }
.pt-aname { display: grid; min-width: 0; flex: 1 1 180px; } .pt-aname small { color: var(--muted); overflow-wrap: anywhere; } .pt-aname .ok { color: #1E8E5A; } .pt-aname .miss { color: #B7791F; }
.pt-aact { display: flex; gap: 8px; align-items: center; }
#pt-editor { margin-top: 20px; background: var(--paper2); border: 1px solid var(--line); border-radius: 8px; padding: 18px; scroll-margin-top: 90px; }
.pt-edit fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 12px 14px; margin: 0 0 14px; display: grid; gap: 10px; min-width: 0; background: #fff; }
.pt-edit legend { font-weight: 700; padding: 0 6px; } .pt-edit small { font-weight: 400; color: var(--muted); }
.pt-edit-head { display: flex; justify-content: space-between; align-items: center; } .pt-edit-head h3 { margin: 0 0 10px; }
.pt-logo-row { display: flex; gap: 14px; align-items: flex-start; } .pt-logo-row > div { flex: 1; display: grid; gap: 8px; min-width: 0; }
.pt-offers-admin { margin-top: 18px; display: grid; gap: 10px; } .pt-offers-admin h3 { margin: 0; }
.pt-card .cta-row { margin-top: 2px; }
.pt-visit { white-space: nowrap; }
.pt-compare td, .pt-compare th { white-space: nowrap; }
.pt-compare-broker td:nth-child(6) { white-space: normal; min-width: 150px; }
@media (max-width: 760px) {
  .pt-compare-broker th:nth-child(4), .pt-compare-broker td:nth-child(4), .pt-compare-broker th:nth-child(6), .pt-compare-broker td:nth-child(6),
  .pt-compare-propfirm th:nth-child(6), .pt-compare-propfirm td:nth-child(6) { display: none; }
  .pt-compare td, .pt-compare th { padding: 9px 8px; }
}
.pt-rating > span:not(.stars):not(.pt-urate) { color: var(--muted); }
.pt-rating .stars .on { color: var(--gold); }
.dark .pt-rating > span:not(.stars) { color: var(--muted-d); }
.dark .pt-rating .stars span:not(.on) { color: #4A5160; }
.dark .pt-mono { background: #1B2130; border: 1px solid rgba(242,185,15,.45); }
.pt-mono.m4 { font-size: .82rem; letter-spacing: -.02em; } .pt-logo.lg.pt-mono.m4 { font-size: 1.15rem; }
.pt-tags:not(:has(> :not([hidden]))) { display: none; }
@media (max-width: 760px) {
  .pt-compare td:nth-child(2) { white-space: normal; min-width: 110px; }
  .pt-compare td:nth-child(2) .pt-dot { display: inline-block; margin: 3px 0 0; }
  .pt-compare th:first-child, .pt-compare td:first-child { padding-right: 2px; }
  .pt-visit { padding: 7px 10px; font-size: .7rem; }
}
@media (max-width: 480px) {
  .pt-compare th:first-child, .pt-compare td:first-child { display: none; }
  .pt-compare th { white-space: normal; }
  .pt-compare td, .pt-compare th { padding: 9px 6px; }
  .pt-compare td:nth-child(2) { min-width: 96px; }
}
@media (max-width: 480px) {
  .pt-compare-propfirm th:nth-child(5), .pt-compare-propfirm td:nth-child(5) { display: none; }
  .pt-compare-propfirm td:nth-child(4) { white-space: normal; min-width: 80px; }
}
.pt-logo-w { display: inline-flex; flex: 0 0 auto; }
.pt-fav { padding: 7px; box-sizing: border-box; background: #fff; }
.pt-logo.lg.pt-fav { padding: 10px; } .dark .pt-fav { border-color: rgba(242,185,15,.45); }

/* external-link arrow on Visit buttons (an SVG, so phones never show it as an emoji) */
.i-ext{width:.78em;height:.78em;margin-left:.4em;vertical-align:-.04em;flex:none}

.tg-pre{white-space:pre-wrap;word-break:break-word;font:14px/1.55 Inter,system-ui,sans-serif;background:var(--paper2,#F7F6F2);border:1px solid var(--line,#E4E6EA);border-radius:8px;padding:14px 16px;margin:0}

/* Admin → Sales */
.sl-range{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.sl-custom{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:6px 0 10px}.sl-custom label{display:grid;gap:4px;font-size:.85rem}
.sl-period{margin:4px 0 12px}
#sl-kpis .tile b{font-size:1.35rem;overflow-wrap:anywhere}
@media (max-width:860px){#sl-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ── layout polish (28 Sept) ── */
/* plan cards: equal height, buttons lined up at the bottom */
.plan { display: flex; flex-direction: column; }
.plan ul { flex: 1 0 auto; align-content: start; align-self: stretch; }
.plan > .btn { margin-top: 4px; }
/* home reviews: summary panel beside the cards */
.rv-home { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.rv-home-side { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 22px; display: grid; gap: 16px; }
.rv-home-side .rv-avg b { font-size: 3.2rem; }
.rv-home-side .rv-bars { max-width: none; }
.rv-home-side a.rv-bar { text-decoration: none; }
.rv-home-side .cta-row { margin: 0; display: grid; gap: 10px; }
.rv-home-side .cta-row .btn { width: 100%; justify-content: center; text-align: center; }
.rv-home .rv-grid { margin: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-home .rv-grid[data-n="1"] { grid-template-columns: minmax(0, 1fr); }
.rv-home .rv-grid[data-n="2"], .rv-home .rv-grid[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rv-home .rv-card { height: 100%; }
.rv-empty { place-content: center; text-align: center; min-height: 180px; }
@media (max-width: 1000px) { .rv-home { grid-template-columns: minmax(0, 1fr); } .rv-home-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } .rv-home-side .cta-row { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .rv-home .rv-grid, .rv-home .rv-grid[data-n] { grid-template-columns: minmax(0, 1fr); } .rv-home-side { grid-template-columns: minmax(0, 1fr); } .rv-home-side .cta-row { grid-template-columns: 1fr; } }
/* prop firm chart: full width and readable */
.prop-facts { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 12px; align-self: center; }
.prop-chart { margin: 28px 0 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.prop-chart img { display: block; width: 100%; height: auto; }
.prop-chart figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 26px; line-height: 1.5; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--gold-d); border-bottom: 2px solid var(--gold-d); transform: rotate(-45deg); }
/* EA / copy trading: last feature card spans the row; side cards stay in view */
.grid.g2 > .span2 { grid-column: 1 / -1; }
.sticky-col { position: sticky; top: 96px; }
@media (max-width: 860px) { .sticky-col { position: static; } }
/* tables inside a half-width column: wrap headers so nothing is cut off */
.split .table-wrap th { white-space: normal; line-height: 1.35; vertical-align: bottom; }
.split .table-wrap th, .split .table-wrap td { padding-left: 10px; padding-right: 10px; }
/* ── gold lot size calculator ── */
.calc-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .calc-wrap { grid-template-columns: minmax(0, 1fr); } }
.calc { gap: 18px; }
.calc label, .calc .lbl { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--text); }
.calc input, .calc select { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--text); width: 100%; min-width: 0; }
.calc input:focus, .calc select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.calc-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.calc-row.two { margin-top: 8px; }
@media (max-width: 560px) { .calc-row, .calc-row.three { grid-template-columns: minmax(0, 1fr); } }
.calc-seg { display: grid; gap: 8px; align-content: start; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.seg button { flex: 1; font: inherit; font-size: .8rem; padding: 8px 6px; border: 0; background: #fff; color: var(--muted); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.calc-fx { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px !important; }
.calc-fx input { width: 130px; }
.calc-fx small { flex-basis: 100%; font-weight: 400; color: var(--muted); }
.calc-adv summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--gold-d); }
.calc-adv[open] summary { margin-bottom: 12px; }
.calc-out { position: sticky; top: 96px; background: var(--ink) !important; color: #E9EBEF; border-color: var(--ink); }
@media (max-width: 900px) { .calc-out { position: static; } }
.calc-out .tag { color: var(--gold); }
.calc-lots { display: flex; align-items: baseline; gap: 10px; }
.calc-lots b { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--gold); }
.calc-lots span { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; color: #9AA3B2; }
.calc-kv { display: grid; gap: 8px; }
.calc-kv div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #252D3B; padding-bottom: 8px; font-size: .9rem; }
.calc-kv span { color: #9AA3B2; } .calc-kv b { font-variant-numeric: tabular-nums; text-align: right; }
.calc-out .table-wrap { background: #121722; border-color: #252D3B; }
.calc-out th { background: #121722; color: #9AA3B2; border-color: #252D3B; }
.calc-out td { border-color: #252D3B; color: #E9EBEF; }
.calc-out .small { color: #9AA3B2; }
.calc-out .warn { color: var(--text); }
.formula-box { font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: clamp(1.2rem, 2.4vw, 1.6rem); background: var(--ink); color: #fff; border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 4px; }

/* members' live board: running trade cards */
.live-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-bottom: 16px; }
.live-card { background: var(--ink); color: #E9EBEF; border: 1px solid var(--ink); border-top: 3px solid var(--gold); border-radius: 6px; padding: 16px 18px; display: grid; gap: 12px; min-width: 0; }
.lc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lc-top small { color: #9AA3B2; }
.lc-r { margin-left: auto; font-family: var(--display); font-size: 1.9rem; line-height: 1; font-weight: 600; }
.live-card .pos { color: #3DD68C; } .live-card .neg { color: #FF7A6B; }
.lc-bar { position: relative; height: 10px; background: #1A2130; border-radius: 6px; }
.lc-bar i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #9AA3B2; }
.lc-bar em { position: absolute; top: 0; bottom: 0; border-radius: 6px; }
.lc-bar em.up { background: #22A56A; } .lc-bar em.dn { background: #E0493A; }
.lc-bar b { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(242,185,15,.25); }
.lc-scale { position: relative; display: flex; justify-content: space-between; font-size: .72rem; color: #9AA3B2; font-family: var(--mono); }
.lc-scale .lc-e { position: absolute; top: 0; transform: translateX(-50%); }
.lc-kv { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: #9AA3B2; }
.lc-kv b { color: #E9EBEF; font-variant-numeric: tabular-nums; }
.live-card .small { color: #9AA3B2; margin: 0; }

/* Admin → Signals: test alerts (one customer only) shown in grey */
tr.al-test td { color: var(--muted); font-size: .85rem; }
/* article next steps */
.next-steps .ns-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.next-steps .ns-list a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--text); font-weight: 600; background: #fff; }
.next-steps .ns-list a:hover { border-color: var(--gold); }
.ns-h { font-size: 1.15rem; margin-bottom: 16px; }
/* long URLs in setup steps must wrap on phones (no sideways scrolling) */
.split > * { min-width: 0; }
.steps-list code, .steps-list span { overflow-wrap: anywhere; }
/* tables with sentences in their cells wrap instead of scrolling sideways */
table.wrap-cells td, table.wrap-cells th { white-space: normal; }
table.wrap-cells td { min-width: 110px; }
/* live record card */
.stats-card { margin-bottom: 16px; }
.sc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #252D3B; border: 1px solid #252D3B; border-radius: 6px; overflow: hidden; }
.sc-grid > div { background: var(--ink); padding: 12px 14px; display: grid; gap: 2px; min-width: 0; }
.sc-grid b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: #E9EBEF; font-variant-numeric: tabular-nums; }
.sc-grid span { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: #9AA3B2; }
@media (max-width: 640px) { .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lc-h { font-size: 1rem; margin: 22px 0 12px; }
.lc-r.lc-txt { font-size: 1.15rem; color: var(--gold); }
.lc-sub { font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; color: var(--gold); margin-left: 8px; font-weight: 500; }
