/* Neptune — monochrome terminal desk. Black and white only. */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=Inter+Tight:wght@500;600;700;800;900&family=Google+Sans+Flex:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #000;
  --panel: #070707;
  --panel2: #0c0c0c;
  --line: rgba(255, 255, 255, 0.09);
  --line2: rgba(255, 255, 255, 0.16);
  --line3: rgba(255, 255, 255, 0.32);
  --text: #f2f2f2;
  --mut: #8d8d8d;
  --dim: #555;
  --faint: #2a2a2a;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter Tight", "Inter", system-ui, sans-serif;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='64' height='64' fill='%23fff'/%3E%3Cg transform='rotate(-20 32 32)' fill='none' stroke='%23000'%3E%3Cpath d='M2 32a30 8.5 0 0 0 60 0' stroke-width='7'/%3E%3Cpath d='M14 23.5h36M12.5 40h39' stroke-width='1.6'/%3E%3C/g%3E%3C/mask%3E%3C/defs%3E%3Ccircle cx='32' cy='32' r='19.5' fill='%23fff' mask='url(%23m)'/%3E%3Cg transform='rotate(-20 32 32)' fill='none' stroke='%23fff' stroke-width='2.6'%3E%3Cpath d='M2 32a30 8.5 0 0 0 60 0'/%3E%3Cpath d='M2 32a30 8.5 0 0 1 11.6-6.6M62 32a30 8.5 0 0 0-11.6-6.6'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 12.5px/1.55 var(--mono); -webkit-font-smoothing: antialiased; }
