/* Crestmont Wealth -- shared visual identity (matches the app: midnight navy, antique gold, ivory text). */
:root {
  --bg: #080B12; --surface: #0E1420; --raised: #161E2E; --hero: #1B2438;
  --line: #242D40; --gold-line: rgba(201,161,91,.32);
  --text: #ECE7DC; --text2: #9BA3B4; --muted: #5E6779;
  --gold: #C6A15B; --gold-soft: #9C8558; --navy: #0A1428;
  --pos: #2FA874; --neg: #D1494E; --wait: #CC8A3D;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px; --pad: clamp(20px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; } a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.serif { font-family: var(--serif); letter-spacing: -.02em; }
.italic { font-family: var(--serif); font-style: italic; color: var(--gold); }
.eyebrow { color: var(--gold); font-size: 10px; letter-spacing: .26em; margin: 0 0 20px; text-transform: uppercase; }
.lead { color: var(--text2); font-size: 17px; line-height: 1.75; max-width: 540px; }
.muted { color: var(--muted); } .small { font-size: 12px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--gold); color: var(--navy); padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--pad); border-bottom: 1px solid var(--gold-line); background: rgba(8,11,18,.92); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; } .brand:hover { text-decoration: none; }
.brand b { display: block; color: var(--gold); font-size: 13px; letter-spacing: .12em; }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .05em; }
.toplinks { display: flex; gap: 36px; } .toplinks a { color: var(--text2); font-size: 13px; } .toplinks a:hover { color: var(--gold); text-decoration: none; }
.topactions { display: flex; align-items: center; gap: 18px; } .link { color: var(--text); font-size: 13px; }

/* Buttons & forms */
.btn { background: transparent; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 6px; border: 1px solid transparent; font: 700 14px var(--sans); letter-spacing: .02em; cursor: pointer; text-decoration: none !important; transition: opacity .15s, background .15s; }
.btn-gold { background: var(--gold); color: var(--navy); } .btn-gold:hover { opacity: .88; }
.btn-outline { border-color: var(--gold); color: var(--gold); min-height: 40px; padding: 0 16px; font-size: 12px; } .btn-outline:hover { background: rgba(198,161,91,.1); }
.btn-ghost { border-color: rgba(236,231,220,.25); color: var(--text); font-weight: 400; } .btn-ghost:hover { border-color: var(--text2); }
.btn-block { width: 100%; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 12px; }
.linkbtn { background: none; border: 0; color: var(--text2); font: inherit; font-size: 13px; cursor: pointer; padding: 0; } .linkbtn:hover { color: var(--gold); }
.field { margin-bottom: 16px; }
.field label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; }
.field input[type=text], .field input[type=email], .field input[type=password], .field select, .field textarea, .inline-form input, .inline-form select, .filters input, .filters select { width: 100%; min-height: 48px; padding: 0 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: 16px var(--sans); }
.field input:focus, .inline-form input:focus, .filters input:focus { border-color: var(--gold); outline: none; }
.field .field-validation-error, .field-validation-error { color: var(--neg); font-size: 12px; display: block; margin-top: 6px; }
.input-validation-error { border-color: var(--neg) !important; }
.validation-summary-errors { color: var(--neg); font-size: 13px; margin-bottom: 14px; } .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--text2); margin: 4px 0 18px; } .check input { margin-top: 3px; accent-color: var(--gold); width: 18px; height: 18px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 11px; } .divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-bottom: 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--raised); color: var(--text); font: 14px var(--sans); cursor: pointer; } .social:hover { border-color: var(--gold-soft); }
.social i { color: var(--gold); font-style: normal; font-weight: 700; }
.alert { padding: 12px 16px; border-radius: 8px; font-size: 13px; margin-bottom: 20px; border: 1px solid; } .alert.ok { color: var(--pos); border-color: rgba(47,168,116,.4); background: rgba(47,168,116,.08); } .alert.bad { color: var(--neg); border-color: rgba(209,73,78,.4); background: rgba(209,73,78,.08); }
.meter { display: flex; gap: 4px; margin: -4px 0 6px; } .meter span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.hint { font-size: 11px; color: var(--muted); margin: 0 0 14px; }

