:root {
  --bg0: #06101c;
  --bg1: #143a62;
  --glass: rgba(14, 22, 36, 0.94);
  --glass2: rgba(16, 26, 40, 0.94);
  --stroke: rgba(180, 196, 214, 0.12);
  --stroke2: rgba(130, 154, 178, 0.35);
  --text: #d7dde6;
  --muted: #8a93a0;
  --cyan: #9aa8b6;
  --violet: #8a93a0;
  --pink: #8a93a0;
  --green: #3d9a6a;
  --amber: #c4a35a;
  --red: #c45454;
  --steel: #6b8aa8;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --radius: 10px;
  --nav-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "IBM Plex Sans", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(72, 130, 190, 0.26), transparent 58%),
    radial-gradient(ellipse 70% 42% at 82% 108%, rgba(40, 90, 150, 0.18), transparent 52%),
    linear-gradient(180deg, #06101c 0%, #0a1830 42%, #143a62 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}
button, input { font: inherit; color: inherit; }
a { color: var(--steel); text-decoration: none; }

.helix-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}
.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 16px calc(88px + var(--safe-b));
}

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px; position: sticky; top: 0; z-index: 20;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(14,18,24,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--stroke); box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
img.brand-mark, .brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  object-fit: contain; display: block; flex-shrink: 0;
  background: #071018;
  border: 1px solid rgba(212, 175, 90, 0.38);
  box-shadow: 0 0 12px rgba(70, 140, 210, 0.22);
}
.auth-card img.brand-mark { width: 48px; height: 48px; }
.brand h1 { margin: 0; font-size: .95rem; letter-spacing: 0; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand p { margin: 2px 0 0; font-size: .72rem; color: var(--muted); }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--stroke);
  background: rgba(255,255,255,.03); font-size: .75rem; color: var(--muted);
}
.live-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: none;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

.glass {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.panel { padding: 18px; margin-bottom: 16px; }
.panel h2 {
  margin: 0 0 12px; font-size: .82rem; letter-spacing: .02em;
  color: var(--muted); font-weight: 650; text-transform: none;
}

.search-row { display: flex; gap: 10px; }
.search-row input {
  flex: 1; min-width: 0; padding: 11px 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: #0d1218; outline: none;
  transition: border-color .15s;
}
.search-row input:focus { border-color: var(--steel); box-shadow: none; }
.btn {
  border: 1px solid var(--stroke2); background: #1c2630;
  color: var(--text); padding: 11px 14px; border-radius: 8px; cursor: pointer;
  transition: background .15s, border-color .15s; white-space: nowrap; font-weight: 600;
}
.btn:hover { background: #24303c; border-color: var(--steel); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: rgba(255,255,255,.03); border-color: var(--stroke); }
.btn.danger { border-color: rgba(251,113,133,.45); background: rgba(251,113,133,.12); }

.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 820px) {
  .grid-2 { grid-template-columns: 1.1fr .9fr; }
  .app-shell { padding-top: 22px; }
}

.watch-item, .hit {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px; border-radius: 8px; border: 1px solid transparent;
  background: rgba(255,255,255,.03); cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  width: 100%; text-align: left; appearance: none; -webkit-appearance: none;
  color: inherit; font: inherit;
}
.watch-item *, .hit * { pointer-events: none; }
.watch-item:hover, .hit:hover { border-color: var(--stroke2); background: rgba(255,255,255,.04); transform: none; }
.sym { font-weight: 700; letter-spacing: .04em; }
.meta { color: var(--muted); font-size: .8rem; }
.tag {
  font-size: .68rem; letter-spacing: .02em; text-transform: none;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--stroke); color: var(--muted);
}
.tag.crypto { color: var(--amber); border-color: rgba(251,191,36,.35); }
.tag.fx { color: var(--violet); border-color: rgba(167,139,250,.35); }
.tag.stock { color: var(--steel); border-color: rgba(107,138,168,.35); }
.tag.fallback { color: var(--amber); border-color: rgba(251,191,36,.5); background: rgba(251,191,36,.08); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 10px; border-radius: 8px; min-width: 110px;
  background: rgba(0,0,0,.25); border: 1px solid var(--stroke);
  transition: transform .15s, border-color .2s;
}
.chip:hover { transform: translateY(-2px); border-color: var(--stroke2); }
.chip .k { font-size: .68rem; color: var(--muted); letter-spacing: 0; }
.chip .v { font-size: 1.1rem; font-weight: 700; margin-top: 4px; }
.chip .c { font-size: .7rem; color: var(--muted); }

.spark {
  width: 100%; height: 120px; border-radius: 8px; overflow: hidden;
  background: rgba(0,0,0,.25); border: 1px solid var(--stroke);
}
.spark svg { width: 100%; height: 100%; display: block; }

.mission, .ops {
  position: relative; overflow: hidden;
  padding: 18px; border-radius: 10px;
  border: 1px solid var(--stroke);
  background: #141a22;
  box-shadow: none;
}
.mission::before { content: none; display: none; }
.mission-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.action-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: clamp(1.35rem, 4.5vw, 2rem); font-weight: 700; letter-spacing: 0;
  text-shadow: none;
}
.action-BUY, .action-ADD { color: var(--green); }
.action-HOLD { color: var(--text); }
.action-TRIM, .action-SELL { color: var(--red); }
.action-AVOID { color: var(--amber); }

.brief-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .brief-grid { grid-template-columns: 1fr 1fr; }
}
.brief-card {
  padding: 12px 14px; border-radius: 8px;
  background: rgba(0,0,0,.28); border: 1px solid var(--stroke);
}
.brief-card h3 {
  margin: 0 0 8px; font-size: .75rem; letter-spacing: 0; font-weight: 650; color: var(--muted);
}
.brief-card .big { font-size: 1.15rem; font-weight: 700; }
.brief-card ul { margin: 0; padding-left: 18px; color: var(--text); }
.brief-card li { margin: 4px 0; color: var(--text); font-size: .9rem; }
.hash {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem; word-break: break-all; color: var(--violet);
}

.family {
  display: grid; gap: 10px; grid-template-columns: 1fr 1fr;
}
@media (max-width: 560px) { .family { grid-template-columns: 1fr; } }
.fam {
  padding: 12px; border-radius: 8px; background: #0d1218; border: 1px solid var(--stroke);
}
.fam .name { font-size: .72rem; letter-spacing: 0; color: var(--muted); }
.fam .prob { font-size: 1.2rem; font-weight: 700; margin: 6px 0; }
.bar {
  height: 6px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden;
}
.bar > span {
  display:block; height:100%; border-radius: 99px;
  background: var(--steel);
}