::selection { background: #fff; color: #000; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.mut { color: var(--mut); }
.dim { color: var(--dim); }
.up { color: #fff; }
.down { color: var(--mut); }
.grow { flex: 1; }
.tnum { font-variant-numeric: tabular-nums; }

/* backdrop: fine grid + vignette */
.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% -10%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px) 0 0 / 32px 100%;
  mask-image: radial-gradient(100% 80% at 50% 0%, #000 35%, transparent 100%); }

/* outlined ghost letters (as on punkchainer.ai) */
.ghost { position: absolute; z-index: 0; pointer-events: none; user-select: none; font-family: var(--sans); font-weight: 900; line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.085); white-space: nowrap; }

/* brand mark: the trident, with the light sweep */
.mark { display: inline-block; width: 22px; height: 22px; background: #fff; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; flex: none; }
.mark.shine { background: linear-gradient(100deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.5) 38%, #fff 47%, #fff 53%, rgba(255,255,255,.5) 62%, rgba(255,255,255,.5) 100%) 0 0 / 300% 100%; animation: sweep 1.8s ease-in-out infinite; }
.glowpulse { display: inline-flex; animation: glowpulse 2.2s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
@keyframes glowpulse { 0%, 100% { filter: drop-shadow(0 0 2px rgba(255,255,255,.35)) drop-shadow(0 0 8px rgba(255,255,255,.15)); } 50% { filter: drop-shadow(0 0 6px rgba(255,255,255,.9)) drop-shadow(0 0 24px rgba(255,255,255,.45)); } }

/* ---------------------------------------------------------------- shell */
.shell { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 0 20px 70px; }
.top { position: sticky; top: 0; z-index: 30; background: rgba(0, 0, 0, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .shell { display: flex; align-items: center; gap: 18px; height: 56px; padding-bottom: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font-family: var(--sans); font-weight: 800; font-size: 16px; letter-spacing: 0.18em; }
.chip-os { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line2); padding: 2px 7px; border-radius: 4px; color: var(--mut); }
.nav { display: flex; gap: 2px; }
.nav button { border: 0; background: transparent; color: var(--mut); padding: 7px 11px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em; font-size: 11px; border-radius: 4px; }
.nav button:hover { color: #fff; }
.nav button.on { color: #000; background: #fff; }
.nav button .k { opacity: 0.45; margin-right: 6px; }
.stat-chips { display: flex; gap: 8px; align-items: center; }
.sc { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--line2); border-radius: 4px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); white-space: nowrap; }
.sc b { color: #fff; font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; flex: none; }
.dot.off { background: var(--dim); }
.dot.live { box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 0 10px #fff; animation: blink 1.6s infinite; }
.sc.real { color: #000; background: #fff; border-color: #fff; }
.sc.real .dot { background: #000; box-shadow: none; }
@keyframes blink { 50% { opacity: 0.35; } }

.subbar { display: flex; gap: 14px; align-items: center; margin: 18px 0 0; color: var(--dim); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; flex-wrap: wrap; }
.subbar span::before { content: "◆ "; color: var(--faint); }
.subbar span:first-child::before { content: ""; }

/* ---------------------------------------------------------------- panels */
.panel { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.022), transparent 40%), var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.panel.lit { border-color: var(--line3); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 0 40px -12px rgba(255,255,255,.18); }
.ph { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); }
.ph b { color: #fff; font-weight: 600; }
.ph .rng { margin-left: auto; color: var(--dim); }
.pb { padding: 14px; }
.grid { display: grid; gap: 12px; }
.c2 { grid-template-columns: 1fr 1fr; }
.c3 { grid-template-columns: repeat(3, 1fr); }
.c-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1000px) { .c-main, .c2, .c3 { grid-template-columns: 1fr; } }

/* hero */
.hero { margin-top: 14px; overflow: hidden; }
.hero .ghost { right: -10px; top: -14px; font-size: clamp(80px, 13vw, 190px); }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 22px; padding: 22px; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } }
.eyebrow { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut); }
.title { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.02; letter-spacing: -0.025em; margin: 10px 0 4px; }
.title em { font-style: normal; color: var(--mut); }
.bignum { font-family: var(--sans); font-weight: 800; font-size: clamp(44px, 6vw, 76px); letter-spacing: -0.04em; line-height: 1; margin-top: 18px; font-variant-numeric: tabular-nums; }
.bignum small { font-size: 0.3em; letter-spacing: 0; color: var(--mut); font-family: var(--mono); font-weight: 500; margin-left: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; border: 1px solid var(--line); border-radius: 5px; }
.kpis > div { padding: 10px 12px; border-left: 1px solid var(--line); }
.kpis > div:first-child { border-left: 0; }
.kpis .k { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.kpis .v { font-size: 17px; font-weight: 600; margin-top: 2px; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; } .kpis > div:nth-child(3) { border-left: 0; } .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* breakdown box (bars) */
.box { border: 1px solid var(--line2); border-radius: 6px; background: rgba(0,0,0,.6); }
.box .ph { padding: 9px 12px; }
.bars { padding: 6px 12px 10px; }
.bar { display: grid; grid-template-columns: 18px 92px 1fr 34px; align-items: center; gap: 10px; padding: 5px 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
.bar .ic { width: 16px; height: 16px; border: 1px solid var(--line3); border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #fff; }
.bar.sel { background: rgba(255,255,255,.06); margin: 0 -12px; padding: 5px 12px; box-shadow: inset 2px 0 0 #fff; }
.bar .track { display: block; height: 6px; background: #151515; border-radius: 2px; overflow: hidden; }
.bar .fill { display: block; height: 100%; background: linear-gradient(90deg, #8a8a8a, #fff); border-radius: 2px; transition: width .6s ease; }
.bar .n { text-align: right; color: #fff; }

/* segmented strip */
.strip { margin-top: 12px; display: grid; grid-template-columns: 170px 1fr; gap: 0; align-items: stretch; }
.strip .lab { padding: 12px 14px; border-right: 1px solid var(--line); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); }
.strip .lab b { display: block; color: #fff; font-size: 12px; letter-spacing: 0.06em; margin-top: 2px; }
.segs { display: flex; gap: 3px; padding: 12px 14px; align-items: flex-start; }
.seg { min-width: 0; }
.seg .sb { height: 14px; border-radius: 2px; position: relative; display: flex; align-items: center; padding: 0 6px; font-size: 9.5px; color: #000; font-weight: 700; overflow: hidden; white-space: nowrap; }
.seg .sl { margin-top: 6px; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg .sl::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 1px; background: currentColor; vertical-align: 1px; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } .strip .lab { border-right: 0; border-bottom: 1px solid var(--line); } }

/* curve */
.curve { width: 100%; height: 150px; display: block; }

/* list rows (positions, history, feed) */
.rows { display: grid; }
.r { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); align-items: start; }
.r:first-child { border-top: 0; }
.r.sel { background: rgba(255,255,255,.035); box-shadow: inset 2px 0 0 #fff; }
.av { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line3); display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; background: #0b0b0b; }
.av.fill { background: #fff; color: #000; border-color: #fff; }
.rt { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rt .nm { font-weight: 700; font-size: 13px; color: #fff; }
.rt .num { color: var(--dim); }
.rd { color: var(--mut); margin-top: 2px; }
.rl { color: var(--dim); font-size: 11px; margin-top: 4px; letter-spacing: 0.02em; }
.rr { text-align: right; white-space: nowrap; }
.rr .pnl { font-weight: 700; font-size: 13px; }
.tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border: 1px solid var(--line2); border-radius: 3px; font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }
.tag.inv { background: #fff; color: #000; border-color: #fff; font-weight: 700; }
.tag.wait { border-style: dashed; color: #fff; }
.sec { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-top: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.sec b { color: #fff; }
.sec .rng { margin-left: auto; color: var(--dim); }
.empty { padding: 26px 14px; color: var(--dim); text-align: center; letter-spacing: 0.04em; }

/* ladder */
.ladder { position: relative; height: 46px; margin: 10px 2px 0; }
.ladder .lrail { position: absolute; left: 0; right: 0; top: 19px; height: 2px; background: linear-gradient(90deg, #333, #777 40%, #fff); }
.ladder .mk { position: absolute; top: 0; transform: translateX(-50%); font-size: 9.5px; letter-spacing: 0.08em; color: var(--dim); white-space: nowrap; text-transform: uppercase; }
.ladder .mk i { display: block; width: 1px; height: 10px; margin: 3px auto 0; background: var(--line3); }
.ladder .mk.done { color: #fff; }
.ladder .mk.done i { background: #fff; height: 12px; }
.ladder .mk.low { top: 23px; }
.ladder .mk.low i { margin: 0 auto 3px; height: 8px; }
.ladder .now { position: absolute; top: 14px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); box-shadow: 0 0 14px rgba(255,255,255,.8); transition: left .6s ease; }

/* feed */
.feed .ev { display: grid; grid-template-columns: 46px 10px 1fr; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 11.5px; }
.feed .ev:first-child { border-top: 0; }
.feed .t { color: var(--dim); }
.feed .lv { width: 7px; height: 7px; margin-top: 5px; border: 1px solid var(--mut); }
.lv.open, .lv.fill, .lv.tp, .lv.be { background: #fff; border-color: #fff; }
.lv.close { background: var(--mut); border-color: var(--mut); }
.lv.error, .lv.warn { border-color: #fff; transform: rotate(45deg); }
.lv.webhook { border-radius: 50%; border-color: #fff; }
.feed .tx { color: #cfcfcf; }
.scroll { max-height: 560px; overflow: auto; scrollbar-width: thin; scrollbar-color: #222 transparent; }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label, .lbl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mut); }
.input { height: 36px; border-radius: 4px; border: 1px solid var(--line2); background: #030303; padding: 0 10px; width: 100%; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.input.sm { height: 32px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px; background-size: 5px 5px; background-repeat: no-repeat; }
.hint { font-size: 11px; color: var(--dim); line-height: 1.5; }
.btn { height: 34px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--line2); background: transparent; cursor: pointer; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:hover { border-color: var(--line3); background: rgba(255,255,255,.05); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.pri { background: #fff; color: #000; border-color: #fff; }
.btn.pri:hover { background: #dcdcdc; }
.btn.warn { border-color: #fff; color: #fff; }
.btn.sm { height: 26px; padding: 0 9px; font-size: 10px; }
.tg { position: relative; width: 36px; height: 20px; border-radius: 3px; background: #1a1a1a; border: 1px solid var(--line2); cursor: pointer; flex: none; transition: background .2s; padding: 0; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 12px; height: 12px; border-radius: 2px; background: #666; transition: left .2s, background .2s; }
.tg.on { background: #fff; border-color: #fff; }
.tg.on::after { left: 19px; background: #000; }
.opt { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.opt:first-child { border-top: 0; padding-top: 0; }
.opt .tx { flex: 1; }
.opt .tx b { display: block; font-weight: 600; color: #fff; }
.opt .tx span { font-size: 11px; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line2); border-radius: 3px; padding: 5px 10px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; background: transparent; }
.chip.on { background: #fff; color: #000; border-color: #fff; font-weight: 700; }
.tp-row { display: grid; grid-template-columns: 40px 1fr 1fr 28px; gap: 8px; align-items: center; margin-bottom: 8px; }
.tp-row .n { font-weight: 700; color: #fff; }
.alloc { display: flex; height: 6px; border-radius: 2px; overflow: hidden; background: #151515; margin: 10px 0 6px; gap: 2px; }
.alloc i { display: block; height: 100%; background: #fff; }
.alloc i:nth-child(2n) { background: #9a9a9a; }
.alloc i.rest { background: repeating-linear-gradient(45deg, #333 0 4px, #1a1a1a 4px 8px); }
.copy { display: flex; gap: 8px; }
.savebar { position: sticky; bottom: 34px; z-index: 5; display: flex; gap: 8px; align-items: center; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 6px; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); }
.notice { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 10px 14px; border: 1px dashed var(--line3); border-radius: 6px; color: #ddd; }
.notice::before { content: "!"; width: 18px; height: 18px; flex: none; display: grid; place-items: center; background: #fff; color: #000; font-weight: 800; border-radius: 2px; font-size: 11px; }

/* status bar */
.status { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; border-top: 1px solid var(--line); background: rgba(0,0,0,.9); backdrop-filter: blur(10px); }
.status .shell { display: flex; align-items: center; gap: 16px; height: 30px; padding-bottom: 0; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); overflow: hidden; white-space: nowrap; }
.status b { color: var(--mut); font-weight: 500; }
.status .sp { flex: 1; border-top: 1px dashed var(--faint); }
@media (max-width: 700px) { .status .hide-sm { display: none; } }

/* toast & modal */
.toast { position: fixed; bottom: 44px; left: 50%; transform: translate(-50%, 12px); opacity: 0; background: #fff; color: #000; padding: 9px 14px; border-radius: 4px; font-weight: 600; font-size: 11.5px; letter-spacing: .04em; transition: .22s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #000; color: #fff; border: 1px solid #fff; }
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.78); backdrop-filter: blur(6px); display: none; place-items: center; padding: 20px; }
.modal.open { display: grid; }
.modal .panel { max-width: 460px; width: 100%; }

/* mobile header */
@media (max-width: 820px) {
  .top .shell { flex-wrap: wrap; height: auto; padding-top: 10px; row-gap: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .nav button { flex: none; }
  .stat-chips .sc.hide-sm { display: none; }
}

/* ---------------------------------------------------------------- boot splash */
.boot { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; transition: opacity .5s ease-out; }
.boot.fade { opacity: 0; pointer-events: none; }
.boot .mark { width: 92px; height: 92px; }
.boot .word { margin-top: 26px; font-family: var(--sans); font-weight: 800; letter-spacing: .5em; font-size: 13px; padding-left: .5em; }
.boot .track { margin-top: 28px; width: 200px; height: 5px; border-radius: 99px; background: #262626; overflow: hidden; }
.boot .track i { display: block; height: 100%; width: 0; border-radius: 99px; background: #fff; transition: width 2.6s ease-in-out; }
.boot .cap { margin-top: 14px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); height: 14px; }

/* ---------------------------------------------------------------- login */
.login { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login .show { position: relative; overflow: hidden; border-right: 1px solid var(--line); padding: 44px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login .show .ghost { left: 40px; top: 120px; font-size: clamp(90px, 10.5vw, 170px); }
.login canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.login .show .top-l, .login .show .bot-l { position: relative; z-index: 2; }
.quote { font-family: var(--sans); font-size: 34px; letter-spacing: -0.02em; font-weight: 600; letter-spacing: -0.01em; }
.feats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 14px; color: var(--mut); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.feats span::before { content: "◆ "; color: #fff; }
.login .form { display: grid; place-items: center; padding: 40px 24px; position: relative; }
.login .form::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 40% at 70% 0%, rgba(255,255,255,.07), transparent 70%); pointer-events: none; }
.login form { position: relative; width: 100%; max-width: 384px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 26px; padding: 0 11px; border: 1px solid var(--line2); border-radius: 99px; font-size: 11px; color: var(--mut); }
.pill b { color: #fff; font-weight: 600; }
.login h1 { font-family: var(--sans); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; margin: 16px 0 6px; }
.login .lead { color: var(--mut); margin: 0 0 26px; font-size: 13px; line-height: 1.6; font-family: var(--sans); }
.inwrap { position: relative; }
.inwrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--mut); }
.inwrap .input { height: 42px; padding-left: 38px; padding-right: 40px; font-size: 13px; border-radius: 6px; }
.inwrap .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--mut); cursor: pointer; width: 30px; height: 30px; display: grid; place-items: center; }
.inwrap .eye svg { position: static; transform: none; }
.login .go { width: 100%; height: 42px; justify-content: center; border-radius: 6px; font-size: 12px; margin-top: 6px; }
.login .err { min-height: 18px; font-size: 12px; color: #fff; margin: 4px 0; }
.login .fine { display: flex; gap: 10px; align-items: flex-start; margin-top: 24px; color: var(--dim); font-size: 11px; line-height: 1.5; }
.login .mobile-brand { display: none; }
@media (max-width: 900px) {
  .login { grid-template-columns: 1fr; }
  .login .show { display: none; }
  .login .mobile-brand { display: flex; position: absolute; top: 22px; left: 22px; }
}
@media (prefers-reduced-motion: reduce) { .mark.shine, .glowpulse, .dot.live { animation: none; } }

/* ==================================================================================
   Inside the app: the look of Price Action's Estrategia 3K page — black icon rail,
   #161616 content with a rounded corner, soft cards, sans type, emerald / red results,
   amber-to-lime progress. The login and the boot screen stay black.
   ================================================================================== */
body.app {
  --bg: #161616; --panel: rgba(255,255,255,.025); --line: rgba(255,255,255,.06); --line2: #2b2b2b; --line3: #3a3a3a;
  --text: #f5f5f5; --mut: #a3a3a3; --dim: #737373; --faint: #262626;
  --green: #34d399; --green2: #6ee7b7; --red: #f87171; --red2: #fda4af; --amber: #fbbf24;
  --app-sans: "Google Sans Flex", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  background: #000; font: 14px/1.5 var(--app-sans);
}
body.app .backdrop { display: none; }
body.app :is(.ph, .ph b, .eyebrow, .kpis .k, .lbl, .field label, .sc, .btn, .chip, .strip .lab, .bar, .seg .sl, .status .shell, .nav button, .tag, .sec) { text-transform: none; letter-spacing: 0; }
body.app .up { color: var(--green); }
body.app .down { color: var(--red); }
body.app .mut { color: var(--mut); }

/* rail + content */
.rail { position: fixed; left: 0; top: 0; bottom: 0; width: 56px; z-index: 40; background: #000; display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 6px; }
.rail-logo { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 10px; }
.rail-logo .mark { width: 26px; height: 26px; }
.rail-nav { display: flex; flex-direction: column; gap: 6px; }
.rail-nav button { position: relative; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: #a3a3a3; display: grid; place-items: center; cursor: pointer; padding: 0; }
.rail-nav button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rail-nav button span { display: none; }
.rail-nav button:hover { color: #fff; background: #1f1f1f; }
.rail-nav button.on { color: #fff; background: #252525; }
.rail-nav button::after { content: attr(data-label); position: absolute; left: 46px; top: 50%; transform: translateY(-50%); background: #252525; color: #fff; font-size: 12.5px; padding: 5px 9px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .12s; border: 1px solid #2f2f2f; }
.rail-nav button:hover::after { opacity: 1; }
.rail-os { width: 32px; height: 32px; border-radius: 50%; background: #1f1f1f; color: #d4d4d4; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.content { margin-left: 56px; min-height: 100vh; background: #161616; border-top-left-radius: 18px; position: relative; }
body.app .shell { max-width: 1240px; padding: 0 28px 70px; }
body.app .top { background: rgba(22,22,22,.86); border-bottom: 1px solid transparent; border-top-left-radius: 18px; }
body.app .top .shell { height: 60px; padding-bottom: 0; }
.page-title { display: flex; align-items: center; gap: 10px; }
.page-title b { font-size: 15px; font-weight: 600; }
body.app .chip-os { border-color: #2f2f2f; color: #a3a3a3; letter-spacing: 0; text-transform: none; font-size: 11.5px; border-radius: 99px; padding: 2px 9px; }
body.app .sc { height: 30px; border-radius: 99px; border-color: #2b2b2b; background: #1f1f1f; color: #d4d4d4; font-size: 12.5px; }
body.app .sc b { color: var(--green); }
body.app .sc.real { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.4); color: #fecaca; }
body.app .sc.real .dot { background: var(--red); }
body.app .dot { background: var(--green); }
body.app .dot.off { background: #525252; }
body.app .dot.live { box-shadow: 0 0 8px rgba(52,211,153,.7); }

/* page heading like "Estrategia 3K · En vivo" */
.page-head { margin: 10px 0 20px; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 12px; }
.live-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 400; color: #a3a3a3; letter-spacing: 0; }
.page-head p { margin: 8px 0 0; max-width: 680px; font-size: 16px; line-height: 1.55; color: #e5e5e5; }
.page-head p b { font-weight: 600; }

/* cards */
body.app .panel { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
body.app .panel.lit { border-color: rgba(255,255,255,.06); box-shadow: none; }
body.app .ph { border-bottom: 0; padding: 14px 16px 4px; font-size: 14px; color: #a3a3a3; }
body.app .ph b { font-size: 14px; font-weight: 600; color: #fff; }
body.app .ph .rng { font-size: 12.5px; color: #8a8a8a; }
body.app .ph .dim { color: #737373; font-variant-numeric: tabular-nums; }
body.app .pb { padding: 12px 16px 16px; }
body.app .grid { gap: 10px; }

/* hero */
body.app .hero { margin-top: 0; }
body.app .hero .ghost { -webkit-text-stroke-color: rgba(255,255,255,.045); }
body.app .hero-in { padding: 18px; }
body.app .eyebrow { font-size: 13px; color: #a3a3a3; }
body.app .bignum { font-family: var(--app-sans); font-weight: 600; margin-top: 12px; }
body.app .bignum small { font-family: var(--app-sans); }
body.app .kpis { border: 0; gap: 10px; grid-template-columns: repeat(4, 1fr); }
body.app .kpis > div { border: 1px solid rgba(255,255,255,.06) !important; border-radius: 12px; background: rgba(255,255,255,.025); padding: 12px 14px; }
body.app .kpis .k { font-size: 13px; color: #a3a3a3; }
body.app .kpis .v { font-size: 18px; font-weight: 600; margin-top: 2px; }
body.app .box { border-color: rgba(255,255,255,.06); background: #1b1b1b; border-radius: 12px; }
body.app .box .ph { padding: 12px 14px 2px; }
body.app .bar { grid-template-columns: 20px 96px 1fr 30px; font-size: 13px; padding: 6px 0; }
body.app .bar .ic { border-color: #3a3a3a; color: #d4d4d4; }
body.app .bar.sel { background: transparent; box-shadow: none; margin: 0; padding: 6px 0; }
body.app .bar .track { height: 4px; background: #2b2b2b; border-radius: 99px; }
body.app .bar .fill { background: linear-gradient(90deg, #f59e0b, #a3e635); border-radius: 99px; }
body.app .bar:nth-child(4) .fill { background: linear-gradient(90deg, #f87171, #fb7185); }

/* strip */
body.app .strip .lab { border-right-color: rgba(255,255,255,.06); font-size: 13px; color: #a3a3a3; }
body.app .strip .lab b { font-size: 14px; letter-spacing: 0; margin-top: 2px; }
body.app .seg .sb { height: 6px; padding: 0; font-size: 0; border-radius: 99px; }
body.app .seg .sl { font-size: 12.5px; margin-top: 8px; }
body.app .seg .sl::before { border-radius: 50%; }

/* rows */
body.app .r { border-top-color: rgba(255,255,255,.05); padding: 14px 16px; }
body.app .r.sel { background: transparent; box-shadow: none; }
body.app .av { border-color: #2f2f2f; background: #252525; color: #e5e5e5; font-size: 9.5px; }
body.app .av.fill { background: rgba(52,211,153,.14); color: var(--green2); border-color: rgba(52,211,153,.35); }
body.app .rt .nm { font-size: 14.5px; font-weight: 600; }
body.app .rt .num { color: #737373; font-variant-numeric: tabular-nums; }
body.app .rd { color: #a3a3a3; font-size: 13px; }
body.app .rl { color: #8a8a8a; font-size: 12.5px; font-variant-numeric: tabular-nums; }
body.app .rr .pnl { font-size: 14.5px; font-weight: 600; }
body.app .tag { border-color: #2f2f2f; background: #252525; color: #a3a3a3; border-radius: 6px; font-size: 11px; height: 20px; }
body.app .tag.wait { border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.08); color: #fcd34d; }
.side { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.side.LONG { color: var(--green, #34d399); }
.side.SHORT { color: var(--red, #f87171); }

/* ladder like the 3K open trade bar: red to green with a live dot */
body.app .ladder .lrail { position: absolute; left: 0; right: 0; top: 19px; height: 4px; border-radius: 99px; background: linear-gradient(90deg, rgba(248,113,113,.75), rgba(255,255,255,.12) 40%, rgba(52,211,153,.75)); }
body.app .ladder .mk { font-size: 11px; color: #8a8a8a; text-transform: none; letter-spacing: 0; }
body.app .ladder .mk i { background: #4a4a4a; }
body.app .ladder .mk.done { color: var(--green2); }
body.app .ladder .mk.done i { background: var(--green); }
body.app .ladder .now { top: 14px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; transform: none; background: var(--green); box-shadow: 0 0 10px rgba(52,211,153,.8); }

/* feed */
body.app .feed .ev { font-size: 13px; border-top-color: rgba(255,255,255,.05); padding: 9px 16px; }
body.app .feed .t { color: #737373; font-variant-numeric: tabular-nums; }
body.app .feed .lv { border-radius: 50%; border: 0; background: #525252; width: 7px; height: 7px; transform: none; }
body.app .lv.open, body.app .lv.fill, body.app .lv.tp, body.app .lv.be { background: var(--green); }
body.app .lv.close { background: #d4d4d4; }
body.app .lv.error { background: var(--red); }
body.app .lv.warn, body.app .lv.cancel { background: var(--amber); }
body.app .lv.webhook { background: #60a5fa; }
body.app .feed .tx { color: #e5e5e5; }
body.app .empty { color: #8a8a8a; }

/* forms (3K "Simulación de trade" controls) */
body.app .field label, body.app .lbl { font-size: 13px; color: #a3a3a3; }
body.app .input { height: 38px; border-radius: 10px; border-color: #2b2b2b; background: #1f1f1f; font-size: 14px; }
body.app .input:focus { border-color: #525252; box-shadow: 0 0 0 3px rgba(255,255,255,.05); }
body.app .input.sm { height: 34px; }
body.app .hint { font-size: 12.5px; color: #8a8a8a; }
body.app .btn { height: 36px; border-radius: 99px; border-color: #2f2f2f; background: #252525; font-size: 13px; font-weight: 500; padding: 0 16px; }
body.app .btn:hover { background: #2f2f2f; }
body.app .btn.pri { background: #fff; color: #000; border-color: #fff; }
body.app .btn.warn { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.4); color: #fecaca; }
body.app .btn.sm { height: 30px; font-size: 12.5px; padding: 0 12px; }
body.app .chip { border-radius: 99px; border-color: #2b2b2b; background: #252525; font-size: 13px; padding: 5px 13px; color: #d4d4d4; }
body.app .chip.on { background: #fff; color: #000; border-color: #fff; }
body.app .tg { border-radius: 99px; background: #2f2f2f; border-color: #3a3a3a; }
body.app .tg::after { border-radius: 50%; background: #a3a3a3; }
body.app .tg.on { background: var(--green); border-color: var(--green); }
body.app .tg.on::after { background: #fff; }
body.app .opt { border-top-color: rgba(255,255,255,.05); }
body.app .opt .tx b { font-weight: 600; }
body.app .opt .tx span { font-size: 12.5px; color: #8a8a8a; }
body.app .tp-row .n { color: #e5e5e5; }
body.app .alloc { height: 6px; border-radius: 99px; }
body.app .alloc i { background: linear-gradient(90deg, #f59e0b, #a3e635); }
body.app .alloc i:nth-child(2n) { background: linear-gradient(90deg, #a3e635, #34d399); }
body.app .alloc i.rest { background: #2b2b2b; }
body.app .savebar { background: rgba(31,31,31,.95); border-color: #2b2b2b; border-radius: 14px; }
body.app .notice { border: 1px solid rgba(251,191,36,.3); background: rgba(251,191,36,.07); color: #fde68a; border-radius: 12px; margin: 0 0 12px; }
body.app .notice::before { background: #fbbf24; border-radius: 50%; }

/* status bar */
body.app .status { left: 56px; background: rgba(22,22,22,.92); border-top-color: #232323; }
body.app .status .shell { font-size: 12px; color: #737373; height: 32px; }
body.app .status b { color: #a3a3a3; }
body.app .status .sp { border-top-color: #262626; }

body.app .toast { border-radius: 99px; }
body.app .modal .panel { background: #1f1f1f; }

@media (max-width: 820px) {
  .rail { top: auto; width: 100%; height: 58px; flex-direction: row; padding: 0 12px; justify-content: space-around; border-top: 1px solid #1c1c1c; }
  .rail-logo, .rail-os, .rail .grow { display: none; }
  .rail-nav { flex-direction: row; width: 100%; justify-content: space-around; }
  .rail-nav button { width: auto; height: 48px; padding: 0 10px; display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; }
  .rail-nav button span { display: block; font-size: 10.5px; }
  .rail-nav button::after { display: none; }
  .content { margin-left: 0; border-radius: 0; padding-bottom: 58px; }
  body.app .top { border-radius: 0; }
  body.app .top .shell { flex-wrap: nowrap; height: 54px; padding-top: 0; }
  body.app .shell { padding: 0 14px 80px; }
  body.app .status { display: none; }
  body.app .savebar { bottom: 66px; }
  body.app .kpis { grid-template-columns: 1fr 1fr; }
  .page-head h1 { font-size: 24px; }
  .page-head p { font-size: 15px; }
}

/* provider card (Conexión) */
.provider { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #1f1f1f; border: 1px solid #2b2b2b; }
.prov-logo { width: 38px; height: 38px; border-radius: 10px; background: #fff; color: #000; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.provider b { display: block; font-weight: 600; }
.provider .grow span { font-size: 12.5px; color: #a3a3a3; }
.prov-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #a3a3a3; padding: 4px 10px; border-radius: 99px; background: #252525; white-space: nowrap; }
.prov-st.on { color: #6ee7b7; background: rgba(52,211,153,.1); }

/* avatar + account menu */
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #2f2f2f; color: #f5f5f5; font: 600 12.5px var(--app-sans, sans-serif); cursor: pointer; display: grid; place-items: center; padding: 0; }
.avatar:hover { background: #3a3a3a; }
.top-avatar { display: none; }
.menu { position: fixed; left: 64px; bottom: 14px; z-index: 60; width: 240px; padding: 6px; background: #252525; border: 1px solid #2f2f2f; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.5); font-family: var(--app-sans, sans-serif); }
.menu.top { left: auto; right: 14px; top: 58px; bottom: auto; }
.menu-head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 10px; border-bottom: 1px solid #2f2f2f; margin-bottom: 4px; }
.menu-head .mark { width: 24px; height: 24px; }
.menu-head b { display: block; font-size: 14px; font-weight: 600; }
.menu-head span { font-size: 12px; color: #a3a3a3; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-radius: 9px; background: transparent; color: #e5e5e5; font: 14px var(--app-sans, sans-serif); text-decoration: none; cursor: pointer; text-align: left; }
.menu-item:hover { background: #2f2f2f; }
.menu-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.menu-item.danger { color: #fca5a5; }
@media (max-width: 820px) { .top-avatar { display: grid; } .rail .rail-os { display: none; } }

/* ------------------------------------------------------------------ help center */
.help { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.h-toc { position: sticky; top: 76px; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 1px; padding-bottom: 20px; }
.h-search { position: relative; margin-bottom: 14px; }
.h-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; fill: none; stroke: #8a8a8a; stroke-width: 1.8; stroke-linecap: round; }
.h-search input { width: 100%; height: 38px; border-radius: 99px; border: 1px solid #2b2b2b; background: #1f1f1f; padding: 0 12px 0 34px; outline: none; font: 14px var(--app-sans); color: #f5f5f5; }
.h-search input:focus { border-color: #525252; }
.h-tg { font-size: 12px; color: #737373; margin: 12px 0 4px 10px; }
.h-toc a { display: block; padding: 6px 10px; border-radius: 8px; color: #c4c4c4; text-decoration: none; font-size: 13.5px; }
.h-toc a:hover { background: #1f1f1f; color: #fff; }
.h-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.h-group { font-size: 12.5px; color: #8a8a8a; margin: 10px 0 -2px 2px; }
.h-art { padding: 22px 24px; scroll-margin-top: 76px; font-size: 14.5px; line-height: 1.65; color: #e5e5e5; }
.h-art h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.h-art h4 { margin: 20px 0 8px; font-size: 14.5px; font-weight: 600; color: #fff; }
.h-art p { margin: 10px 0; }
.h-art a { color: #6ee7b7; text-decoration: none; }
.h-art code, .h-k { font-family: var(--mono); font-size: 12.5px; background: #252525; border: 1px solid #2f2f2f; padding: 1px 6px; border-radius: 6px; color: #f5f5f5; }
.h-lead { color: #a3a3a3; margin-top: 4px !important; font-size: 15px; }
.h-muted { color: #8a8a8a; font-size: 13.5px; }
.h-list { margin: 10px 0; padding-left: 20px; }
.h-list li { margin: 4px 0; }
.h-list li::marker { color: #34d399; }
.h-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.h-card { background: #1f1f1f; border: 1px solid #2b2b2b; border-radius: 12px; padding: 14px; }
.h-card b { display: block; margin-top: 8px; color: #fff; }
.h-card p { margin: 4px 0 0; font-size: 13px; color: #a3a3a3; }
.h-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(52,211,153,.12); color: #6ee7b7; }
.h-steps { list-style: none; padding: 0; margin: 14px 0; counter-reset: st; display: grid; gap: 2px; }
.h-steps li { counter-increment: st; display: grid; grid-template-columns: 30px 1fr; gap: 12px; position: relative; padding-bottom: 12px; }
.h-steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; font-weight: 700; font-size: 12.5px; display: grid; place-items: center; z-index: 1; }
.h-steps li:not(:last-child)::after { content: ""; position: absolute; left: 12.5px; top: 28px; bottom: 0; width: 1px; background: #2f2f2f; }
.h-steps b { color: #fff; font-weight: 600; }
.h-steps p { margin: 2px 0 0; color: #b5b5b5; font-size: 14px; }
.h-note { display: grid; gap: 2px; margin: 14px 0; padding: 12px 14px 12px 16px; border-radius: 12px; border: 1px solid; font-size: 14px; }
.h-note b { font-weight: 600; }
.h-note.info { background: rgba(96,165,250,.07); border-color: rgba(96,165,250,.28); }
.h-note.info b { color: #93c5fd; }
.h-note.warn { background: rgba(251,191,36,.07); border-color: rgba(251,191,36,.3); }
.h-note.warn b { color: #fcd34d; }
.h-note.danger { background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.32); }
.h-note.danger b { color: #fca5a5; }
.h-code { margin: 12px 0; border: 1px solid #2b2b2b; border-radius: 12px; overflow: hidden; background: #0f0f0f; }
.h-code-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 14px; background: #1b1b1b; border-bottom: 1px solid #262626; font-size: 12px; color: #8a8a8a; }
.h-copy { border: 1px solid #2f2f2f; background: #252525; color: #e5e5e5; border-radius: 99px; padding: 3px 11px; font: 12px var(--app-sans); cursor: pointer; }
.h-copy:hover { background: #2f2f2f; }
.h-code pre { margin: 0; padding: 14px; overflow: auto; font: 12.5px/1.6 var(--mono); color: #e5e5e5; }
.h-code pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.h-table { margin: 12px 0; border: 1px solid #2b2b2b; border-radius: 12px; overflow: auto; }
.h-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.h-table th { text-align: left; font-weight: 500; color: #a3a3a3; background: #1b1b1b; padding: 9px 12px; white-space: nowrap; }
.h-table td { padding: 9px 12px; border-top: 1px solid #242424; vertical-align: top; color: #e5e5e5; }
.h-table td:first-child { color: #fff; font-weight: 500; white-space: nowrap; }
.h-flow { display: flex; align-items: stretch; gap: 6px; margin: 16px 0; overflow-x: auto; padding-bottom: 4px; }
.h-flow > div { flex: 1 0 120px; background: #1f1f1f; border: 1px solid #2b2b2b; border-radius: 12px; padding: 12px; }
.h-flow > div span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.14); color: #6ee7b7; font-size: 12px; font-weight: 700; }
.h-flow > div b { display: block; margin-top: 8px; color: #fff; font-size: 13.5px; }
.h-flow > div p { margin: 2px 0 0; font-size: 12.5px; color: #a3a3a3; line-height: 1.45; }
.h-flow > i { align-self: center; color: #525252; font-style: normal; }
.h-faq details { border-top: 1px solid #262626; }
.h-faq details:first-child { border-top: 0; }
.h-faq summary { cursor: pointer; padding: 12px 0; font-weight: 500; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.h-faq summary::after { content: "+"; color: #8a8a8a; font-size: 18px; line-height: 1; }
.h-faq details[open] summary::after { content: "−"; }
.h-faq details p { margin: 0 0 14px; color: #c4c4c4; }
.h-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.h-dot.g { background: #34d399; } .h-dot.w { background: #d4d4d4; } .h-dot.a { background: #fbbf24; } .h-dot.r { background: #f87171; } .h-dot.b { background: #60a5fa; } .h-dot.n { background: #525252; }
@media (max-width: 900px) {
  .help { grid-template-columns: 1fr; }
  .h-toc { position: static; max-height: none; }
  .h-toc a, .h-tg { display: none; }
  .h-grid3 { grid-template-columns: 1fr; }
  .h-art { padding: 18px 16px; }
}
body.app .status .shell, body.app .top .shell { padding-bottom: 0; }

/* connection code */
body.app .pair-steps { margin: 14px 0 12px; padding-left: 20px; color: #d4d4d4; font-size: 14px; line-height: 1.6; }
body.app .pair-steps li::marker { color: #34d399; font-weight: 600; }
body.app .input.mono { font-family: var(--mono); font-size: 12px; }
body.app .warn-t { color: #fcd34d; }
body.app .linkbtn { background: none; border: 0; padding: 0; color: #6ee7b7; font: inherit; cursor: pointer; }
body.app .linkbtn:hover { text-decoration: underline; }