/* Cards / auth */
.card { background: var(--surface); border: 1px solid var(--gold-line); border-radius: 16px; padding: 28px; }
.auth { max-width: 1200px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) var(--pad) 72px; display: flex; gap: clamp(32px, 6vw, 80px); align-items: center; justify-content: center; flex-wrap: wrap; min-height: calc(100vh - 220px); }
.auth-panel { flex: 1 1 380px; min-width: 0; } .auth-panel h1 { font-size: clamp(32px, 4.6vw, 56px); line-height: 1.15; }
.auth-panel .lead { margin-top: 20px; }
.points { list-style: none; padding: 28px 0 0; margin: 36px 0 0; border-top: 1px solid var(--gold-line); display: grid; gap: 14px; color: var(--text2); }
.points li { padding-left: 20px; position: relative; } .points li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.auth-card { flex: 0 1 440px; width: 100%; max-width: 480px; }
.auth-card h2 { font-family: var(--serif); font-size: 30px; letter-spacing: -.01em; }
.auth-card .sub { color: var(--text2); font-size: 13px; line-height: 1.7; margin: 8px 0 24px; }
.auth-card .foot { text-align: center; font-size: 12px; color: var(--text2); margin-top: 22px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px var(--pad); max-width: var(--max); margin: 0 auto; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; } .footer-brand { color: var(--text2); font-size: 11px; letter-spacing: .06em; } .footer-links a { color: var(--text2); font-size: 12px; margin-left: 20px; }
.disclaimer { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 20px 0 0; max-width: 900px; }

