/* Pemburu Dollar — palet mengikuti Valetax */
:root {
  --navy: #141921; --navy-2: #1E232C; --navy-3: #31353C; --navy-line: #262B35; --navy-deep: #0E1218;
  --green: #25C660; --green-text: #12753C; --green-tint: #E5F7F2; --green-line: #B5EBCD; --green-light: #86DFA3;
  --red: #F05252; --red-soft: #F87171; --red-text: #C81E1E; --red-tint: #FDECEC;
  --blue: #60A5FA; --blue-text: #1D4ED8; --blue-tint: #E8F0FE;
  --amber-text: #92400E; --amber-icon: #B45309; --amber-tint: #FEF3C7;
  --bg: #F7F7F7; --card: #FFFFFF; --line: #DEE3EA; --line-2: #E5E7EB; --line-3: #EEF0F3;
  --ink: #18191F; --muted: #4B5563; --side-muted: #9CA3AF; --side-text: #D1D5DB;
  --input-bg: #F9FAFB; --input-line: #D1D5DC;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; font-size: 14px; line-height: 1.45; }
a { color: var(--green-text); }
a:hover { color: #0E5C2F; }
button { font-family: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.up { color: var(--green-text); } .down { color: var(--red-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shell ---------- */
.shell { min-height: 100vh; display: flex; flex-wrap: wrap; }
.side { flex: 1 1 232px; padding: 20px 14px; background: var(--navy); display: flex; flex-direction: column; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.logo { width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex: none; }
.brand b { display: block; font-size: 16px; }
.brand small { display: block; font-size: 12px; color: var(--side-muted); }
.side-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--side-muted); padding: 0 12px 6px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a, .nav .soon { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--side-text); text-decoration: none; font-weight: 500; }
.nav a svg, .nav .soon svg { stroke: var(--side-muted); flex: none; }
.nav a:hover { background: #1B2029; color: #fff; }
.nav a[aria-current="page"] { background: var(--navy-3); color: #fff; font-weight: 600; }
.nav a[aria-current="page"] svg { stroke: var(--green); }
.nav .soon { color: var(--side-muted); }
.nav .soon span:first-of-type { flex: 1; }
.pill-soon { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--navy-3); color: var(--side-text); }
.member-card { margin-top: auto; padding: 14px; border-radius: 12px; background: var(--navy-2); border: 1px solid var(--navy-3); display: flex; flex-direction: column; gap: 10px; }
.member-row { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-3); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex: none; }
.member-row b { display: block; color: #fff; }
.member-row small { display: block; font-size: 12px; color: var(--side-muted); font-family: var(--mono); }
.verified { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--green); }
.role-admin { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--green); color: var(--navy); margin-left: auto; }
.btn-logout { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 10px; border: 1px solid var(--navy-3); background: transparent; color: var(--side-text); font-size: 13px; cursor: pointer; }
.btn-logout:hover { background: #1B2029; }
.main { flex: 999 1 560px; min-width: 0; padding: 22px 28px 40px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 640px) { .main { padding: 18px 16px 32px; } }

/* ---------- Header & chips ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.page-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.head-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip-demo { font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--amber-tint); color: var(--amber-text); }
.chip-live { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--green-tint); border: 1px solid var(--green-line); font-size: 13px; color: var(--green-text); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
.tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag-up { background: var(--green-tint); color: var(--green-text); }
.tag-down { background: var(--red-tint); color: var(--red-text); }
.tag-run { background: var(--blue-tint); color: var(--blue-text); }
.tag-neutral { background: var(--line-3); color: var(--muted); }

/* ---------- Cards / layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.card-pad { padding: 18px; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; }
.card h2 { font-size: 15px; font-weight: 700; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.col-main { flex: 999 1 640px; min-width: 0; }
.col-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi b { font-family: var(--mono); font-size: 22px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn:hover { background: #F3F4F6; color: var(--ink); }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.btn-primary:hover { background: #222A36; color: #fff; }
.btn-green { background: var(--green); border-color: var(--green); color: var(--navy); font-weight: 700; }
.btn-block { width: 100%; }
.seg { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.seg button { min-height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* ---------- Tabel ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 600; text-align: left; padding: 10px 12px; }
.tbl td { padding: 12px; border-top: 1px solid var(--line-2); font-family: var(--mono); }
.tbl th:first-child, .tbl td:first-child { padding-left: 18px; }
.tbl .num { text-align: right; }

/* ---------- Sinyal ---------- */
.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.inst { text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.inst:hover { border-color: #B8C0CC; }
.inst[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.inst .top { display: flex; justify-content: space-between; gap: 8px; }
.inst .sym { font-family: var(--mono); font-weight: 600; }
.inst .cat { font-size: 11px; color: var(--muted); }
.inst[aria-pressed="true"] .cat { color: var(--side-text); }
.inst .px { font-family: var(--mono); font-size: 17px; font-weight: 600; }
.inst .chg { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.inst .chg.pos { color: var(--green-text); } .inst .chg.neg { color: var(--red-text); }
.inst[aria-pressed="true"] .chg.pos { color: var(--green); } .inst[aria-pressed="true"] .chg.neg { color: var(--red-soft); }

.chart { background: var(--navy); color: #fff; border-radius: 16px; overflow: hidden; }
.chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; }
.ch-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ch-title .sym { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.ch-title .tf { font-family: var(--mono); font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--navy-line); color: var(--side-text); }
.ch-title .nm { color: var(--side-muted); font-size: 13px; }
.quotes { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin-top: 6px; }
.quotes span { display: flex; align-items: baseline; gap: 6px; }
.quotes small { font-size: 12px; color: var(--side-muted); }
.quotes .bid { font-family: var(--mono); font-size: 22px; font-weight: 700; }
.quotes .mono { font-size: 14px; }
.tfs { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; background: var(--navy-deep); border: 1px solid var(--navy-line); border-radius: 12px; }
.tfs button { min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 9px; background: transparent; color: var(--side-text); font-family: var(--mono); font-size: 13px; font-weight: 600; cursor: pointer; }
.tfs button[aria-pressed="true"] { background: var(--green); color: var(--navy); }
.pane { display: flex; border-top: 1px solid var(--navy-line); }
.pane .plot { position: relative; flex: 1; min-width: 0; overflow: hidden; }
.pane .axis { position: relative; width: 88px; flex: none; border-left: 1px solid var(--navy-line); }
.pane .inset { position: absolute; left: 0; right: 0; top: 16px; bottom: 16px; }
.pane-main { height: 440px; } .pane-vol { height: 76px; } .pane-time { height: 30px; }
@media (max-width: 640px) { .pane-main { height: 320px; } .pane .axis { width: 72px; } }
.abs { position: absolute; }
.gl { position: absolute; left: 0; right: 0; height: 1px; background: #1E232C; }
.vl { position: absolute; top: -16px; bottom: -16px; width: 1px; background: #1B2029; }
.cdl { position: absolute; top: 0; bottom: 0; }
.cdl i { position: absolute; left: 50%; width: 1px; margin-left: -.5px; }
.cdl b { position: absolute; left: 0; right: 0; min-height: 1px; border-radius: 1px; }
.lvl { position: absolute; left: 0; right: 0; border-top: 1px dashed; }
.lvl span { position: absolute; left: 12px; top: -11px; padding: 1px 7px; font-family: var(--mono); font-size: 11px; font-weight: 600; border-radius: 5px; background: var(--navy); border: 1px solid; }
.ax-l { position: absolute; right: 10px; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; color: var(--side-muted); }
.ax-cur { position: absolute; left: 4px; right: 4px; transform: translateY(-50%); padding: 3px 0; text-align: center; border-radius: 4px; color: var(--navy); font-family: var(--mono); font-size: 11px; font-weight: 700; }
.t-l { position: absolute; top: 7px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 11px; color: var(--side-muted); }
.vbar { position: absolute; bottom: 0; border-radius: 1px 1px 0 0; }
.chart-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--navy-line); background: var(--navy-deep); font-size: 12px; color: var(--side-muted); }
.chart-foot b { color: var(--side-text); font-weight: 600; }

.sig-dir { padding: 8px 14px; border-radius: 10px; font-weight: 800; font-size: 20px; }
.sig-dir.buy { background: var(--green-tint); color: var(--green-text); }
.sig-dir.sell { background: var(--red-tint); color: var(--red-text); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field { padding: 10px 12px; border-radius: 10px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.field span { font-size: 12px; color: var(--muted); }
.field b { font-family: var(--mono); font-size: 15px; }
.bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); border-radius: 999px; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.ck { width: 26px; height: 26px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--green-tint); }
.ck.warn { background: var(--amber-tint); }
.checklist b { display: block; font-weight: 600; }
.checklist small { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Berita ---------- */
.search { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.search input { width: 240px; max-width: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font: inherit; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.feature { display: flex; flex-wrap: wrap; overflow: hidden; }
.feature .img { flex: 1 1 300px; min-height: 240px; background: var(--line-3); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }
.feature .body { flex: 1 1 340px; min-width: 0; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.feature h2 { font-size: 24px; line-height: 1.2; font-weight: 800; }
.news { display: flex; gap: 16px; padding: 16px 18px; border-top: 1px solid var(--line-2); }
.news .thumb { width: 88px; height: 66px; flex: none; border-radius: 10px; background: var(--line-3); }
.news h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.news .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sym-tag { flex: none; align-self: center; font-family: var(--mono); font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); }
.ev { display: flex; align-items: flex-start; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line-2); }
.ev .t { width: 44px; flex: none; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.ev .cur { width: 38px; flex: none; font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 2px 0; text-align: center; border-radius: 5px; background: var(--navy); color: #fff; }
.ev .dots { display: flex; gap: 3px; padding-top: 5px; }
.ev .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.st-row { display: flex; align-items: center; gap: 10px; }
.st-row .bar { flex: 1; height: 8px; }

/* ---------- Money Management ---------- */
.formula { display: flex; align-items: center; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg); font-family: var(--mono); font-size: 12px; }
.formula span { padding: 8px 12px; border-right: 1px solid var(--line-2); }
.sheet { width: 100%; min-width: 1120px; border-collapse: collapse; font-family: var(--mono); font-size: 12px; }
.sheet th, .sheet td { border: 1px solid var(--line-2); padding: 8px 10px; }
.sheet .letters th { background: var(--bg); color: var(--muted); font-size: 11px; font-weight: 500; padding: 4px; text-align: center; }
.sheet .labels th { background: var(--line-3); font-family: Inter, sans-serif; font-weight: 700; text-align: left; }
.sheet th.rn { background: var(--bg); color: var(--muted); font-weight: 500; text-align: center; width: 40px; }
.sheet .num { text-align: right; }
.sheet .open { background: #F5F9FF; }
.sheet .total { background: var(--line-3); font-weight: 700; }
.sheet .note { font-family: Inter, sans-serif; color: var(--muted); white-space: nowrap; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.calc-grid input { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-family: var(--mono); font-size: 14px; width: 100%; }
.out { padding: 12px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.out span { font-size: 12px; color: var(--muted); }
.out b { font-family: var(--mono); font-size: 18px; }
.out.dark { background: var(--navy); }
.out.dark span { color: var(--side-text); }
.out.dark b { color: var(--green); }
.warn-text { font-size: 12px; color: var(--amber-icon); }
.line-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; border-top: 1px solid var(--line-2); }

/* ---------- Portofolio ---------- */
.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 22px; }
.avatar-lg { width: 76px; height: 76px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; border: 3px solid var(--green); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 13px; cursor: pointer; width: 100%; }
.switch .track { width: 40px; height: 22px; border-radius: 999px; background: var(--input-line); position: relative; flex: none; transition: background .15s; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.switch[aria-checked="true"] .track { background: var(--green); }
.switch[aria-checked="true"] .knob { left: 21px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dow { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; }
.cal .d { min-height: 46px; border-radius: 8px; padding: 4px 6px; background: var(--bg); border: 1px solid var(--line-3); display: flex; flex-direction: column; justify-content: space-between; font-family: var(--mono); font-size: 11px; }
.cal .d.blank { background: transparent; border-color: transparent; }
.cal .d.pos { background: var(--green-tint); } .cal .d.neg { background: var(--red-tint); }
.cal .d.today { border-color: var(--green); }
.cal .d.future { color: #5F6672; }
.cal .d b { font-size: 10px; }

/* ---------- Auth (login / daftar) ---------- */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; background: #fff; }
.auth-form { flex: 1 1 480px; min-width: 0; padding: 28px 40px 48px; display: flex; flex-direction: column; gap: 32px; }
@media (max-width: 640px) { .auth-form { padding: 22px 16px 40px; } }
.auth-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.auth-brand .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: var(--green); font-size: 14px; }
.auth-box { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.auth-box.wide { max-width: 520px; }
.auth-box h1 { font-size: 30px; font-weight: 800; letter-spacing: -.01em; text-align: center; }
.center { text-align: center; }
.note-green { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--green-tint); color: #0E5C2F; font-size: 13px; }
.note-error { padding: 12px 14px; border-radius: 10px; background: var(--red-tint); color: var(--red-text); font-size: 13px; font-weight: 600; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.form input[type=text], .form input[type=password] { min-height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--input-line); background: var(--input-bg); color: var(--ink); font-size: 15px; width: 100%; }
.form input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.pass-wrap { display: flex; align-items: center; border-radius: 8px; border: 1px solid var(--input-line); background: var(--input-bg); }
.pass-wrap input { border: 0 !important; background: transparent !important; }
.pass-wrap button { width: 44px; height: 44px; flex: none; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.form-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green-text); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.auth-side { flex: 1 1 420px; min-width: 0; padding: 40px 48px 48px; background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 640px) { .auth-side { padding: 32px 16px; } }
.auth-side h2 { font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.auth-side .lead { color: var(--side-muted); font-size: 15px; }
.slides { display: flex; gap: 8px; padding-top: 18px; }
.slides i { width: 70px; height: 3px; border-radius: 2px; background: #374151; }
.slides i.on { background: #fff; }
.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--navy-2); }
.perks .ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--navy-3); display: flex; align-items: center; justify-content: center; }
.perks b { display: block; }
.perks small { display: block; color: var(--side-muted); font-size: 13px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; gap: 14px; padding: 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.step.current { border-color: var(--navy); }
.step.done { background: #F7FCFA; }
.step .n { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--line-3); color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.step.current .n { background: var(--navy); color: #fff; }
.step.done .n { background: var(--green); color: var(--navy); }
.step .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.step .txt b { font-size: 15px; }
.step .txt span { color: var(--muted); font-size: 13px; }
.step .txt a.btn { align-self: flex-start; min-height: 40px; font-size: 13px; margin-top: 4px; }
.step .mark { align-self: flex-start; flex: none; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--input-line); background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; cursor: pointer; }
.step.done .mark { background: var(--green-tint); color: var(--green-text); border-color: var(--green-line); }
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--navy); color: #fff; padding: 16px; }
.error-page p { color: var(--side-muted); margin: 8px 0 20px; }

/* ---------- Tambahan ---------- */
.btn { white-space: nowrap; }
@media (max-width: 640px) {
  .side { flex-basis: 100%; min-width: 0; max-width: 100%; padding: 12px; gap: 10px; }
  .side > .nav:not([aria-label]) { display: none; }
  .nav[aria-label] { flex-direction: row; overflow-x: auto; gap: 6px; min-width: 0; max-width: 100%; scrollbar-width: none; }
  .nav[aria-label] .side-label { display: none; }
  .nav a { white-space: nowrap; min-height: 40px; }
  .member-card { margin-top: 0; flex-direction: row; align-items: center; padding: 8px 10px; min-width: 0; }
  .member-card form { flex: none; }
  .member-card .member-row { flex: 1; min-width: 0; }
  .member-card .verified { display: none; }
  .btn-logout { width: auto; padding: 0 12px; }
}

.chip-live.off { background: var(--amber-tint); border-color: #FCD34D; color: var(--amber-text); }
.chip-live.off .dot { background: #D97706; }
.chip-live .dot { animation: none; }
.chip-live:not(.off) .dot { box-shadow: 0 0 0 0 rgba(37,198,96,.6); animation: pd-pulse 2s infinite; }
@keyframes pd-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,198,96,.6); } 70% { box-shadow: 0 0 0 6px rgba(37,198,96,0); } 100% { box-shadow: 0 0 0 0 rgba(37,198,96,0); } }
@media (prefers-reduced-motion: reduce) { .chip-live .dot { animation: none !important; } }
.chart-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--side-muted); font-size: 13px; }

/* ---------- Indikator Engulfing JOSS ---------- */
.ind-btn { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--navy-line); background: var(--navy-deep); color: var(--side-text); font-size: 13px; font-weight: 600; cursor: pointer; }
.ind-btn[aria-pressed="true"] { border-color: #FFFF00; color: #FFFF00; }
.ind-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 0 18px 12px; font-size: 12px; color: var(--side-text); }
.ind-legend[hidden] { display: none; }
.ind-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ind-legend .ln { display: inline-block; width: 18px; height: 2px; }
.ind-legend .ln.dot { height: 0; border-top: 2px dotted; }
.ind-legend b { font-size: 11px; }
.muted-d { color: var(--side-muted); }
.ind-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.arw { position: absolute; transform: translateX(-50%); font-size: 11px; line-height: 1; pointer-events: none; text-shadow: 0 0 2px #000; }
@media (max-width: 640px) { .arw { font-size: 8px; } }