.nav {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(10px + var(--safe-b)); width: min(720px, calc(100% - 20px));
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px;
  padding: 6px; border-radius: 10px; z-index: 30;
  background: rgba(14,18,24,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--stroke); box-shadow: var(--shadow);
}
.nav button {
  border: 0; background: transparent; color: var(--muted); padding: 8px 4px; border-radius: 8px; cursor: pointer;
  font-size: .62rem; letter-spacing: 0; min-width: 0; white-space: nowrap;
}
.nav button.active {
  color: var(--text);
  background: #1c2630;
  box-shadow: inset 0 0 0 1px var(--stroke);
}
.nav .ico { display:block; font-size: 1.05rem; margin-bottom: 2px; }

.toast {
  position: fixed; top: 16px; right: 16px; z-index: 50; max-width: 320px;
  padding: 12px 14px; border-radius: 14px; border: 1px solid var(--stroke);
  background: rgba(10,12,24,.92); backdrop-filter: blur(12px);
  box-shadow: var(--shadow); display: none;
}
.toast.show { display: block; animation: slide .25s ease; }
@keyframes slide { from { transform: translateY(-8px); opacity: 0 } to { transform:none; opacity:1 } }

.disclaimer {
  font-size: .78rem; color: var(--muted); line-height: 1.45;
  border-left: 3px solid var(--steel); padding-left: 12px; margin-top: 8px;
}
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.hidden { display: none !important; }
.level-row { display:flex; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.04); font-size:.9rem; }
.level-row:last-child { border-bottom:0; }
.skeleton { height: 14px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.runner-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
}
.runner-banner #runnerStatus { font-size: .92rem; font-weight: 600; }
.tag.ok { color: var(--green); border-color: rgba(52,211,153,.4); background: rgba(52,211,153,.08); }

.watch-item { align-items: stretch; }
.watch-main { min-width: 0; flex: 1; }
.watch-quote { text-align: right; min-width: 72px; }
.watch-quote .px { font-weight: 700; font-variant-numeric: tabular-nums; }
.watch-quote .chg { font-size: .75rem; }
.watch-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mini-spark {
  width: 88px; height: 36px; flex: 0 0 88px;
  border-radius: 8px; overflow: hidden;
  background: rgba(0,0,0,.2); border: 1px solid var(--stroke);
  align-self: center;
}
.mini-spark svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.action-pill {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--stroke);
}
.px-up { color: var(--green); }
.px-down { color: var(--red); }
.status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted); margin-right: 6px; vertical-align: middle;
}
.status-dot.ok { background: var(--green); }
.status-dot.bad { background: var(--red); }
@media (max-width: 560px) {
  .mini-spark { display: none; }
  .watch-quote { min-width: 64px; }
}

.legal {
  position: relative; z-index: 1;
  text-align: center; color: var(--muted); font-size: .68rem; line-height: 1.5;
  padding: 8px 12px calc(10px + var(--safe-b)); margin: 8px 0 12px;
  letter-spacing: .04em;
}
.legal div + div { margin-top: 2px; color: rgba(139,147,184,.85); }

.topbar-end {
  display: flex; align-items: center; gap: 8px; flex-shrink: 1; min-width: 0;
  flex-wrap: wrap; justify-content: flex-end; max-width: min(100%, 860px);
}
.topbar-quick {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end;
  max-width: 100%;
}
.topbar-quick .picks-day-btn {
  flex: 0 0 auto;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .72rem;
  padding: 5px 10px;
}
.density-wrap { position: relative; flex: 0 0 auto; }
.density-btn {
  font-size: .72rem; padding: 5px 10px; border-radius: 8px;
  white-space: nowrap; font-weight: 650; letter-spacing: .02em;
}
.density-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
  width: min(280px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(12, 18, 26, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.density-menu-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.density-menu-note {
  margin: 0 0 10px; font-size: .72rem; color: var(--muted); line-height: 1.35;
}
.density-presets { display: flex; gap: 6px; margin-bottom: 10px; }
.density-check {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .78rem; line-height: 1.35; margin: 0 0 8px; cursor: pointer;
  color: var(--text);
}
.density-check input { margin-top: 2px; flex: 0 0 auto; }
.home-intro-cards { display: grid; gap: 12px; margin-bottom: 0; }
.picks-cta-summary h2 { margin-bottom: 4px; }
.density-hidden { display: none !important; }
.market-pill {
  display: inline-flex; align-items: center;
  padding: 6px 10px; border-radius: 6px;
  border: 1px solid var(--stroke);
  background: #1a222c;
  font-size: .68rem; letter-spacing: .04em;
  color: var(--steel); white-space: nowrap; font-weight: 650;
}
@media (max-width: 560px) {
  .live-pill { display: none; }
  .market-pill { padding: 6px 10px; font-size: .62rem; }
}

.market-tabs {
  display: flex; flex-wrap: nowrap; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; margin: 0 0 14px; padding: 2px 2px 10px;
}
.market-tabs::-webkit-scrollbar { display: none; }
.market-tab {
  flex: 0 0 auto;
  border: 1px solid var(--stroke);
  background: #141a22;
  color: var(--muted);
  padding: 7px 12px; border-radius: 6px;
  cursor: pointer; white-space: nowrap;
  font-size: .78rem; letter-spacing: 0; font-weight: 650;
  appearance: none; -webkit-appearance: none;
  transition: border-color .15s, color .15s, background .15s;
}
.market-tab:hover {
  border-color: var(--stroke2); color: var(--text);
}
.market-tab.active {
  color: var(--text);
  border-color: var(--steel);
  background: #1c2630;
  box-shadow: none;
}

.catalog-block { margin-top: 12px; }
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 4px 0 8px; flex-wrap: wrap;
}
.catalog-head {
  margin: 0;
  font-size: .75rem; letter-spacing: 0;
  color: var(--muted); font-weight: 650;
}
.catalog-toggle-btn {
  flex: 0 0 auto;
  font-size: .72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 8px;
  letter-spacing: .02em; white-space: nowrap;
  border: 1px solid rgba(125, 206, 160, 0.45);
  color: #c8f0d8;
  background: rgba(61, 154, 106, 0.16);
}
.catalog-toggle-btn:hover {
  background: rgba(61, 154, 106, 0.28);
  border-color: rgba(125, 206, 160, 0.7);
  color: #e8fff0;
}
.catalog-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.catalog-grid.catalog-collapsed,
.catalog-grid[hidden] {
  display: none !important;
}
.catalog-chip {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--stroke);
  background: rgba(0,0,0,.25);
  color: inherit; font: inherit;
  padding: 8px 12px; border-radius: 8px;
  cursor: pointer; text-align: left;
  min-width: 72px;
  transition: transform .15s, border-color .2s, background .2s;
}
.catalog-chip * { pointer-events: none; }
.catalog-chip:hover {
  transform: translateY(-2px);
  border-color: var(--stroke2);
  background: rgba(255,255,255,.04);
}
.catalog-chip .sym { font-size: .85rem; }
.catalog-chip .meta { font-size: .68rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tag.commodity { color: var(--amber); border-color: rgba(251,191,36,.35); }
.tag.index { color: var(--violet); border-color: rgba(167,139,250,.35); }

.auth-gate {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
  background: linear-gradient(180deg, rgba(6,16,28,.58), rgba(16,48,80,.52));
}
.auth-gate.hidden { display: none !important; }
.auth-card {
  width: min(560px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  margin: 0;
}
.disclaimer-scroll {
  max-height: min(42vh, 320px);
  overflow: auto;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--muted);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(0,0,0,.22);
}
.disclaimer-scroll h3 { margin: 12px 0 6px; font-size: .85rem; color: var(--text); }
.disclaimer-scroll h3:first-child { margin-top: 0; }
.disclaimer-scroll h4 { margin: 10px 0 6px; font-size: .8rem; color: var(--text); }
.disclaimer-scroll p { margin: 0 0 8px; }
.disclaimer-scroll p:last-child { margin-bottom: 0; }
.form-grid label.tick-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  font-size: .78rem;
  color: var(--text);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.form-grid label.tick-row input {
  width: auto;
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 0;
}
.form-grid { display: grid; gap: 10px; }
.form-grid label {
  display: grid; gap: 6px;
  font-size: .75rem; letter-spacing: 0; color: var(--muted); font-weight: 650;
}
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: rgba(0,0,0,.28); outline: none;
  text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--text); font-size: 1rem;
}
.form-grid input:focus, .form-grid textarea:focus {
  border-color: var(--steel); box-shadow: none;
}
.form-grid textarea { resize: vertical; min-height: 72px; }
.issued-box {
  border: 1px solid var(--stroke2);
  background: rgba(255,255,255,.04);
  padding: 14px; border-radius: 16px;
}
.issued-box .pass {
  font-size: 1.15rem; font-weight: 700; letter-spacing: .04em;
  word-break: break-all; color: var(--cyan); margin-top: 6px;
}
.client-row {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 12px; border-radius: 8px;
  background: rgba(255,255,255,.03); border: 1px solid var(--stroke);
}
.client-row .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nav { width: min(720px, calc(100% - 20px)); }
.nav.with-clients { grid-template-columns: repeat(8, minmax(0, 1fr)); width: min(860px, calc(100% - 20px)); }
.owner-only.hidden { display: none !important; }
.tag.revoked { color: var(--red); border-color: rgba(251,113,133,.4); }
.tag.active { color: var(--green); border-color: rgba(52,211,153,.4); }
.signed-as { font-size: .75rem; color: var(--muted); }

