/* CHROME — титановый минимализм: графит, волосяные линии, один эмбер-акцент. */

body.theme-chrome {
  --bg: #0a0a0b;
  --bg-2: #0d0d0f;
  --panel: #101012;
  --panel-solid: #0e0e10;
  --line: #232326;
  --line-2: #35353a;
  --text: #f4f1ea;
  --muted: #a5a29b;
  --dim: #6b6a66;
  --accent: #ff4d2a;
  --accent-2: #e8e4da;
  --accent-3: #8c8c94;
  --pos: #f1ede4;
  --neg: #ff6a4d;
  --warn: #d9b36c;
  --radius: 2px;
  --radius-sm: 2px;
  --seg1: #ff4d2a;
  --seg2: #e8e4da;
  --seg3: #7a7a82;
  --seg4: #b96a4a;
  --seg5: #4a4a52;
  --seg6: #2e2e33;
  --font-display: 'Golos Text', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sidebar: 256px;
  background:
    radial-gradient(110% 70% at 82% -10%, #161618 0%, #0a0a0b 58%) fixed;
  position: relative;
}
body.theme-chrome::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent), rgba(255, 77, 42, .15) 30%, transparent 60%);
}
body.theme-chrome .app { position: relative; z-index: 1; }
body.theme-chrome ::selection { background: #ff4d2a; color: #0a0a0b; }

/* ---------- сайдбар ---------- */
body.theme-chrome .sidebar {
  background: #0b0b0c;
  border-right: 1px solid var(--line);
  padding: 26px 22px 20px;
}
body.theme-chrome .brand { padding: 0 0 30px; gap: 13px; }
body.theme-chrome .brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 0;
  border-color: #3a3a3f;
  background: none;
}
body.theme-chrome .brand__mark i {
  border-color: #6d6d73;
  width: 21px;
  height: 21px;
  border-radius: 0;
}
body.theme-chrome .brand__mark i:nth-child(2) { width: 13px; height: 13px; border-color: #9a9a9f; }
body.theme-chrome .brand__mark i:nth-child(3) { width: 4px; height: 4px; background: var(--accent); border: 0; }
body.theme-chrome .brand__text b {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .26em;
  color: #fff;
}
body.theme-chrome .brand__text small {
  font-size: 8px;
  letter-spacing: .22em;
  color: var(--dim);
}
body.theme-chrome .nav { gap: 0; }
body.theme-chrome .nav__caption {
  font-family: var(--font-body);
  font-size: 8px;
  letter-spacing: .26em;
  padding: 20px 2px 10px;
  color: #55555a;
  border-bottom: 1px solid #1a1a1c;
  margin-bottom: 6px;
}
body.theme-chrome .nav__item {
  border-radius: 0;
  border-left: 1px solid transparent;
  padding: 11px 2px 11px 14px;
  margin-left: -14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
body.theme-chrome .nav__item:hover { background: none; color: var(--text); }
body.theme-chrome .nav__item.is-active {
  color: #fff;
  border-left-color: var(--accent);
  background: linear-gradient(90deg, rgba(255, 77, 42, .07), transparent 60%);
}
body.theme-chrome .nav__item.is-active .nav__ico { color: var(--accent); opacity: 1; }
body.theme-chrome .nav__ico { width: 16px; height: 16px; opacity: .5; }
body.theme-chrome .nav__ico svg { width: 15px; height: 15px; }
body.theme-chrome .nav__badge { border-radius: 0; border: 0; background: #1a1a1d; color: var(--muted); font-size: 8px; padding: 2px 5px; }
body.theme-chrome .nav__badge--soon { background: none; border: 1px solid #2c2c30; color: #77777c; }
body.theme-chrome .learn {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 0 0;
  background: none;
  margin: 0 0 16px;
}
body.theme-chrome .learn p { font-size: 11px; color: var(--dim); }
body.theme-chrome .learn .eyebrow { color: var(--accent); }
body.theme-chrome .learn .link-btn { color: var(--text); font-size: 10.5px; border-bottom-color: #3a3a3f; }
body.theme-chrome .sidebar__status { border-top: 1px solid var(--line); padding-top: 14px; color: #5d5d62; }
body.theme-chrome .dot--live { background: var(--accent); box-shadow: none; }

/* ---------- топбар ---------- */
body.theme-chrome .topbar {
  background: rgba(10, 10, 11, .92);
  border-bottom: 1px solid var(--line);
  min-height: 62px;
  padding: 0 30px;
}
body.theme-chrome .chains { gap: 22px; }
body.theme-chrome .chain {
  border: 0;
  border-radius: 0;
  padding: 22px 0 20px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6f6f75;
  position: relative;
}
body.theme-chrome .chain:hover { color: var(--text); background: none; border: 0; }
body.theme-chrome .chain.is-active { color: var(--text); background: none; border: 0; }
body.theme-chrome .chain.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}
body.theme-chrome .chain__dot { width: 4px; height: 4px; border-radius: 0; opacity: .8; }
body.theme-chrome .chain__all { width: 5px; height: 5px; border-radius: 0; background: var(--accent); }
body.theme-chrome .wallet-chip { border: 0; border-left: 1px solid var(--line); border-radius: 0; padding: 4px 0 4px 16px; }
body.theme-chrome .wallet-chip:hover { border-color: var(--line-2); }
body.theme-chrome .wallet-chip__dot { width: 5px; height: 5px; border-radius: 0; background: var(--accent); box-shadow: none; }
body.theme-chrome .wallet-chip__text small { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
body.theme-chrome .wallet-chip__text b { font-size: 10px; color: var(--text); }
body.theme-chrome .icon-btn { border-radius: 0; border-color: var(--line); }

/* ---------- hero ---------- */
body.theme-chrome .hero {
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 44px 0 40px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr);
  gap: 56px;
}
body.theme-chrome .hero::after {
  content: "BASIS";
  position: absolute;
  right: -10px;
  bottom: -46px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 190px;
  letter-spacing: -.05em;
  color: rgba(255, 255, 255, .016);
  pointer-events: none;
  z-index: 0;
}
body.theme-chrome .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  max-width: 15ch;
}
body.theme-chrome .hero h1 em { color: var(--accent); }
body.theme-chrome .eyebrow {
  font-family: var(--font-body);
  font-size: 8.5px;
  letter-spacing: .26em;
  color: #7b7b80;
}
body.theme-chrome .hero .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: #3d3d42;
}
body.theme-chrome .lead { font-size: 12.5px; color: var(--muted); max-width: 48ch; line-height: 1.65; }
body.theme-chrome .wallet-form {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid #3a3a3f;
  background: none;
  padding: 0;
  max-width: 520px;
  gap: 12px;
}
body.theme-chrome .wallet-form:focus-within { border-bottom-color: var(--accent); box-shadow: none; }
body.theme-chrome .wallet-form__icon { display: none; }
body.theme-chrome .wallet-form input { padding: 12px 0; font-size: 12.5px; }
body.theme-chrome .wallet-form .btn { margin-bottom: 4px; }
body.theme-chrome .btn { border-radius: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: 12px 20px; }
body.theme-chrome .btn--primary { background: var(--accent); color: #0a0a0b; font-weight: 600; }
body.theme-chrome .btn--primary:hover { filter: none; background: #ff6545; box-shadow: none; }
body.theme-chrome .btn--ghost { border: 1px solid var(--line-2); color: var(--muted); }
body.theme-chrome .btn--ghost:hover { border-color: var(--accent); color: var(--text); }
body.theme-chrome .chip--demo { border: 0; border-left: 1px solid var(--line-2); border-radius: 0; padding: 3px 0 3px 10px; }
body.theme-chrome .chip--demo:hover, body.theme-chrome .chip--demo.is-active { border-left-color: var(--accent); }
body.theme-chrome .chip--demo b { font-size: 10.5px; }
body.theme-chrome .chip--demo small { font-size: 8.5px; }
body.theme-chrome .hero__card {
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 4px 0 4px 40px;
}
body.theme-chrome .hero__card-head .tag { border: 0; padding: 0; color: var(--dim); }
body.theme-chrome .hero__total {
  font-family: var(--font-mono);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -.05em;
  margin: 26px 0 10px;
  color: #fff;
}
body.theme-chrome .hero__meta { font-size: 10.5px; color: var(--dim); letter-spacing: .02em; }
body.theme-chrome .hero__profit { margin-top: 20px; }
body.theme-chrome .hero__profit span { color: var(--accent); font-size: 15px; }
body.theme-chrome .hero__profit small { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
body.theme-chrome .hero__spark { height: 54px; }
body.theme-chrome .spark { stroke: #6f6f75; }
body.theme-chrome .hero__foot { border-top: 1px solid var(--line); font-size: 9.5px; color: var(--dim); }

/* ---------- панели, сетка ---------- */
body.theme-chrome .panel {
  border-radius: 0;
  background: #0f0f11;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: none;
}
body.theme-chrome .panel__head h2 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-top: 8px;
}
body.theme-chrome .panel__note { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; }
body.theme-chrome .grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
body.theme-chrome .grid--dash { background: var(--line); }
body.theme-chrome .grid--dash > .panel { border: 0; }
/* соединяем панели в единую сетку */
body.theme-chrome .grid--dash { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
body.theme-chrome .periods { gap: 0; background: none; margin: 20px 0 16px; }
body.theme-chrome .period {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 11px 12px 4px;
  background: none;
}
body.theme-chrome .period + .period { border-left: 1px solid var(--line); }
body.theme-chrome .period--hero { border-top: 2px solid var(--accent); background: none; }
body.theme-chrome .period__value { font-family: var(--font-mono); font-size: 12px; color: var(--text); }
body.theme-chrome .period--hero .period__value { color: var(--accent); }
body.theme-chrome .period__label { font-family: var(--font-body); font-size: 7.5px; letter-spacing: .14em; }
body.theme-chrome .period__pct { font-size: 8.5px; }
body.theme-chrome .chart__svg { height: 190px; }
body.theme-chrome .chart__line { stroke: #dedad0; stroke-width: 1.2; filter: none; }
body.theme-chrome .chart__stop-a { stop-color: var(--accent); stop-opacity: .13; }
body.theme-chrome .chart__dot { fill: var(--accent); }
body.theme-chrome .chart__halo { fill: var(--accent); opacity: .14; }
body.theme-chrome .chart__grid { stroke: #1e1e21; stroke-dasharray: 1 4; }
body.theme-chrome .chart__labels { font-size: 8.5px; color: #5f5f65; }
body.theme-chrome .chart__x { font-size: 8px; }

/* ---------- AI ---------- */
body.theme-chrome .panel--ai { padding: 24px; }
body.theme-chrome .orb { width: 46px; height: 46px; }
body.theme-chrome .orb__ring { border-color: #2c2c30; border-top-color: var(--accent); animation-duration: 9s; }
body.theme-chrome .orb__ring--2 { inset: 7px; border-color: #26262a; border-top-color: #8a8a90; }
body.theme-chrome .orb__core { inset: 17px; background: var(--accent); box-shadow: none; }
body.theme-chrome .ai-head__text h2 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
body.theme-chrome .score b { font-weight: 400; font-size: 26px; }
body.theme-chrome .score-bar { height: 1px; background: #2a2a2e; }
body.theme-chrome .score-bar i { background: var(--accent); }
body.theme-chrome .insights { gap: 15px; justify-content: flex-start; }
body.theme-chrome .insight { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
body.theme-chrome .insight__dot { border-radius: 0; width: 3px; height: 3px; background: #7d7d83; margin-top: 7px; }
body.theme-chrome .insight--warn .insight__dot, body.theme-chrome .insight--risk .insight__dot { background: var(--accent); }
body.theme-chrome .insight b { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
body.theme-chrome .insight p { font-size: 10.5px; color: var(--dim); line-height: 1.6; }
body.theme-chrome .ai-actions { border-top: 1px solid var(--line); }
body.theme-chrome .ai-actions li { font-size: 10px; color: var(--dim); }
body.theme-chrome .ai-actions li span { color: var(--accent); }
body.theme-chrome .ai-foot { border-top: 1px solid var(--line); }
body.theme-chrome .tag { border-radius: 0; border-color: var(--line); color: var(--dim); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
body.theme-chrome .tag--ghost { border: 0; padding-left: 0; }
body.theme-chrome .link-btn { color: var(--text); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid #333338; }
body.theme-chrome .link-btn:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ---------- мини-позиции / аллокация ---------- */
body.theme-chrome .mini-pos { border-top: 1px solid #1c1c1f; }
body.theme-chrome .mini-pos__btn { border-radius: 0; padding: 12px 0; }
body.theme-chrome .mini-pos__btn:hover { background: none; }
body.theme-chrome .mini-pos__btn:hover .proto-logo { border-color: var(--accent); }
body.theme-chrome .proto-logo {
  border-radius: 0;
  background: none;
  border-color: #333338;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
body.theme-chrome .mini-pos__name b { font-size: 11.5px; font-weight: 500; }
body.theme-chrome .mini-pos__num b { font-size: 11px; }
body.theme-chrome .mini-pos__num small { color: var(--dim); font-size: 9px; }
body.theme-chrome .donut { width: 120px; height: 120px; }
body.theme-chrome .donut__inner { width: 82px; height: 82px; background: #0f0f11; }
body.theme-chrome .donut__inner b { font-size: 10.5px; }
body.theme-chrome .alloc { gap: 32px; }
body.theme-chrome .legend { gap: 9px 16px; }
body.theme-chrome .legend li { font-size: 10px; }
body.theme-chrome .legend i { border-radius: 0; width: 5px; height: 5px; }
body.theme-chrome .legend b { font-size: 9px; }
body.theme-chrome .chain-bars { border-left-color: var(--line); }
body.theme-chrome .bar { font-size: 9.5px; }
body.theme-chrome .bar__track { height: 2px; border-radius: 0; background: #242428; }
body.theme-chrome .chain-bars .eyebrow { font-size: 8px; }
body.theme-chrome .panel--alloc .donut::after { display: none; }

/* ---------- таблица ---------- */
body.theme-chrome .table-panel { background: #0d0d0f; }
body.theme-chrome .table-toolbar { padding: 14px 24px; }
body.theme-chrome .toolbar__title { font-family: var(--font-display); font-size: 14px; font-weight: 600; }
body.theme-chrome .toolbar__hint { font-size: 9px; }
body.theme-chrome .search {
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: none;
  padding: 4px 0;
  min-width: 230px;
}
body.theme-chrome .search:focus-within { border-bottom-color: var(--accent); }
body.theme-chrome .search input { font-size: 10.5px; }
body.theme-chrome .dtable { counter-reset: rowidx; }
body.theme-chrome .dtable th {
  font-family: var(--font-body);
  font-size: 7.5px;
  letter-spacing: .18em;
  color: #6f6f75;
  padding: 13px 10px;
  border-bottom: 1px solid var(--line-2);
}
body.theme-chrome .dtable th.th-group { color: #8e8e94; letter-spacing: .2em; }
body.theme-chrome .thead-sub th { padding-top: 6px; }
body.theme-chrome .dtable td { padding: 13px 10px; border-bottom: 1px solid #1b1b1e; }
body.theme-chrome .dtable .row { counter-increment: rowidx; }
body.theme-chrome .dtable tbody .row .c-proto { position: relative; padding-left: 30px; min-width: 235px; }
body.theme-chrome .dtable tbody .row .c-proto::before {
  content: counter(rowidx, decimal-leading-zero);
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 8px;
  color: #4d4d52;
}
body.theme-chrome .dtable .row:hover { background: #141416; }
body.theme-chrome .dtable .row:hover td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
body.theme-chrome .dtable .row.is-open { background: #141416; }
body.theme-chrome .proto__text b { font-size: 12px; font-weight: 500; }
body.theme-chrome .proto__text small { font-size: 9px; }
body.theme-chrome .proto-logo { border-radius: 0; background: none; }
body.theme-chrome .asset { border: 0; border-bottom: 1px solid #333338; border-radius: 0; padding: 0 0 1px; font-size: 9.5px; color: var(--muted); }
body.theme-chrome .profit span { color: #ddd9d0; font-size: 11px; }
body.theme-chrome .profit small { color: #5f5f65; font-size: 8.5px; }
body.theme-chrome .profit--main span { color: #fff; font-weight: 400; }
body.theme-chrome .apy { color: var(--accent); }
body.theme-chrome .dtable tfoot td { background: none; border-top: 1px solid var(--accent); font-size: 10.5px; }
body.theme-chrome .dtable tfoot td:first-child { color: #8a8a90; }
body.theme-chrome .row-detail > td { background: #0b0b0d; }
body.theme-chrome .detail__about h3 { font-family: var(--font-display); font-weight: 600; }
body.theme-chrome .detail__stats b { font-size: 12px; }
body.theme-chrome .dbar__track { height: 2px; border-radius: 0; background: #242428; }
body.theme-chrome .dbar__track i { border-radius: 0; background: var(--accent); }
body.theme-chrome .table-foot { border-top: 1px solid var(--line); padding: 13px 24px; font-size: 8.5px; }
body.theme-chrome .learn-grid { border-radius: 0; border-color: var(--line); background: var(--line); }
body.theme-chrome .learn-grid article { background: #0d0d0f; padding: 22px 24px; }
body.theme-chrome .learn-grid h3 { font-family: var(--font-display); font-size: 13px; }
body.theme-chrome .learn-grid .eyebrow { color: var(--accent); }
body.theme-chrome .learn-grid p { font-size: 10.5px; color: var(--dim); }

/* ---------- страницы ---------- */
body.theme-chrome .page-head { align-items: flex-end; margin-bottom: 24px; }
body.theme-chrome .page-head h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 3vw, 40px); }
body.theme-chrome .page-head p { font-size: 10.5px; color: var(--dim); }
body.theme-chrome .quick-stats { gap: 1px; background: var(--line); border: 1px solid var(--line); }
body.theme-chrome .stat { border: 0; border-radius: 0; background: #0f0f11; padding: 16px 20px; }
body.theme-chrome .stat b { font-size: 19px; font-weight: 400; }
body.theme-chrome .stat small { font-size: 9px; }
body.theme-chrome .notice { border: 0; border-left: 2px solid var(--accent); border-radius: 0; background: #0f0f11; font-size: 11px; }
body.theme-chrome .notice--warn { border-left-color: var(--warn); }
body.theme-chrome .pgrid { gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: card; }
body.theme-chrome .pcard { border: 0; border-radius: 0; background: #0f0f11; counter-increment: card; }
body.theme-chrome .pcard::before { content: none; }
body.theme-chrome .pcard:hover { transform: none; border: 0; background: #131315; }
body.theme-chrome .pcard__id h3 { font-family: var(--font-display); font-weight: 600; }
body.theme-chrome .risk i { border-radius: 0; height: 9px; width: 3px; background: #2a2a2e; }
body.theme-chrome .risk i.on { background: var(--accent); }
body.theme-chrome .btn--monitor { border-radius: 0; border-color: var(--line-2); font-size: 10px; letter-spacing: .04em; }
body.theme-chrome .btn--monitor.is-on { border-color: #2a2a2e; color: var(--accent); background: none; }
body.theme-chrome .cgrid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
body.theme-chrome .ccard { border: 0; border-radius: 0; background: #0f0f11; }
body.theme-chrome .steps { border-radius: 0; }
body.theme-chrome .steps li { background: #0f0f11; }
body.theme-chrome .steps .is-done { background: #131315; }
body.theme-chrome .steps .is-done b, body.theme-chrome .steps .is-done small { color: var(--accent); }
body.theme-chrome .footer { border-top: 1px solid var(--line); color: #55555a; padding: 22px 30px 28px; }
body.theme-chrome .toast { border-radius: 0; background: #131315; border-color: var(--line-2); }
body.theme-chrome .tip { border-radius: 0; background: #151517; border-color: var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
body.theme-chrome .hint { border-radius: 0; }
body.theme-chrome .orb__core { animation: none; }
body.theme-chrome .panel--ai .panel__head { margin-bottom: 2px; }

@media (max-width: 1180px) {
  body.theme-chrome .grid--dash { grid-template-columns: minmax(0, 1fr); background: none; border: 0; gap: 18px; }
  body.theme-chrome .grid--dash > .panel { border: 1px solid var(--line); }
}
@media (max-width: 980px) {
  body.theme-chrome .hero { grid-template-columns: minmax(0, 1fr); padding: 30px 0; gap: 26px; }
  body.theme-chrome .hero__card { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  body.theme-chrome .hero::after { display: none; }
  body.theme-chrome .sidebar { padding: 10px 16px; }
  body.theme-chrome .nav__caption { display: none; }
  body.theme-chrome .nav { gap: 14px; }
  body.theme-chrome .nav__item { margin-left: 0; border-left: 0; border-bottom: 1px solid transparent; padding: 8px 0; }
  body.theme-chrome .nav__item.is-active { background: none; border-bottom-color: var(--accent); }
}