/* ---------------- Landing ---------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.hero-bg { background-image: radial-gradient(ellipse 60% 70% at 78% 30%, rgba(198,161,91,.10), transparent 70%); }
.hero { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 72px); align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero > div { flex: 1 1 420px; min-width: 0; }
.masthead { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--gold-soft); font-size: 10px; letter-spacing: .2em; } .masthead i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 68px); line-height: 1.1; letter-spacing: -.03em; }
.hero .lead { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.proof { display: flex; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text2); font-size: 12px; letter-spacing: .04em; gap: 8px 0; }
.proof span { padding: 0 20px; border-left: 1px solid var(--line); } .proof span:first-child { padding-left: 0; border: 0; }

.brief { background: var(--raised); border: 1px solid var(--gold-line); border-radius: 14px; padding: 22px; }
.brief-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.brief-kicker { color: var(--gold-soft); font-size: 9.5px; letter-spacing: .18em; margin: 0 0 8px; }
.brief-ticker { font-size: 28px; font-weight: 700; letter-spacing: .03em; margin: 0; } .brief-ticker span { color: var(--text2); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.bias { background: rgba(47,168,116,.14); color: var(--pos); border-radius: 5px; padding: 5px 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; }
.tag { display: inline-block; color: var(--muted); font-size: 9px; letter-spacing: .14em; border: 1px solid var(--line); border-radius: 4px; padding: 3px 7px; }
.brief svg { width: 100%; height: auto; display: block; }
.brief-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; } .brief-foot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wait); } .brief-foot .st { color: var(--wait); margin-right: auto; } .brief-foot .nt { color: var(--muted); font-size: 11px; }

.statement { background: var(--surface); border-block: 1px solid var(--gold-line); text-align: center; padding: clamp(64px, 9vw, 96px) var(--pad); }
.statement blockquote { margin: 0 auto; max-width: 1000px; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 5vw, 56px); line-height: 1.15; letter-spacing: -.02em; }
.statement p { color: var(--text2); font-size: 16px; line-height: 1.75; max-width: 620px; margin: 28px auto 0; }

.section { padding-block: clamp(64px, 9vw, 104px); }
.h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.18; letter-spacing: -.02em; max-width: 800px; }
.feature { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: clamp(56px, 8vw, 88px); } .feature.rev { flex-direction: row-reverse; }
.feature > div { flex: 1 1 380px; min-width: 0; }
.kicker { color: var(--gold); font-size: 10px; letter-spacing: .24em; margin: 0 0 16px; text-transform: uppercase; }
.feature h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.25; letter-spacing: -.01em; }
.feature p.body { color: var(--text2); font-size: 15px; line-height: 1.8; margin: 18px 0 0; max-width: 480px; }
.mock { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .mock-head b { color: var(--gold-soft); font-size: 10px; letter-spacing: .18em; font-weight: 400; }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); } .mrow:last-child { border: 0; }
.mrow .k { color: var(--muted); font-size: 12px; } .mrow .v { font-size: 13px; } .mrow .v.wait { color: var(--wait); }
.sdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 10px; }
.pipe { list-style: none; margin: 0; padding: 6px 0; } .pipe li { position: relative; display: flex; align-items: center; gap: 16px; height: 40px; color: var(--text2); font-size: 13px; }
.pipe li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--muted); background: var(--raised); z-index: 1; flex: none; }
.pipe li:not(:last-child)::after { content: ""; position: absolute; left: 5.25px; top: 50%; height: 40px; width: 1.5px; background: var(--line); }
.pipe li.done::before { background: var(--gold); border-color: var(--gold); } .pipe li.done:not(:last-child)::after { background: var(--gold); } .pipe li.now { color: var(--gold); }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; margin-top: 96px; padding-top: 32px; border-top: 1px solid var(--gold-line); }
.more > div { padding-left: 24px; border-left: 1px solid var(--line); } .more > div:first-child { padding-left: 0; border: 0; }
.more .soon { font-size: 9px; letter-spacing: .16em; font-weight: 700; color: var(--wait); margin: 0 0 10px; } .more .soon.live { color: var(--gold-soft); }
.more h4 { font-family: var(--serif); font-size: 16px; margin: 0 0 8px; font-weight: 600; } .more p { margin: 0; color: var(--text2); font-size: 13.5px; line-height: 1.6; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 56px; }
.steps > div { border-top: 1px solid var(--gold); padding-top: 24px; } .steps h3 { font-family: var(--serif); font-size: 30px; margin-bottom: 12px; } .steps p { color: var(--text2); font-size: 13.5px; line-height: 1.7; margin: 0; }
.section-lead { color: var(--text2); font-size: 15px; line-height: 1.75; margin: 20px 0 0; max-width: 620px; }
.matrix { width: 100%; border-collapse: collapse; margin-top: 44px; border-top: 1px solid var(--gold-line); }
.matrix th, .matrix td { padding: 18px 8px; border-bottom: 1px solid var(--line); text-align: center; font-size: 13px; } .matrix th { font-family: var(--serif); font-size: 18px; font-weight: 600; padding-block: 20px; } .matrix th.hl { color: var(--gold); }
.matrix td:first-child, .matrix th:first-child { text-align: left; } .matrix td:first-child { color: var(--text); }
.matrix .y { color: var(--gold); font-size: 15px; } .matrix .n { color: var(--muted); } .matrix .s { color: var(--wait); font-size: 10px; letter-spacing: .08em; font-weight: 700; }
.final { max-width: 1100px; margin: 0 auto 88px; text-align: center; padding: clamp(48px, 7vw, 80px) 24px; border: 1px solid var(--gold-line); border-radius: 4px; background: var(--surface); background-image: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(198,161,91,.09), transparent 70%); }
.final .btn { margin-top: 28px; }
@media (max-width: 760px) { .toplinks { display: none; } .brand small { display: none; } .matrix th, .matrix td { padding-inline: 4px; font-size: 12px; } }

/* ---------------- App shell ---------------- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 252px; flex: none; padding: 20px 20px 24px; border-right: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.kicker { margin: 28px 0 14px; }
.sidebar .kicker { color: var(--gold-soft); font-size: 9px; letter-spacing: .16em; }
.nav { display: block; padding: 13px 14px; border-radius: 8px; color: var(--text2); font-size: 13px; margin-bottom: 4px; } .nav i { font-style: normal; color: var(--gold-soft); font-size: 10px; margin-right: 12px; } .nav:hover { text-decoration: none; background: var(--raised); } .nav.active { background: var(--hero); color: var(--gold); }
.side-foot { margin-top: auto; } .note { font-size: 19px; line-height: 1.5; margin: 0 0 18px; }
.app-main { flex: 1; min-width: 0; padding: clamp(20px, 4vw, 48px); max-width: 1240px; }
@media (max-width: 880px) { .app { flex-direction: column; } .sidebar { width: auto; height: auto; position: static; flex-direction: column; border-right: 0; border-bottom: 1px solid var(--line); } .sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; } .side-foot { margin-top: 12px; } .note { display: none; } }
.page-title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; margin: 0 0 6px; }
.page-sub { color: var(--text2); margin: 0 0 32px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; } .panel.gold { border-color: var(--gold-line); background: var(--raised); }
.panel h3 { font-size: 11px; letter-spacing: .16em; color: var(--gold-soft); font-weight: 400; margin: 0 0 16px; text-transform: uppercase; }
.panel .empty { color: var(--text2); font-size: 14px; line-height: 1.7; margin: 0; }
.stat { font-family: var(--serif); font-size: 28px; margin: 0 0 4px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; border: 1px solid var(--line); color: var(--text2); } .pill.ok { color: var(--pos); border-color: rgba(47,168,116,.4); } .pill.wait { color: var(--wait); border-color: rgba(204,138,61,.4); } .pill.bad { color: var(--neg); border-color: rgba(209,73,78,.4); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; } .tbl th { text-align: left; color: var(--gold-soft); font-weight: 400; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--gold-line); } .tbl td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; }
.tickers { display: flex; flex-wrap: wrap; gap: 8px; } .ticker { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-weight: 700; letter-spacing: .04em; font-size: 13px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; } .inline-form form { display: contents; } .inline-form input[name=ticker] { flex: 0 1 140px; text-transform: uppercase; } .inline-form input[name=note] { flex: 1 1 240px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; } .filters input { flex: 1 1 240px; width: auto; } .filters select { width: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .actions form { display: inline; }
.actions select { min-height: 34px; width: auto; padding: 0 8px; font-size: 12px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 6px; }
.rolechips { display: flex; flex-wrap: wrap; gap: 4px; } .rolechips .pill { font-size: 10px; padding: 2px 8px; }
dl.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; } dl.kv dt { color: var(--muted); font-size: 12px; } dl.kv dd { margin: 0; font-size: 14px; }
.prose { max-width: 720px; margin: 0 auto; padding: 56px var(--pad) 72px; } .prose h1 { font-family: var(--serif); font-size: 38px; letter-spacing: -.02em; margin-bottom: 20px; } .prose h2 { font-family: var(--serif); font-size: 22px; margin: 32px 0 10px; } .prose p, .prose li { color: var(--text2); line-height: 1.8; }
.center { text-align: center; }
.errorpage { text-align: center; padding: 120px var(--pad); } .errorpage .code { font-family: var(--serif); font-size: 96px; color: var(--gold); margin: 0; line-height: 1; }
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.brand b, .topactions a { white-space: nowrap; } .short { display: none; }
@media (max-width: 520px) { .topbar { gap: 8px; } .topactions { gap: 12px; } .brand { gap: 8px; } .brand img { width: 28px; height: 28px; } .brand b { font-size: 11px; letter-spacing: .06em; } .long { display: none; } .short { display: inline; } .btn-outline { padding: 0 14px; } }
/* Research desk */
.sidebar { overflow-y: auto; }
.pos { color: var(--pos); } .neg { color: var(--neg); } .gold { color: var(--gold); }
.field textarea { min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.6; }
.field select { appearance: auto; }
.tape { padding: 0; overflow: hidden; min-height: 76px; }
.pickgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.pickcard { display: block; background: var(--bg); border: 1px solid var(--gold-line); border-radius: 12px; padding: 20px; color: var(--text); transition: border-color .15s, transform .15s; }
.pickcard:hover { text-decoration: none; border-color: var(--gold); transform: translateY(-2px); }
.pickcard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.chip { font-size: 9px; letter-spacing: .14em; color: var(--gold); border: 1px solid var(--gold-line); border-radius: 4px; padding: 3px 8px; }
.pickcard-ticker { font-size: 24px; font-weight: 700; letter-spacing: .03em; margin: 0; } .pickcard-ticker span { font-size: 12px; font-weight: 400; color: var(--text2); letter-spacing: 0; margin-left: 6px; }
.pickcard-head { font-family: var(--serif); font-size: 17px; line-height: 1.4; margin: 10px 0; }
.pickcard-meta { font-size: 12px; color: var(--text2); margin: 0 0 14px; } .pickcard-more { font-size: 12px; color: var(--gold); }
.pick-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--text2); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; } .tab:hover { text-decoration: none; border-color: var(--gold-soft); } .tab.on { background: var(--hero); color: var(--gold); border-color: var(--gold-line); }
.tab .count { margin-left: 6px; color: var(--muted); }
.symbols { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.symbtn { background: var(--bg); color: var(--text2); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font: 700 12px var(--sans); letter-spacing: .04em; cursor: pointer; } .symbtn:hover { border-color: var(--gold-soft); } .symbtn.on { color: var(--gold); border-color: var(--gold); background: var(--hero); }
.tvchart { height: 560px; border-radius: 10px; overflow: hidden; background: var(--surface); } @media (max-width: 700px) { .tvchart { height: 440px; } }
.timeline { list-style: none; margin: 0; padding: 0; } .timeline li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 14px; } .timeline li:last-child { border: 0; } .timeline li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.timeline .when { display: block; color: var(--muted); font-size: 11px; letter-spacing: .06em; margin-bottom: 3px; }
.prosebody { color: var(--text); line-height: 1.8; white-space: pre-line; margin: 0 0 12px; font-size: 14.5px; }
@media (max-width: 880px) { .sidebar nav .kicker { display: none; } }
/* Account menu */
.app-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.apptop { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--gold-line); position: sticky; top: 0; z-index: 15; background: rgba(8,11,18,.92); backdrop-filter: blur(10px); }
.apptop-title { color: var(--gold-soft); font-size: 10px; letter-spacing: .18em; }
@media (max-width: 560px) { .apptop-title { display: none; } .apptop { justify-content: flex-end; } }
.acct { position: relative; }
.acct-btn { display: flex; align-items: center; gap: 10px; background: transparent; color: var(--text); border: 1px solid var(--gold-line); border-radius: 999px; padding: 5px 14px 5px 5px; font: 13px var(--sans); cursor: pointer; transition: border-color .15s, background .15s; }
.acct-btn:hover, .acct.open .acct-btn { border-color: var(--gold); background: rgba(198,161,91,.08); }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 700 11px var(--sans); letter-spacing: .04em; flex: none; }
.avatar.lg { width: 44px; height: 44px; font-size: 14px; }
.acct-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .acct-name { display: none; } .acct-btn { padding-right: 10px; } }
.caret { color: var(--text2); transition: transform .15s; } .acct.open .caret { transform: rotate(180deg); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 288px; max-width: calc(100vw - 32px); background: var(--raised); border: 1px solid var(--gold-line); border-radius: 14px; box-shadow: 0 18px 48px rgba(0,0,0,.55); padding: 8px; z-index: 40; }
.acct-menu[hidden] { display: none; }
.acct-head { display: flex; gap: 14px; align-items: center; padding: 14px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-who { margin: 0; font-weight: 600; font-size: 14px; } .acct-mail { margin: 2px 0 8px; font-size: 12px; color: var(--text2); word-break: break-all; }
.acct-group { padding: 6px 0; border-bottom: 1px solid var(--line); } .acct-group:last-child { border: 0; padding-bottom: 0; }
.acct-label { margin: 6px 12px 4px; font-size: 9px; letter-spacing: .16em; color: var(--gold-soft); }
.acct-menu a, .acct-out { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; color: var(--text); font: 13.5px var(--sans); background: none; border: 0; cursor: pointer; text-decoration: none; }
.acct-menu a:hover, .acct-menu a:focus-visible, .acct-out:hover, .acct-out:focus-visible { background: var(--hero); text-decoration: none; outline: none; }
.acct-out { color: #E07A7E; }
/* compact sidebar so eight links fit without a scrollbar on a laptop screen */
.sidebar .nav { padding: 10px 14px; margin-bottom: 2px; }
.sidebar .kicker { margin: 20px 0 10px; }
.sidebar { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.team-kicker { margin: 16px 14px 6px !important; }
@media (max-width: 880px) { .sidebar nav .team-kicker { display: none; } }

/* ---------------- Landing motion & extras ---------------- */
.hero-bg { position: relative; background-image: radial-gradient(ellipse 60% 70% at 78% 30%, rgba(198,161,91,.12), transparent 70%), linear-gradient(rgba(236,231,220,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(236,231,220,.025) 1px, transparent 1px); background-size: auto, 56px 56px, 56px 56px; background-position: 0 0, -1px -1px, -1px -1px; }
.hero > div:first-child > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero > div:first-child > *:nth-child(2) { animation-delay: .08s; } .hero > div:first-child > *:nth-child(3) { animation-delay: .16s; } .hero > div:first-child > *:nth-child(4) { animation-delay: .24s; } .hero > div:first-child > *:nth-child(5) { animation-delay: .32s; }
.brief { animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.candle { opacity: 0; animation: pop .45s calc(.5s + var(--i) * .06s) ease-out forwards; transform-box: fill-box; transform-origin: center bottom; }
.lvl { animation: fade .8s 1.4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scaleY(.4); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .candle { opacity: 1; } html { scroll-behavior: auto; } }

.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-block: 26px; }
.trust-in > div { padding: 4px 24px; border-left: 1px solid var(--line); } .trust-in > div:first-child { border: 0; padding-left: 0; }
.trust-in b { display: block; color: var(--gold); font-size: 13px; margin-bottom: 4px; } .trust-in span { color: var(--text2); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 700px) { .trust-in > div { border-left: 0; padding: 10px 0; border-top: 1px solid var(--line); } .trust-in > div:first-child { border-top: 0; } }

.faq-list { margin-top: 40px; border-top: 1px solid var(--gold-line); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 600 17px var(--serif); position: relative; transition: color .15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font: 300 26px var(--sans); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); } .faq-list summary:hover { color: var(--gold); }
.faq-list details p { margin: 0 0 22px; max-width: 700px; color: var(--text2); line-height: 1.8; }

/* ---------------- Dashboard ---------------- */
.dash-hero { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.session { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--text2); background: var(--surface); }
.session i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); } .session.ok { color: var(--pos); border-color: rgba(47,168,116,.4); } .session.ok i { background: var(--pos); box-shadow: 0 0 0 4px rgba(47,168,116,.18); animation: pulse 2s infinite; } .session.wait { color: var(--wait); border-color: rgba(204,138,61,.4); } .session.wait i { background: var(--wait); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(47,168,116,0); } }
.notice { margin: 20px 0 0; padding: 14px 18px; border-radius: 10px; font-size: 13.5px; line-height: 1.6; border: 1px solid var(--line); } .notice.wait { color: var(--wait); border-color: rgba(204,138,61,.4); background: rgba(204,138,61,.07); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 20px 0; }
.stat-tile { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; color: var(--text); transition: border-color .15s, transform .15s; } .stat-tile:hover { text-decoration: none; border-color: var(--gold-line); transform: translateY(-2px); }
.stat-n { display: block; font: 600 34px/1.1 var(--serif); color: var(--gold); letter-spacing: -.02em; } .stat-l { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .12em; color: var(--text2); text-transform: uppercase; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; } @media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }
.dash-main, .dash-side { display: grid; gap: 20px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; } .panel-head h3 { margin: 0; }
.quickadd { display: flex; gap: 8px; } .quickadd input { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; font: 14px var(--sans); text-transform: uppercase; } .quickadd input:focus { border-color: var(--gold); outline: none; } .quickadd input::placeholder { text-transform: none; color: var(--muted); }
.linklist { display: grid; gap: 2px; } .linklist a { padding: 10px 12px; margin: 0 -12px; border-radius: 8px; color: var(--text); font-size: 14px; } .linklist a:hover { background: var(--hero); text-decoration: none; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .checklist li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); } .checklist li.done { color: var(--muted); }
.checklist .tick { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--muted); display: inline-grid; place-items: center; font-size: 11px; flex: none; } .checklist li.done .tick { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

/* ---------------- App-wide polish ---------------- */
.btn:active { transform: translateY(1px); } .btn-gold:hover { box-shadow: 0 6px 22px rgba(198,161,91,.25); opacity: 1; filter: brightness(1.06); }
.panel { transition: border-color .2s; } .panel:hover { border-color: rgba(201,161,91,.22); }
.alert { display: flex; align-items: center; justify-content: space-between; gap: 12px; animation: rise .35s both; }
.alert-x { background: none; border: 0; color: inherit; opacity: .6; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; } .alert-x:hover { opacity: 1; }
.app-foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 11px; color: var(--muted); } .app-foot a { color: var(--text2); margin-left: 16px; }
::selection { background: rgba(198,161,91,.35); color: var(--text); }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; border: 2px solid var(--bg); } ::-webkit-scrollbar-thumb:hover { background: var(--muted); }