.command-row { display: grid; gap: 10px; }
.ops-kicker { font-size: .75rem; color: var(--muted); margin-bottom: 8px; }
.ops-hero {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  align-items: flex-start; margin-bottom: 16px;
}
.ops-last {
  font-size: clamp(1.7rem, 6vw, 2.5rem); font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1;
}
.ops-meta { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.ops-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 16px; }
.ops-table {
  width: 100%; border-collapse: collapse;
  font-variant-numeric: tabular-nums; font-size: .8rem;
}
.ops-table th, .ops-table td {
  text-align: left; padding: 8px 10px; white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ops-table th { color: var(--muted); font-weight: 650; font-size: .72rem; }
.ops-table td.num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.integrity-foot {
  margin-top: 18px; font-size: .68rem; color: var(--muted);
  word-break: break-all;
}
.pos-pnl { font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.broker-status {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  border: 1px solid var(--stroke); color: var(--muted); font-size: .75rem;
}
.holdings-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .9rem;
}
.holdings-row:last-child { border-bottom: 0; }
.holdings-row .watch-item { width: 100%; }
.holdings-row .watch-item .meta { white-space: normal; }
.form-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) {
  .form-inline { grid-template-columns: 1fr; }
  .search-row { flex-wrap: wrap; }
  .search-row .btn { flex: 1 1 auto; }
}

.bell-btn {
  border: 1px solid rgba(125, 206, 160, 0.35);
  background: rgba(26, 34, 44, 0.72);
  color: var(--text);
  padding: 5px 9px; border-radius: 8px; cursor: pointer;
  font-size: .72rem; font-weight: 650; line-height: 1.25;
  backdrop-filter: blur(8px);
}
.bell-count {
  display: inline-block; min-width: 1.2em; padding: 0 5px; margin-left: 4px;
  border-radius: 8px; background: #1c2630; font-variant-numeric: tabular-nums;
}
.bell-count.hot { background: var(--red); color: #fff; }
.fv-banner {
  padding: 10px 12px; border-radius: 8px; margin: 8px 0;
  border: 1px solid var(--stroke); background: #1a222c; font-size: .85rem;
}
.fv-banner.sell { border-color: var(--red); }
.fv-banner.info { border-color: var(--steel); }
.alert-item {
  text-align: left; width: 100%;
  padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--stroke); background: rgba(13, 18, 24, 0.88);
  cursor: pointer; color: inherit; font: inherit;
  font-size: .82rem; line-height: 1.35;
}
.alert-item.unread { border-color: var(--steel); }
.alert-item .kind { font-weight: 700; font-size: .78rem; }
.lvl-meta { font-size: .7rem; color: var(--muted); margin-top: 2px; }

.stale-banner {
  padding: 10px 12px; border-radius: 8px; margin: 0 0 14px;
  border: 1px solid var(--amber); background: rgba(196,163,90,.14);
  color: var(--amber); font-weight: 650; font-size: .85rem; line-height: 1.4;
}
.stale-banner.hot {
  border-color: var(--red); background: rgba(196,84,84,.14); color: #e08a8a;
}
.tag.stale { color: var(--amber); border-color: var(--amber); background: rgba(196,163,90,.1); }
.decision-figures { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; align-items: stretch; }
.conf-block, .reach-block {
  text-align: right; max-width: 280px; min-width: 200px;
  padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: #0d1218;
}
.reach-block { border-color: #334155; }
.figure-kicker { font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.conf-display { font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; }
.reach-display { font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; color: var(--text); }
.reach-meaning, .reach-not { font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.reach-why { font-size: .72rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.reach-horizons { font-size: .7rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.reach-horizons div { margin-top: 2px; }
.conf-display.band-LOW { color: var(--amber); }
.conf-display.band-MODEST { color: var(--text); }
.conf-display.band-MEDIUM { color: var(--steel); }
.conf-display.band-HIGH { color: var(--green); }
.conf-meaning { font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.conf-why { font-size: .72rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.conf-copy { font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.reports-list { display: grid; gap: 8px; margin: 0 0 16px; }
.report-item {
  display: block; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: #0d1218;
  color: inherit; text-decoration: none;
}
.report-item:hover { border-color: var(--stroke2); }
.report-item .rt { font-weight: 650; font-size: .88rem; }
.report-item .rm { font-size: .72rem; color: var(--muted); margin-top: 4px; }

.target-banner {
  padding: 10px 12px; border-radius: 8px; margin: 0 0 14px;
  border: 1px solid var(--stroke); background: #1a222c;
  font-size: .88rem; font-weight: 650; line-height: 1.4;
}
.target-banner.sell {
  border-color: var(--red); background: rgba(196,84,84,.16); color: #e08a8a;
}
.target-banner.buy {
  border-color: var(--green); background: rgba(61,154,106,.16); color: #7dcea0;
}
.clip-box {
  margin: 0 0 14px; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: #0d1218; font-size: .85rem; line-height: 1.45;
}
.clip-box .clip-kicker {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.hit-badge {
  display: inline-block; margin-top: 4px; padding: 1px 6px; border-radius: 4px;
  font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid var(--stroke);
}
.hit-badge.sell { color: #e08a8a; border-color: var(--red); }
.hit-badge.buy { color: #7dcea0; border-color: var(--green); }
.hit-badge.stale { color: var(--amber); border-color: var(--amber); }
.live-pill.stale .dot { background: var(--amber); }
.hold-mark { font-size: .75rem; margin-top: 2px; }

.picks-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap;
  margin-bottom: 4px;
}
.picks-head h2 { margin-bottom: 4px; }
.picks-head-end { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.picks-list { display: grid; gap: 10px; margin-top: 4px; }
.pick-row {
  display: grid; gap: 5px;
  padding: 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: rgba(255,255,255,.03);
  cursor: pointer; text-align: left; color: inherit; font: inherit; width: 100%;
  appearance: none; -webkit-appearance: none;
}
.pick-row:hover { border-color: var(--stroke2); background: rgba(255,255,255,.04); }
.pick-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.pick-last { text-align: right; }
.pick-last .px { font-weight: 700; font-variant-numeric: tabular-nums; }
.pick-conf { font-weight: 700; font-size: .92rem; }
.pick-meaning, .pick-zone, .pick-tf, .pick-clip, .pick-vol, .pick-fv, .pick-ind { font-size: .75rem; color: var(--muted); line-height: 1.35; }
.pick-why, .pick-risk { font-size: .82rem; line-height: 1.4; }
.pick-risk { color: #e0b36a; }
.pick-row .tag.action-BUY { color: #7dcea0; border-color: var(--green); }
.pick-row .tag.action-HOLD { color: #d6c27a; border-color: var(--amber, #c9a227); }
.tag.ind-tag { text-transform: none; font-weight: 600; color: #9ec4e8; border-color: #3a5470; }
.pick-horizons { display: grid; gap: 3px; margin: 4px 0 2px; }
.hz-row { display: grid; grid-template-columns: 42px 64px 1fr; gap: 8px; font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.hz-row.hz-best { color: var(--text); font-weight: 700; }
.pick-best { font-size: .78rem; font-weight: 700; color: #7dcea0; }

.picks-day-btn {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .03em;
  color: #c8f0d8;
  background: rgba(61, 154, 106, 0.22);
  border: 1px solid rgba(125, 206, 160, 0.55);
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.picks-day-btn:hover {
  filter: none;
  background: rgba(61, 154, 106, 0.34);
  border-color: rgba(125, 206, 160, 0.75);
  color: #e8fff0;
}
.picks-cta {
  border-color: rgba(125, 206, 160, 0.45);
  background: rgba(21, 28, 36, 0.85);
}
.picks-cta h2 { color: var(--text); font-size: 1.05rem; }
.picks-cta .picks-day-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  font-size: .82rem;
  padding: 8px 14px;
  width: auto;
  max-width: none;
  border-radius: 8px;
}
@media (max-width: 720px) {
  .topbar-quick .picks-day-btn,
  .picks-day-btn#topPicksBtn, .picks-day-btn#topHoldingsBtn,
  .picks-day-btn#topFundsBtn, .picks-day-btn#topCapitalBtn {
    font-size: .68rem; padding: 5px 8px;
  }
  .topbar {
    align-items: flex-start;
  }
  .topbar-end { max-width: 100%; }
}

.capital-sleeve {
  margin: 12px 0 16px;
  padding: 14px 14px 12px;
  border-radius: 10px;
  border: 1px solid #7dcea0;
  background: rgba(61, 154, 106, 0.10);
}
.capital-sleeve.capital-focus {
  box-shadow: 0 0 0 2px rgba(125, 206, 160, 0.55);
}
.capital-sleeve-head h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  color: var(--text);
}
.capital-sleeve-head p { margin: 0 0 8px; font-size: .78rem; }
.capital-sleeve-note {
  font-size: .82rem;
  line-height: 1.4;
  color: #e0b36a;
  margin: 0 0 10px;
}
.capital-sleeve-note:empty { display: none; }
.capital-sleeve .pick-row {
  border-color: rgba(125, 206, 160, 0.35);
  background: rgba(13, 22, 30, 0.55);
}
.pick-row.sleeve-watch .tag.action-HOLD { color: #d6c27a; }
.pick-hz-target { font-size: .75rem; color: #7dcea0; }
.capital-brief-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #7dcea0;
  background: rgba(61, 154, 106, 0.12);
}
.capital-brief-title { font-weight: 800; font-size: .92rem; }

#navPicks, .nav-picks, #navHoldings {
  color: #0b1016;
  background: #7dcea0;
  font-weight: 800;
}
#navPicks.active, .nav-picks.active, #navHoldings.active {
  color: #0b1016;
  background: #8ad7ab;
  box-shadow: none;
}
#navPicks .ico, .nav-picks .ico, #navHoldings .ico { color: inherit; }


/* TSAI.B intro: sequential letter shine + star-dot (driven by helix.js) */
.brand h1.tsai-letters {
  overflow: visible;
  text-overflow: clip;
  display: flex;
  align-items: baseline;
  gap: 0;
}
.tsai-letters span {
  display: inline-block;
  color: rgba(168, 184, 198, 0.28);
  text-shadow: none;
  transform: scale(1);
  transform-origin: 50% 60%;
  transition:
    color .22s ease,
    text-shadow .22s ease,
    filter .22s ease,
    transform .28s cubic-bezier(.2,1.4,.3,1);
}
.tsai-letters span.on {
  color: #e8f4fc;
  text-shadow:
    0 0 4px rgba(230, 246, 255, 0.95),
    0 0 10px rgba(140, 210, 240, 0.85),
    0 0 22px rgba(90, 180, 230, 0.55),
    0 0 36px rgba(70, 150, 210, 0.28);
  filter: brightness(1.12);
}
.tsai-letters .tsai-dot {
  position: relative;
  z-index: 2;
  min-width: 0.28em;
  text-align: center;
}
.tsai-letters .tsai-dot.star {
  color: #fff8e6;
  transform: scale(2.15);
  filter: brightness(1.45);
  text-shadow:
    0 0 3px #fff,
    0 0 8px #ffe9a8,
    0 0 16px #ffd56a,
    0 0 32px rgba(255, 210, 90, 0.9),
    0 0 52px rgba(180, 220, 255, 0.65);
}
.tsai-letters .tsai-dot.star::before,
.tsai-letters .tsai-dot.star::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  pointer-events: none;
}
.tsai-letters .tsai-dot.star::before {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(255,230,160,.55) 22%, rgba(140,200,255,.18) 48%, transparent 70%);
  box-shadow: 0 0 18px 6px rgba(255, 220, 140, 0.45);
}
.tsai-letters .tsai-dot.star::after {
  width: 46px;
  height: 2px;
  margin: -1px 0 0 -23px;
  background: linear-gradient(90deg, transparent, #fff, #ffe9a8, #fff, transparent);
  box-shadow:
    0 0 8px 1px rgba(255, 240, 180, 0.85),
    0 12px 0 -10px rgba(255,255,255,.7),
    0 -12px 0 -10px rgba(255,255,255,.7);
}
@media (prefers-reduced-motion: reduce) {
  .tsai-letters span,
  .tsai-letters span.on {
    color: #e8f4fc;
    text-shadow:
      0 0 6px rgba(180, 220, 255, 0.9),
      0 0 14px rgba(120, 190, 230, 0.7);
    filter: none;
    transform: none;
    transition: none;
  }
  .tsai-letters .tsai-dot.star {
    transform: none;
  }
  .tsai-letters .tsai-dot.star::before,
  .tsai-letters .tsai-dot.star::after {
    content: none;
    display: none;
  }
}

.invite-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.invite-row input {
  flex: 1 1 220px; min-width: 0; padding: 10px 12px; border-radius: 8px;
  border: 1px solid var(--stroke); background: rgba(0,0,0,.28); color: var(--text);
  font-size: .85rem;
}
.tag.pending { color: var(--amber); border-color: rgba(251,191,36,.4); }
.tag.pending_payment { color: var(--amber); border-color: rgba(251,191,36,.4); }
.tag.guest { color: var(--cyan); border-color: rgba(56,189,248,.4); }
.tag.rejected { color: var(--red); border-color: rgba(251,113,133,.4); }
.stripe-note { font-size: .72rem; }
#requestAccessLink, #backToLoginLink { color: var(--cyan); }

.fill-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .85rem;
}
.fill-row:last-child { border-bottom: 0; }
.fill-side { font-weight: 700; letter-spacing: .04em; }
.fill-side.sell { color: var(--red); }
.fill-side.buy { color: var(--green); }
.fill-status {
  display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: .72rem;
  border: 1px solid var(--stroke); color: var(--muted);
}
.fill-status.live { color: var(--amber); border-color: rgba(196,163,90,.45); }
.fill-status.settled, .fill-status.cleared { color: var(--green); }
.trade-pdf-row {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; margin: 8px 0 14px;
}
.trade-pdf-row input[type=file] { max-width: 100%; }

.tag.cap-tag {
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}
.tag.cap-low_cap { color: #d6c27a; border-color: #d6c27a; }
.tag.cap-index_fund { color: #7db7ea; border-color: #7db7ea; }
.tag.cap-large_cap { color: #9aa8b5; border-color: #6b7785; }

.accuracy-box {
  margin: 0 0 16px; padding: 12px 12px 10px;
  border-radius: 8px; border: 1px solid var(--stroke); background: #0d1218;
}
.accuracy-kicker {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.acc-row { margin-bottom: 8px; }
.acc-row:last-child { margin-bottom: 0; }
.acc-meta {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  font-size: .82rem; margin-bottom: 4px;
}
.acc-name { font-weight: 700; }
.acc-pct { font-variant-numeric: tabular-nums; font-weight: 700; }
.acc-bar {
  height: 8px; border-radius: 99px; background: #1a222c; overflow: hidden;
  border: 1px solid var(--stroke);
}
.acc-bar > span { display: block; height: 100%; border-radius: 99px; width: 0; }
.acc-bar.tone-green > span { background: var(--green); }
.acc-bar.tone-yellow > span { background: #d4b44a; }
.acc-bar.tone-red > span { background: var(--red); }
.acc-bar.tone-none > span { background: #2a3340; width: 0 !important; }
.acc-note { font-size: .72rem; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.dna-line { font-size: .75rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.pick-acc { margin-top: 8px; display: grid; gap: 4px; }
.pick-acc .acc-meta { font-size: .72rem; }
.pick-acc .acc-bar { height: 5px; }
.track-row {
  display: grid; gap: 8px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.track-row:last-child { border-bottom: 0; }
.track-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.dna-book {
  padding: 10px 12px; border-radius: 8px; border: 1px solid var(--stroke); background: #1a222c;
}
.dna-years { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.dna-chip {
  font-size: .68rem; padding: 2px 7px; border-radius: 4px;
  border: 1px solid var(--stroke); font-variant-numeric: tabular-nums;
}
.dna-chip.tone-green { color: #7dcea0; border-color: var(--green); }
.dna-chip.tone-yellow { color: #d6c27a; border-color: #d4b44a; }
.dna-chip.tone-red { color: #e08a8a; border-color: var(--red); }

.time-view {
  display: grid; gap: 10px;
  grid-template-columns: 1fr;
  margin: 8px 0 14px;
}
@media (min-width: 720px) {
  .time-view { grid-template-columns: 1fr 1fr 1fr; }
}
.time-card {
  padding: 12px 14px; border-radius: 8px;
  background: rgba(0,0,0,.28); border: 1px solid var(--stroke);
}
.time-card .kicker {
  font-size: .72rem; letter-spacing: .02em; color: var(--muted); font-weight: 650;
}
.time-card .sentence { font-size: .9rem; margin-top: 8px; line-height: 1.4; }
.time-card .muted-line { font-size: .72rem; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.holding-view-card h3 { margin: 0 0 8px; font-size: .75rem; color: var(--muted); }
.holding-view-card p { margin: 0; font-size: .9rem; line-height: 1.45; }
.holding-view-card .tag-immature { margin-top: 8px; }
#topFundsBtn { display: inline-flex; align-items: center; text-decoration: none; }

.acc-prints { margin-top: 10px; }
.acc-prints-wrap {
  max-height: 320px; overflow: auto;
  border: 1px solid var(--stroke); border-radius: 6px; margin-top: 6px;
}
.acc-prints-table { width: 100%; border-collapse: collapse; font-size: .75rem; }
.acc-prints-table th {
  position: sticky; top: 0; background: #0d1218; text-align: left;
  font-size: .65rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--stroke);
}
.acc-prints-table td { padding: 5px 8px; border-bottom: 1px solid rgba(255,255,255,.05); font-variant-numeric: tabular-nums; }
.acc-prints-table tr.tone-green td.acc-print-result { color: #7dcea0; font-weight: 700; }
.acc-prints-table tr.tone-yellow td.acc-print-result { color: #d6c27a; font-weight: 700; }
.acc-prints-table tr.tone-red td.acc-print-result { color: #e08a8a; font-weight: 700; }

.plan-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.plan-btns .btn { font-size: .78rem; }

/* Collapsible sections — click header to show / hide detail */
.atlas-fold {
  margin: 0 0 10px;
  border: 1px solid rgba(125, 160, 190, 0.22);
  border-radius: 10px;
  background: rgba(10, 16, 24, 0.35);
  overflow: hidden;
}
.atlas-fold > .atlas-fold-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  user-select: none;
}
.atlas-fold > .atlas-fold-sum::-webkit-details-marker { display: none; }
.atlas-fold > .atlas-fold-sum::marker { content: ""; }
.atlas-fold-chevron {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid #7dcea0;
  border-bottom: 2px solid #7dcea0;
  transform: rotate(-45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
  margin-top: -2px;
}
.atlas-fold[open] > .atlas-fold-sum .atlas-fold-chevron {
  transform: rotate(45deg);
  margin-top: 0;
}
.atlas-fold-label { flex: 1 1 auto; min-width: 0; }
.atlas-fold-hint {
  flex: 0 0 auto;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}
.atlas-fold-body { padding: 0 12px 12px; }
.fold-menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 10px;
  justify-content: flex-end;
}
.fold-menu-btn {
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 8px;
}
.glass.panel > .atlas-fold {
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0;
}
.glass.panel > .atlas-fold > .atlas-fold-sum {
  padding: 0 0 8px;
}
.glass.panel > .atlas-fold > .atlas-fold-body {
  padding: 0;
}
.ops > .atlas-fold {
  margin: 10px 0;
}


/* 1.4.25 — substantially larger wordmark (contain/aspect) */
.brand.brand-hero { gap: 16px; align-items: center; }
img.brand-wordmark, .brand-wordmark {
  width: auto; height: 104px; max-width: min(340px, 72vw);
  border-radius: 14px;
  object-fit: contain; object-position: center;
  display: block; flex-shrink: 0;
  background: #071018;
  border: 1px solid rgba(212, 175, 90, 0.38);
  box-shadow: 0 0 22px rgba(70, 140, 210, 0.32);
}
.auth-card img.brand-wordmark { height: 148px; max-width: min(420px, 88vw); }
.brand-copy { min-width: 0; }
.sr-brand { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.auth-card .brand-hero { position: relative; flex-wrap: wrap; justify-content: center; text-align: center; }
.auth-card .brand-copy { width: 100%; }
.auth-card .brand-copy p { margin-top: 8px; }
.track-tabs .btn.active, .track-tabs .btn:not(.ghost) { border-color: var(--steel); }
.fill-blotter-row { display:grid; grid-template-columns: 1fr; gap:4px; padding:10px 0; border-bottom:1px solid var(--stroke); font-size:.82rem; }
.fill-blotter-row .vol-meta { font-size:.68rem; color: var(--muted); }
.fill-blotter-row .vol-flag { color: #e8b84a; font-weight: 600; }
@media (min-width: 720px) {
  .fill-blotter-row { grid-template-columns: 7.5rem 3.2rem 4rem 4.5rem 5rem 5.5rem 4.5rem 5rem 7rem; align-items:center; }
  img.brand-wordmark { height: 120px; max-width: min(380px, 46vw); }
}
@media (max-width: 719px) {
  img.brand-wordmark { height: 88px; max-width: min(300px, 78vw); }
  .auth-card img.brand-wordmark { height: 120px; max-width: min(360px, 86vw); }
}
.sys-kicker { font-size:.72rem; color: var(--muted); letter-spacing:.02em; margin-bottom:6px; }
.sys-stat { font-size:1.05rem; font-weight:650; }


/* 1.4.26 — AI Bot bank statement */
.bot-statement-cta {
  background: linear-gradient(135deg, #1a5a8a, #0d3d62) !important;
  border-color: #3a8fd0 !important;
  font-weight: 600;
}
.bot-statement-home-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.bot-statement-home-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.bot-statement-open-line {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 4px;
}
.bot-bank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 14px;
  margin: 10px 0;
}
.bot-bank-grid > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
}
.bot-order-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke);
  font-size: 0.82rem;
}
.bot-order-head { font-size: 0.72rem; }
.bot-rec { color: var(--text); font-weight: 500; }
.bot-cash-out { color: #e8a0a0; font-weight: 600; }
.bot-cash-in { color: #8fd4a8; font-weight: 600; }
.bot-balance { font-size: 0.95rem; }
@media (min-width: 860px) {
  .bot-order-row {
    grid-template-columns: 6.5rem 1fr 12rem 7rem;
    align-items: start;
  }
}
.topbar-quick .bot-statement-cta {
  box-shadow: 0 0 0 1px rgba(58, 143, 208, 0.45);
}

.profile-holdings-home .watch-item { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.profile-hold-right { text-align: right; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.profile-holdings-list { max-height: 340px; overflow: auto; }


/* 1.4.28 — Decision core always visible */
.decision-core {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.decision-ranges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.range-card {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
.range-card.buy { border-color: rgba(64, 196, 120, .35); }
.range-card.sell { border-color: rgba(232, 92, 92, .35); }
.range-big {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .01em;
  margin-top: 4px;
  word-break: break-word;
}
.range-tf { margin-top: 4px; font-size: .72rem; }
.decision-core-head { margin: 4px 0 8px; }
.decision-core-title {
  margin: 0 0 4px;
  font-size: .85rem;
  font-weight: 650;
}
.size-rec-panel {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.size-rec-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.size-rec-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  font-size: .82rem;
  line-height: 1.45;
  color: var(--text, #e8eef7);
}
.size-rec-result .size-rec-title { font-weight: 650; margin-bottom: 4px; }
.size-rec-result .size-rec-note { color: var(--muted); font-size: .74rem; margin-top: 6px; }
.size-rec-result .size-rec-aud-check { margin-top: 4px; font-weight: 600; color: var(--text, #e8eef7); }


/* 1.4.29 — plain-English bank / statement summary */
.bot-bank-plain > div strong {
  display: block;
  margin-top: 2px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.bot-bank-plain > div .meta {
  margin-top: 2px;
  font-size: 0.72rem;
  opacity: 0.85;
}

.ranges-status {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(240, 196, 72, .35);
  background: rgba(240, 196, 72, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.ranges-status.no-tape {
  border-color: rgba(232, 92, 92, .35);
  background: rgba(232, 92, 92, .08);
}
.ranges-status.not-run {
  border-color: rgba(100, 160, 255, .4);
  background: rgba(100, 160, 255, .08);
}
.ranges-status-msg {
  font-size: .82rem;
  line-height: 1.35;
  flex: 1 1 220px;
}

/* 1.4.34 — Decision trading reality (cash / afford / sell room) */
.trading-reality {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(120, 180, 255, .22);
  background: rgba(80, 140, 220, .06);
}
.trading-reality .clip-kicker { margin-bottom: 2px; }
.cash-bank-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin-bottom: 10px;
}
.cash-bank-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .74rem;
  color: var(--muted);
}
.cash-bank-label input {
  min-width: 140px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text, #e8eef7);
}
.cash-bank-row select {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color: var(--text, #e8eef7);
}
.trading-reality-buy, .trading-reality-sell {
  font-size: .82rem;
  line-height: 1.45;
  color: var(--text, #e8eef7);
}
.trading-reality-buy .tr-title, .trading-reality-sell .tr-title {
  font-weight: 650;
  margin-bottom: 4px;
}
.trading-reality .tr-yes { color: #5ddea0; font-weight: 650; }
.trading-reality .tr-no { color: #f0a0a0; font-weight: 650; }
.trading-reality .tr-prompt { color: var(--muted); }
.trading-reality .tr-note { color: var(--muted); font-size: .74rem; margin-top: 6px; }
.trading-reality-sell { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.06); }



/* 1.4.35 — Range watch / Alert me */
.range-watch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}
.range-watch-panel {
  border: 1px solid var(--line, rgba(255,255,255,.12));
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  background: rgba(0,0,0,.18);
}
.range-watch-panel .density-check {
  display: block;
  margin: 6px 0;
}
.range-watch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.range-watch-list .rw-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.alert-item.urgent .kind { color: var(--amber, #f0b429); font-weight: 700; }


/* 1.4.36 — Company info / Announcements / Market hats */
.company-panel .co-name { font-weight: 650; font-size: .95rem; }
.company-panel .co-meta { font-size: .76rem; margin-top: 4px; }
.company-panel .co-desc { font-size: .8rem; line-height: 1.45; margin: 8px 0 0; white-space: pre-wrap; }
.company-panel .co-src { font-size: .7rem; margin-top: 8px; }
.announcements-panel .report-item { display: block; margin: 6px 0; text-decoration: none; color: inherit; }
.announcements-panel .rt { font-size: .82rem; font-weight: 600; }
.announcements-panel .rm { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.market-hats-box .hat-card {
  border: 1px solid var(--line, rgba(255,255,255,.12));
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 10px;
  background: rgba(0,0,0,.16);
}
.market-hats-box .hat-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.market-hats-box .hat-principles { margin: 8px 0 0 1.1rem; padding: 0; font-size: .76rem; color: var(--muted); }
.market-hats-box .hat-learn { font-size: .8rem; line-height: 1.4; }


/* Trader System interactive Decision chart */
.tsai-chart-panel {
  position: relative;
  margin: 14px 0 18px;
  padding: 12px 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.25));
}
.tsai-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  margin: 8px 0 6px;
  font-size: .72rem;
}
.tsv-leg { display: inline-flex; align-items: center; gap: 6px; }
.tsv-leg::before {
  content: "";
  width: 12px; height: 12px; border-radius: 3px;
  display: inline-block;
}
.tsv-leg.buy::before { background: rgba(52, 211, 153, 0.35); border: 1px solid #34d399; }
.tsv-leg.deep::before { background: rgba(56, 189, 248, 0.25); border: 1px solid #38bdf8; }
.tsv-leg.sell::before { background: rgba(251, 113, 133, 0.28); border: 1px solid #fb7185; }
.tsv-leg.mark::before { background: #fbbf24; border-radius: 50%; }
.tsv-leg.fwd::before { background: transparent; border: 2px dashed #a78bfa; }
.tsai-chart-svg { width: 100%; min-height: 320px; }
.tsai-chart-tip {
  position: absolute;
  z-index: 5;
  min-width: 160px;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: .74rem;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.tsv-tip-buy { color: #34d399; }
.tsv-tip-sell { color: #fb7185; }
.tsv-price { fill: none; stroke: #34d399; stroke-width: 2.2; }
.tsv-forward { fill: none; stroke: #a78bfa; stroke-width: 2; stroke-dasharray: 6 5; }
.tsv-fwd-label { fill: #c4b5fd; font-size: 9px; }
.tsv-band-buy { fill: rgba(52, 211, 153, 0.14); stroke: none; }
.tsv-band-deep { fill: rgba(56, 189, 248, 0.10); stroke: none; }
.tsv-band-sell { fill: rgba(251, 113, 133, 0.12); stroke: none; }
.tsv-vol { fill: rgba(148, 163, 184, 0.35); }
.tsv-buy-mark { fill: #34d399; stroke: #064e3b; stroke-width: 1; }
.tsv-sell-mark { fill: #fb7185; stroke: #7f1d1d; stroke-width: 1; }
.tsv-now { stroke: rgba(248, 250, 252, 0.35); stroke-width: 1; stroke-dasharray: 3 3; }
.tsv-now-label { fill: #94a3b8; font-size: 10px; }
.tsv-axis { fill: #94a3b8; font-size: 10px; }
.tsv-hit { cursor: crosshair; }

.basket-chip-locked {
  opacity: 0.95;
  border-color: rgba(52, 211, 153, 0.45) !important;
  cursor: default;
}

.pick-row {
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.pick-actions .btn { font-size: .78rem; }
.pick-spend { color: #94a3b8; }

.tsv-candle-up .tsv-body { fill: #34d399; stroke: #064e3b; stroke-width: 0.5; }
.tsv-candle-down .tsv-body { fill: #fb7185; stroke: #7f1d1d; stroke-width: 0.5; }
.tsv-candle-up .tsv-wick { stroke: #34d399; stroke-width: 1.2; }
.tsv-candle-down .tsv-wick { stroke: #fb7185; stroke-width: 1.2; }
.tsv-price { fill: none; stroke: rgba(52, 211, 153, 0.45); stroke-width: 1.4; }
.tsv-forward { fill: none; stroke: #c084fc; stroke-width: 2.4; stroke-dasharray: 7 5; }
.tsv-forward-hold { fill: none; stroke: #f0abfc; stroke-width: 1.8; stroke-dasharray: 2 6; opacity: 0.85; }
.tsv-fwd-dot { fill: #c084fc; stroke: #4c1d95; stroke-width: 1.5; }
.tsv-fwd-dot-hold { fill: #f0abfc; stroke: #86198f; stroke-width: 1.5; }
.tsv-fwd-label { fill: #e9d5ff; font-size: 9.5px; font-weight: 600; }
.tsv-fwd-label-hold { fill: #f5d0fe; font-size: 9px; }
.tsv-fwd-px { fill: #d8b4fe; font-size: 8.5px; }
.tsv-zone-label { fill: #a78bfa; font-size: 10px; }
.tsv-leg.candle::before { background: linear-gradient(180deg,#34d399,#fb7185); }
.tsv-leg.fwdhold::before { background: transparent; border: 2px dotted #f0abfc; }

.conf-block { position: relative; cursor: help; }
.conf-display { cursor: help; text-decoration: underline dotted rgba(148,163,184,.5); text-underline-offset: 3px; }
.conf-help-pop {
  display: none;
  position: absolute;
  z-index: 8;
  left: 0; right: 0;
  top: calc(100% + 6px);
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: .76rem;
  line-height: 1.4;
  box-shadow: 0 10px 28px rgba(0,0,0,.4);
}
.conf-block:hover .conf-help-pop,
.conf-block:focus-within .conf-help-pop,
.conf-block.is-open .conf-help-pop { display: block; }
.conf-help-pop strong { color: #e2e8f0; }

#addWatchBtn.is-watching {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.35), rgba(16, 185, 129, 0.25));
  border-color: #34d399;
  color: #ecfdf5;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35);
}
#addWatchBtn.is-watching:hover { filter: brightness(1.06); }
.holdings-watch-empty { font-size: .8rem; color: #94a3b8; padding: 8px 0; }

.pick-10y-kicker {
  font-size: .72rem;
  font-weight: 600;
  color: #a5f3fc;
  margin-bottom: 4px;
}
#decisionBasketBtn, #addBasketBtn {
  font-weight: 600;
}

.stock-workspace {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0 0 12px;
  padding: 10px 12px 8px;
  border-radius: 14px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.92), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.stock-ws-head { margin-bottom: 8px; }
.stock-ws-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stock-ws-tab {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
}
.stock-ws-tab.active {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.45), rgba(16, 185, 129, 0.3));
  border-color: #34d399;
  color: #ecfdf5;
}
.stock-ws-tab:hover { filter: brightness(1.08); }
.sys12-row {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .8rem;
}
.sys12-side-buy { color: #34d399; font-weight: 700; }
.sys12-side-sell { color: #fb7185; font-weight: 700; }

.sys12-score {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin: 12px 0 10px;
}
.sys12-score > div {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
}
.sys12-score .k { font-size: .68rem; color: #94a3b8; text-transform: uppercase; letter-spacing: .03em; }
.sys12-score .v { font-size: 1.05rem; font-weight: 800; margin-top: 4px; }
.sys12-score .s { font-size: .72rem; color: #94a3b8; margin-top: 2px; }
.sys12-verdict {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(6, 78, 59, 0.28);
  font-size: .86rem;
  font-weight: 650;
}
.sys12-verdict.loss {
  border-color: rgba(251, 113, 133, 0.4);
  background: rgba(127, 29, 29, 0.28);
}
.sys12-explain {
  font-size: .78rem;
  color: #cbd5e1;
  margin: 0 0 10px;
  line-height: 1.45;
}

.sys12-score .v .pos, .sys12-score .v.pos, .sys12-score span.pos { color: #34d399; }
.sys12-score .v .neg, .sys12-score .v.neg, .sys12-score span.neg { color: #fb7185; }

.stock-ws-head { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; flex-wrap:wrap; }
.stock-ws-search { min-width:200px; max-width:280px; flex:1; }
.stock-ws-search input {
  width:100%;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.35);
  background:rgba(15,23,42,.75);
  color:inherit;
  font-size:.78rem;
}
.sys-trade-hits { display:flex; flex-wrap:wrap; gap:6px; }
.sys-trade-hit {
  appearance:none;
  border:1px solid rgba(52,211,153,.35);
  background:rgba(6,78,59,.35);
  color:#e2e8f0;
  border-radius:999px;
  padding:5px 10px;
  font-size:.74rem;
  font-weight:650;
  cursor:pointer;
}
.sys-trade-hit:hover { filter:brightness(1.1); }
.sys-trade-hit .meta { color:#94a3b8; font-weight:500; margin-left:4px; }

.sys12-warn {
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: rgba(120, 53, 15, 0.35);
  color: #fde68a;
  font-size: .82rem;
  line-height: 1.45;
  font-weight: 600;
}
.sys12-warn strong { color: #fef3c7; }

.sys12-profit-clear {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}
.sys12-profit-card {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.45), rgba(15, 23, 42, 0.75));
}
.sys12-profit-card .k {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #a7f3d0;
  font-weight: 700;
}
.sys12-profit-card .v {
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.sys12-profit-card .s {
  font-size: .74rem;
  color: #cbd5e1;
  margin-top: 6px;
  line-height: 1.35;
}
.sys12-profit-card .v.pos { color: #34d399; }
.sys12-profit-card .v.neg { color: #fb7185; }


/* 1.4.61 Buying Matrix from bank size */
.buying-matrix-card {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(107, 138, 168, 0.35);
  background: rgba(20, 40, 64, 0.45);
}
.buying-matrix-card .tr-title {
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 4px;
  color: #c5d4e4;
}
.buying-matrix-card .bm-meta {
  color: var(--muted);
}


/* 1.4.67 password show/hide eye */
.pw-field {
  position: relative;
  display: block;
}
.pw-field input {
  width: 100%;
  padding-right: 2.6rem;
  box-sizing: border-box;
}
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
}
.pw-toggle:hover,
.pw-toggle[aria-pressed="true"] {
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.15);
}


/* 1.4.81 LOCK C — Decision behaviour Matrix */
.decision-c-card {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #3d4f66;
  background: linear-gradient(180deg, #101820 0%, #0d1218 100%);
}
.decision-c-one-look {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--amber, #c4a35a);
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(196,163,90,.35);
  background: rgba(196,163,90,.10);
  line-height: 1.35;
  margin-bottom: 8px;
}
.decision-c-one-look.ready {
  color: var(--steel, #8eb4d4);
  border-color: rgba(142,180,212,.35);
  background: rgba(142,180,212,.08);
}
.decision-c-one-look.sell {
  color: #e08a8a;
  border-color: rgba(196,84,84,.35);
  background: rgba(196,84,84,.10);
}
.decision-c-body { font-size: .78rem; line-height: 1.4; }
.decision-c-section { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(127,127,127,.2); }
.decision-c-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.decision-c-section .dc-kicker { font-size: .72rem; color: var(--muted); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.decision-c-section .dc-line { color: var(--text); font-size: .82rem; font-weight: 600; }
.decision-c-section .dc-note { color: var(--muted); font-size: .72rem; margin-top: 3px; }
.decision-c-nest { font-size: .72rem; color: var(--muted); margin-top: 4px; word-break: break-word; }
.reach-gate {
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  border: 1px solid rgba(196,163,90,.4);
  background: rgba(196,163,90,.12);
  color: var(--amber, #c4a35a);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}
.reach-block.is-gated { border-color: rgba(196,163,90,.55); }
.reach-display.is-gated { color: var(--amber, #c4a35a); }
.reach-horizons .hz-gated { color: var(--amber, #c4a35a); }


/* 1.4.83 — Latest / Past trades sort pills */
.trade-sort-bar,
.trade-sort-menu {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 8px 0 4px;
}
.trade-sort-btn {
  padding: 6px 12px;
  font-size: .78rem;
  border-radius: 999px;
}
.trade-sort-btn.active {
  border-color: var(--steel);
  background: rgba(100, 140, 180, 0.28);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25);
  color: var(--text);
}
.trade-sort-btn.ghost {
  opacity: 0.92;
}