.logview { margin: 0; max-height: 70vh; overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 14px; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--text2); white-space: pre-wrap; word-break: break-word; }
code { background: var(--bg); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

.steps-list { margin: 12px 0 0; padding-left: 20px; color: var(--text2); line-height: 1.8; font-size: 14px; } .steps-list li { margin-bottom: 6px; } .steps-list b { color: var(--text); }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } @media (max-width: 720px) { .row3 { grid-template-columns: 1fr 1fr; } } @media (max-width: 420px) { .row3 { grid-template-columns: 1fr; } }

/* Daily top 3 */
.newsfeed { height: 560px; border-radius: 10px; overflow: hidden; }
.picktabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.picktab { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; color: var(--text2); cursor: pointer; font: inherit; text-align: left; transition: border-color .15s, background .15s; }
.picktab:hover { border-color: var(--gold-soft); } .picktab.on { border-color: var(--gold); background: var(--hero); color: var(--text); }
.picktab-n { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 12px; color: var(--gold); } .picktab.on .picktab-n { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.picktab b { display: block; font-size: 15px; letter-spacing: .04em; } .picktab small { color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dpick[hidden] { display: none; }
.dpick-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.dpick-title { font-size: 30px; font-weight: 700; letter-spacing: .02em; margin: 0; } .dpick-title span { font-size: 13px; font-weight: 400; color: var(--text2); letter-spacing: 0; margin-left: 8px; }
.dpick-headline { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin: 6px 0 14px; }
.dpick-levels { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin: 22px 0; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.ladder { flex: 0 1 330px; width: 100%; max-width: 360px; height: auto; } .levels-side { flex: 1 1 260px; }
.status-line { display: flex; align-items: center; gap: 9px; margin: 16px 0 0; color: var(--wait); font-size: 12.5px; } .status-line i { width: 8px; height: 8px; border-radius: 50%; background: var(--wait); }
.dpick-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 8px; } .dpick-more h4 { margin: 0 0 6px; font-size: 10px; letter-spacing: .16em; color: var(--gold-soft); text-transform: uppercase; font-weight: 400; } .dpick-more p { margin: 0; color: var(--text2); font-size: 13.5px; line-height: 1.7; }
.statement-panel blockquote { margin: 0 auto; max-width: 800px; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 4vw, 42px); line-height: 1.2; }

.nav.locked { color: var(--muted); } .nav.locked i { filter: grayscale(1); } .vip-tag { font-style: normal; margin-left: 8px; font-size: 9px; letter-spacing: .14em; color: var(--gold); border: 1px solid var(--gold-line); border-radius: 4px; padding: 1px 6px; vertical-align: 1px; }
.mini3 { display: grid; gap: 10px; } .mini3-card { display: grid; grid-template-columns: 28px auto 1fr; align-items: center; gap: 4px 12px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color: var(--text); transition: border-color .15s; } .mini3-card:hover { text-decoration: none; border-color: var(--gold); }
.mini3-n { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 12px; } .mini3-card small { grid-column: 2 / -1; color: var(--text2); font-size: 12.5px; }

/* Level chart */
.tvchart { position: relative; }
.lw-status { position: absolute; left: 12px; bottom: 8px; z-index: 5; font-size: 11px; color: var(--muted); background: rgba(14,20,32,.8); padding: 2px 8px; border-radius: 4px; pointer-events: none; }
.lw-tip { position: absolute; left: 12px; top: 8px; z-index: 5; font: 12px ui-monospace, Menlo, Consolas, monospace; color: var(--text2); pointer-events: none; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .seg button { background: transparent; color: var(--text2); border: 0; padding: 8px 14px; font: 12px var(--sans); cursor: pointer; } .seg button + button { border-left: 1px solid var(--line); } .seg button.on { background: var(--hero); color: var(--gold); }
