/* SOLARIS additions on top of the shared terminal.css. Solana accents: #14f195 / #9945ff. */

:root { --sol-green: #14f195; --sol-purple: #9945ff; }

/* System switch (the same rules are proposed for terminal.css; identical, so harmless twice). */
.sys-switch { display: flex; gap: 2px; margin: 10px 12px 2px; padding: 2px; background: var(--bg-panel-2); border: 1px solid var(--border); border-radius: var(--radius); }
.sys-switch__item { flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; padding: 5px 0; border-radius: 3px; color: var(--text-dim); text-decoration: none; }
.sys-switch__item:hover { color: var(--text); background: var(--bg-hover); }
.sys-switch__item.is-on { background: var(--bg-panel); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.sys-switch__item--sol.is-on { color: var(--sol-green); }
.sys-switch__short { display: none; }
:root[data-sidebar="collapsed"] .sys-switch { flex-direction: column; margin: 8px 6px 2px; }
:root[data-sidebar="collapsed"] .sys-switch__full { display: none; }
:root[data-sidebar="collapsed"] .sys-switch__short { display: inline; }

.sol .sidebar__link--active { border-left-color: var(--sol-green); }
.sol-mark { color: var(--sol-green); font-weight: 700; }
.sol-topbar { gap: 14px; overflow-x: auto; }
.sol-topbar .status { white-space: nowrap; display: inline-flex; gap: 5px; align-items: center; line-height: 16px; }
/* numbers in the header at the label size: 12px mono next to 11px text sat higher and made lines uneven (owner 27.09) */
.sol-topbar .status .num { font-size: 11px; line-height: 16px; }

.sol-head { margin: 2px 0 12px; }
.sol-kicker { font-size: 11px; letter-spacing: .12em; color: var(--sol-green); margin-bottom: 4px; }
.sol-title { font-size: 20px; margin: 0; font-weight: 600; }
.sol-name { font-size: 14px; font-weight: 400; }
.sol-sub { color: var(--text-dim); margin: 5px 0 0; max-width: 980px; font-size: 12.5px; line-height: 1.5; }
.sol-mint { word-break: break-all; }
.sol-mint a { color: var(--blue); }
.sol-small { font-size: 11px; }
.sol-wrap { white-space: normal !important; }
.sol-flash { margin-bottom: 12px; }
.r { text-align: right !important; }

.sol-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-bottom: 14px; }
.sol-stat { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius-lg, 6px); padding: 9px 11px; }
.sol-stat > span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .7px; color: var(--text-faint, var(--text-dim)); }
.sol-stat b { display: block; font-family: var(--font-mono); font-size: 17px; margin: 3px 0 2px; }
.sol-stat i { font-style: normal; font-size: 11px; color: var(--text-dim); }
.sol-grid { gap: 14px; }
@media (max-width: 1100px) { .sol-grid.grid--2 { grid-template-columns: 1fr; } }

.sol-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.sol-tabs { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.sol-tab { background: var(--bg-panel-2); color: var(--text-dim); border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 11px; font-size: 12px; text-decoration: none; cursor: pointer; font-family: inherit; }
.sol-tab:hover { color: var(--text); }
.sol-tab.is-on { color: var(--text); border-color: var(--sol-green); }
.sol-tab.is-off { opacity: .45; cursor: default; }
.sol-tabs--sm .sol-tab { padding: 2px 8px; font-size: 11px; text-transform: none; letter-spacing: 0; }

.sol-scroll { max-height: 72vh; overflow: auto; }
.sol-sortable th { cursor: pointer; user-select: none; }
.sol-sortable th.is-sorted::after { content: " ▾"; color: var(--sol-green); }
.sol-sortable th.is-sorted.is-asc::after { content: " ▴"; }
.sol-row--cand td:first-child { box-shadow: inset 2px 0 0 var(--sol-green); }
.sol-near { color: var(--amber); }
tr[data-href] { cursor: pointer; }

.sol-mode { display: inline-block; font-size: 10px; padding: 0 6px; border-radius: 3px; border: 1px solid var(--border-strong); color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; margin-left: 3px; }
.sol-mode--market { border-color: var(--blue); color: var(--blue); }
.sol-mode--survivor { border-color: var(--sol-green); color: var(--sol-green); }
.sol-kind { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.sol-kind--warn { color: var(--amber); }
.sol-kind--error { color: var(--red); }
.sol-exit { font-size: 11px; }
.sol-exit--takeprofit, .sol-exit--trailingexit { color: var(--green); }
.sol-exit--stoploss, .sol-exit--liquiditydrop, .sol-exit--riskemergency, .sol-exit--unsellable { color: var(--red); }

.sol-token-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
@media (max-width: 1100px) { .sol-token-grid { grid-template-columns: 1fr; } }
.sol-chart { height: 420px; width: 100%; }
.sol-legend { margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.lg::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.lg--seen::before { background: #8b949e; } .lg--cand::before { background: var(--sol-purple); }
.lg--entry::before { background: var(--sol-green); } .lg--exit::before { background: #f6465d; }

.sol-trade { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 8px; }
.sol-trade label, .sol-form label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--text-dim); }
.sol-trade input { width: 100px; }
.sol-pos { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 12px; }
.sol-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 12px; align-items: end; margin: 10px 0 14px; }
.sol-form .sol-check { flex-direction: row; align-items: center; gap: 6px; color: var(--text); }
.sol-flags { display: flex; gap: 6px; flex-wrap: wrap; }

.sol-cand { border-top: 1px solid var(--border); padding: 10px 0; }
.sol-cand:first-child { border-top: 0; padding-top: 0; }
.sol-cand__head { font-size: 12px; margin-bottom: 6px; }
.sol-cand__body { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 14px; }
@media (max-width: 900px) { .sol-cand__body { grid-template-columns: 1fr; } }
.sol-reasons { margin: 0; padding-left: 16px; font-size: 11.5px; font-family: var(--font-mono); }
.sol-reasons li { margin: 1px 0; }

.sol-why summary { cursor: pointer; color: var(--blue); font-size: 11px; }
.sol-why__box { white-space: normal; max-width: 620px; padding: 8px 0; font-size: 12px; line-height: 1.5; }
.sol-scores { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 4px 0; font-size: 11px; color: var(--text-dim); }
.sol-scores b { color: var(--text); font-family: var(--font-mono); }
.sol-kv { grid-template-columns: repeat(auto-fill, minmax(150px, auto) minmax(90px, 1fr)); }

.sol-md-body h2, .sol-md-body h3 { font-size: 14px; margin: 18px 0 8px; }
.sol-md-body h2:first-child { margin-top: 0; }
.sol-md-body p, .sol-md-body li { font-size: 12.5px; line-height: 1.55; }
.sol-md td { white-space: normal !important; vertical-align: top; }
.st { font-weight: 600; font-size: 11px; }
.st--done { color: var(--green); } .st--in_progress { color: var(--sol-green); }
.st--testing, .st--research { color: var(--blue); } .st--blocked { color: var(--red); } .st--planned { color: var(--text-dim); }

@media (max-width: 760px) {
  .sol-hide-sm { display: none !important; }
  .sol-chart { height: 320px; }
}
.sol-risk { font-size: 11.5px; margin: 8px 0 3px; color: var(--text-dim); }
.sol-risk b { color: var(--amber); }
.sol-chart-btns { display: inline-flex; gap: 2px; margin-left: 4px; vertical-align: middle; }
.sol-chart-btns .icon-btn { padding: 0 4px; font-size: 12px; line-height: 16px; }
tr[data-chart-url] { cursor: pointer; }
.sol-an-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); gap: 14px; }
@media (max-width: 760px) { .sol-an-grid { grid-template-columns: 1fr; } }
.sol-thin td { opacity: .6; }
.sol-equity { width: 100%; height: 140px; display: block; }
.sol-equity__line { stroke: var(--sol-green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sol-equity__zero { stroke: var(--border-strong); stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }

/* devnet signing check */
.sol-devnet__log { list-style: none; margin: 8px 0 0; padding: 0; max-height: 220px; overflow: auto; }
.sol-devnet__log li { padding: 2px 0; border-bottom: 1px solid var(--border, rgba(127, 127, 127, .15)); word-break: break-all; }
.sol-devnet [data-wallets] { display: flex; flex-wrap: wrap; gap: 6px; }

/* strategy stages */
.sol-stage { display: inline-block; font-size: 10px; padding: 1px 7px; border-radius: 3px; border: 1px solid var(--border-strong); color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }
.sol-stage--forward { border-color: var(--sol-green); color: var(--sol-green); }
.sol-stage--registered { border-color: var(--blue); color: var(--blue); }
.sol-stage--exploring { border-color: var(--sol-purple, #9945ff); color: var(--sol-purple, #9945ff); }
.sol-stage--passed { background: var(--sol-green); color: #0b0e11; border-color: var(--sol-green); }
.sol-stage--failed { border-color: var(--red, #f6465d); color: var(--red, #f6465d); }
.sol-mode--newborn_x2, .sol-mode--social_momentum, .sol-mode--clean_launch, .sol-mode--smart_money { border-color: var(--sol-green); color: var(--sol-green); }

/* live numbers: a changed value flashes once after each refresh (solaris.js flashChanges) */
/* live numbers (owner 27.09, like GENESIS): only the digits change colour — green up, red down — no cell fill */
@keyframes sol-live { from { color: var(--text); } }
@keyframes sol-live-up { from { color: var(--green); } }
@keyframes sol-live-down { from { color: var(--red); } }
.sol-live { animation: sol-live .9s ease-in; }
.sol-live--up { animation: sol-live-up .9s ease-in; }
.sol-live--down { animation: sol-live-down .9s ease-in; }
@media (prefers-reduced-motion: reduce) { .sol-live, .sol-live--up, .sol-live--down { animation: none; } }
.sol-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-start; margin-bottom: 12px; }
.sol-switch .sol-flags { margin-left: auto; }  /* OK / Play / Stop sit right next to the account list, the flags go right */
.sol-switch select { max-width: 100%; }
/* soft navigation: the content dims for the moment a tab or an action is being fetched */
main.workspace.is-loading { opacity: .6; transition: opacity .15s; pointer-events: none; }

/* strategy short code (NB2, CMP, RND …) — the names the lab reports use */
.sol-code { display: inline-block; padding: 0 5px; border-radius: 4px; font: 600 0.78em/1.5 var(--font-mono, ui-monospace, monospace);
  letter-spacing: 0.02em; background: var(--surface-2, rgba(127,127,127,.15)); color: var(--text-2, inherit); vertical-align: 0.1em; }

/* market heat dot in the header (owner 27.09): opens a popup (base.html #sol-heat) */
/* market heat popup (owner 27.09): the summary looks like its neighbours; the panel floats over the page (the header
   scrolls sideways, so an absolute panel would be clipped: position fixed, placed by solaris.js) */
.sol-heat { display: inline-flex; }
.sol-heat > summary { list-style: none; cursor: pointer; border-radius: 4px; }
.sol-heat > summary::-webkit-details-marker { display: none; }
.sol-heat > summary:hover, .sol-heat[open] > summary { color: var(--text); }
.sol-heat-pop { position: fixed; z-index: 60; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 80px); overflow-y: auto; padding: 12px 14px;
  background: var(--bg-panel); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.45);
  font-size: 12px; line-height: 1.45; color: var(--text); white-space: normal; }
.sol-heat-pop__title { font-size: 13px; margin-bottom: 8px; }
.sol-heat-pop__kv { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0 0 8px; }
.sol-heat-pop__kv dt { color: var(--text-dim); }
.sol-heat-pop__kv dd { margin: 0; }
.sol-heat-pop p { margin: 6px 0 0; }
.sol-heat-pop .dot { display: inline-block; vertical-align: middle; }
.dot--idle { background: var(--gray, #8b949e); }

/* strategies on Stop (owner 27.09): dimmed, still listed, out of the common chart */
tr.sol-stopped td { opacity: .55; }
tr.sol-stopped td:first-child, tr.sol-stopped td:nth-child(2) { opacity: 1; }
.sol-play { color: var(--text-dim); }  /* grey, not green: a stopped row should not shout (owner 27.09) */
#sol-bulk { align-items: center; justify-content: flex-start; }
#sol-bulk .topbar__spacer { flex: 1; }
.sol-stop { color: var(--red); }
th.sol-nosort { cursor: default; }

/* strategies that trade only in a hot market: the market dot next to the name (owner 27.09) */
.sol-hotdot { display: inline-block; vertical-align: middle; margin-left: 4px; }
.pill .dot { display: inline-block; vertical-align: middle; }
.sol-bulk-sep { width: 1px; height: 18px; background: var(--border); margin: 0 4px; }

/* compact strategies table (owner 27.09): names cut at the width of "Compression → Expansion · buyers dominate",
   the TZ column at the width of "owner 26.09"; the full text is in the title (hover) */
.sol-nameline { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.sol-sname { display: inline-block; max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; }
.sol-sshort { max-width: 225px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-newtab { color: var(--text-dim); text-decoration: none; font-size: 12px; padding: 0 3px; border-radius: 3px; }
.sol-newtab:hover { color: var(--text); background: var(--surface-2, rgba(127,127,127,.15)); }
.sol-hotdot { margin-left: 0; }
.sol-tzcol { max-width: 88px; }
.sol-tzcol span { display: block; max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-newtabcell { width: 16px; padding-left: 0 !important; padding-right: 6px !important; text-align: left; }
/* the name column takes only what its content needs; spare width goes to the number columns (owner 27.09) */
.sol-namecell { width: 1%; padding-right: 2px !important; }

/* collapsed menu (owner 27.09): the expand arrow sat on the right edge next to the logo and looked crooked; here it
   stands centred under the logo, in the same column as every other icon */
:root[data-sidebar="collapsed"] body.sol .sidebar__brand { flex-direction: column; justify-content: center; gap: 2px; }
:root[data-sidebar="collapsed"] body.sol .sidebar__collapse { position: static; margin: 0; transform: rotate(180deg); padding: 2px 8px; }

/* dashboard tiles (owner 27.09): one size, one line of detail, a gear to choose them */
.sol-stats--tiles { grid-auto-rows: 1fr; }
.sol-stats--tiles .sol-stat { min-height: 74px; overflow: hidden; }
.sol-stats--tiles .sol-stat i { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-tiles-bar { position: relative; display: flex; justify-content: flex-end; margin: -4px 0 6px; }
.sol-gear { font-size: 14px; line-height: 1; padding: 3px 8px; }
.sol-tiles-menu { position: absolute; right: 0; top: 30px; z-index: 30; background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: var(--radius-lg, 6px); padding: 8px 12px; box-shadow: 0 8px 24px rgba(0,0,0,.35); display: grid; gap: 6px; min-width: 210px; }
.sol-tiles-menu[hidden] { display: none; }
.sol-tiles-menu label { display: flex; gap: 8px; align-items: center; font-size: 12px; cursor: pointer; white-space: nowrap; }

/* market by hour (analytics): a fixed-height box, the strategies' part set apart */
.sol-hours { max-height: 520px; overflow-y: auto; }
.sol-hours .sol-hours-sep { border-left: 1px solid var(--border); }
.sol-grids { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
/* "Strategies in work" (owner 27.09: more telling, bigger): two columns wide, the result large, the split below */
.sol-stat--wide { grid-column: span 2; }
.sol-stat--wide b { font-size: 22px; }
.sol-stat-split { font-size: 12px; color: var(--text-dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-stat-split em { font-style: normal; font-family: var(--font-mono); font-size: 12px; }
.sol-stat-note { font-size: 10px; color: var(--text-faint, var(--text-dim)); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* period bar (owner 27.09): one choice for all pages with results */
.sol-period { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.sol-period__chip { padding: 3px 10px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; color: var(--text-dim); text-decoration: none; }
.sol-period__chip:hover { color: var(--text); border-color: var(--text-dim); }
.sol-period__chip.is-on, .sol-period__range.is-on input { color: var(--text); border-color: var(--accent, #2ea043); }
.sol-period__range { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; }
.sol-period__range input { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 4px; color: var(--text); font-size: 12px; padding: 2px 6px; color-scheme: dark; }
.sol-period__now { margin-left: 6px; }

/* paper wallet forms (owner 27.09) */
.sol-inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sol-inline-form label { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: var(--text-dim); }
.sol-inline-form input, .sol-num-in { background: var(--bg-panel-2, var(--bg-panel)); border: 1px solid var(--border); border-radius: 4px;
  color: var(--text); font-family: var(--font-mono); font-size: 12px; padding: 3px 6px; color-scheme: dark; }
.sol-num-in { width: 78px; text-align: right; }
.sol-num-in--s { width: 56px; }
.sol-alloc tfoot td { border-top: 1px solid var(--border); }
.sol-book-switch { display: inline-flex; gap: 4px; margin: 0 0 10px; }
.sol-book-switch a { padding: 4px 14px; border: 1px solid var(--border); border-radius: 999px; font-size: 12px; text-decoration: none; color: var(--text-dim); }
.sol-book-switch a.is-on { color: var(--text); border-color: var(--sol-green); }
.sol-book-switch a.is-real.is-on { border-color: #f0b429; }
.sol-bal { margin-left: 14px; font-size: 12px; color: var(--text-dim); }
.sol-bal b { font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.sol-stratcell { white-space: nowrap; max-width: 340px; overflow: hidden; text-overflow: ellipsis; }

/* wallet scenarios (owner 27.09) */
.sol-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; align-items: center; }
.sol-bar { display: inline-block; height: 8px; background: var(--sol-green, #2ea043); border-radius: 2px; vertical-align: middle; }
.sol-bar--neg { background: #f85149; }
.sol-x { background: none; border: 0; color: var(--text-dim); cursor: pointer; padding: 0 4px 0 0; font-size: 14px; }
.sol-x:hover { color: #f85149; }
.sol-cmp-table td:first-child { color: var(--text-dim); }
.sol-inline-form select { background: var(--bg-panel-2, var(--bg-panel)); border: 1px solid var(--border); border-radius: 4px; color: var(--text); font-size: 12px; padding: 3px 6px; }
.sol-scn { display: inline-flex; margin-left: 10px; }
.sol-scn label { font-size: 12px; color: var(--text-dim); display: inline-flex; gap: 6px; align-items: center; }
.sol-scn select { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 12px; padding: 3px 10px; }
.sol-stat--scn { border-color: #f0b429; }
.sol-nowrap { white-space: nowrap; }
/* folded list of chart names (owner 27.09): one line, the rest behind "+ show all names" */
.rv-cmp-legend.is-folded > :nth-child(n+6) { display: none; }
.sol-fold { margin: 2px 0 10px; }
.sol-tw__hist { max-height: 240px; overflow-y: auto; }
.sol-tw__head { padding-left: 0; border: 0; }
.sol-sign td { vertical-align: middle; }
.sol-arch-switch { margin: 0 0 0 10px; }
.sol-arch-switch a { padding: 3px 10px; }
.sol-more { display: flex; gap: 10px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
/* owner 28.09: the dashboard's strategy picker */
.sol-pick { position: relative; display: inline-block; margin-left: 10px; }
.sol-pick > summary { list-style: none; cursor: pointer; }
.sol-pick > summary::-webkit-details-marker { display: none; }
.sol-pick__menu { position: absolute; z-index: 40; top: 32px; right: 0; left: auto; width: min(560px, calc(100vw - 32px)); background: var(--bg-panel);
  border: 1px solid var(--border); border-radius: 6px; padding: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.sol-pick__list { max-height: 60vh; overflow-y: auto; }
.sol-pick__row { display: grid; grid-template-columns: 18px auto 1fr 70px 50px; gap: 6px; align-items: center; padding: 3px 2px;
  font-size: 12px; cursor: pointer; border-bottom: 1px solid var(--border); }
.sol-pick__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sol-pick__head { padding: 0 2px 6px; }
.sol-pick__foot { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 8px; }
/* owner 28.09: strategies page — common-date form, rebooked mark, column picker */
.sol-since { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 8px; }
.sol-rebooked { color: var(--warn, #d9a441); font-size: 11px; cursor: help; }
.sol-colpick { position: relative; display: inline-block; }
.sol-pick__views { display: flex; flex-direction: column; gap: 3px; padding: 0 2px 8px; border-bottom: 1px solid var(--border); margin-bottom: 6px; font-size: 12px; }
.sol-pick__views label { cursor: pointer; }
.sol-pick__flt { display: flex; gap: 6px; align-items: center; font-size: 12px; padding: 0 2px 6px; }
.sol-pick__menu.is-locked .sol-pick__list { opacity: .55; pointer-events: none; }
.sol-heat-hist { width: 100%; font-size: 11px; margin: 4px 0 8px; }
.sol-heat-hist th, .sol-heat-hist td { padding: 2px 6px; white-space: nowrap; }
/* owner 28.09: the X window in the header */
.sol-xw-pop { width: min(980px, calc(100vw - 32px)); }
.sol-xw-cfg { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 8px 0; font-size: 12px; }
.sol-xw-table td { vertical-align: middle; }
.sol-xw-hot td { background: rgba(46, 204, 113, .12); }
@keyframes sol-blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
.dot--blink { animation: sol-blink 1s ease-in-out infinite; box-shadow: 0 0 6px var(--ok, #2ecc71); }
/* owner 28.09: smaller play / stop buttons on the strategies table */
.sol-strat-table .sol-play, .sol-strat-table .sol-stop { padding: 0 5px; font-size: 10px; line-height: 16px; min-width: 0; }
.sol-xw-table .sol-chart-btns .icon-btn { padding: 0 3px; font-size: 11px; }

/* owner 28.09: left / right through the strategies on a strategy page (active and archive are separate rings) */
.sol-periodrow { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.sol-periodrow .sol-period { margin: 0; flex: 1 1 auto; }
.sol-ring { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; flex: 0 0 auto; }
.sol-ring__btn { min-width: 34px; text-align: center; }
.sol-ring__pos { min-width: 52px; text-align: center; white-space: nowrap; }
.sol-ring__acts { display: inline-flex; gap: 6px; margin: 0 0 0 10px; padding-left: 10px; border-left: 1px solid var(--border); }
/* owner 28.09: + compare on the dashboard */
.sol-cmp-pick__group { padding: 6px 2px 2px; text-transform: uppercase; letter-spacing: .04em; }
.sol-cmp-pick__row { display: block; padding: 2px 2px; font-size: 12px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-cmp-pick .sol-pick__flt label { cursor: pointer; }
/* owner 29.09 (via the lab): tags and groups on the Strategies list */
.sol-tagbar { display: grid; gap: 4px; margin: 0 0 12px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); }
.sol-tagbar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.sol-tagbar__kind { width: 78px; flex: none; color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.sol-chip { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; font-size: 12px; line-height: 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-panel-2); color: var(--text); cursor: pointer; }
.sol-chip i { font-style: normal; color: var(--text-dim); font-size: 11px; }
.sol-chip:hover { border-color: var(--border-strong); }
.sol-chip[aria-pressed="true"] { background: rgba(88, 166, 255, .18); border-color: rgba(88, 166, 255, .7); color: #fff; }
.sol-chip--sm { padding: 0 6px; font-size: 11px; line-height: 16px; }
.sol-chip--mine { border-style: dashed; }
.sol-chip--status { font-weight: 600; }
.sol-tagcell { white-space: nowrap; }
.sol-tagcell .sol-chip { margin-right: 2px; }
.sol-tagq { width: 190px; padding: 2px 8px; font-size: 12px; margin-left: 8px; }
.sol-tagsum { font-size: 12px; padding-top: 4px; border-top: 1px solid var(--border); }
.sol-groupsel, .sol-groupname { font-size: 12px; padding: 2px 6px; }
.sol-groupname { width: 150px; }
.sol-groupedit { position: relative; display: inline-block; margin-left: 6px; }
.sol-groupedit > summary { list-style: none; cursor: pointer; }
.sol-groupedit > summary::-webkit-details-marker { display: none; }
.sol-groupedit__box { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; display: grid; gap: 6px; padding: 10px; min-width: 360px; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.sol-groupedit__row { display: flex; align-items: center; gap: 6px; }
.sol-groupedit__row input[type=text] { width: 160px; font-size: 12px; padding: 2px 6px; }
.sol-ask { position: fixed; z-index: 60; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; max-width: min(900px, calc(100vw - 32px)); padding: 12px 16px; background: var(--bg-panel); border: 2px solid var(--red, #f6465d); border-radius: var(--radius); box-shadow: 0 0 0 4px rgba(246, 70, 93, .18), 0 10px 30px rgba(0, 0, 0, .6); font-size: 14px; animation: sol-ask-in .45s ease-out 2; }
@keyframes sol-ask-in { 0% { box-shadow: 0 0 0 0 rgba(246, 70, 93, .7), 0 10px 30px rgba(0, 0, 0, .6); } 100% { box-shadow: 0 0 0 14px rgba(246, 70, 93, 0), 0 10px 30px rgba(0, 0, 0, .6); } }
.sol-ask[hidden] { display: none; }
.sol-ask__text { flex: 1; }
/* the common chart: the viewer drags its height (kept per page) */
#sol-cmp.rv-cmp { resize: vertical; overflow: hidden; min-height: 240px; }
.rv-cmp-tip__more { color: var(--text-dim); font-style: italic; }
@media (max-width: 700px) { .sol-tagbar__kind { width: 100%; } .sol-tagq { width: 100%; margin-left: 0; } .sol-ask { flex-wrap: wrap; } }
/* owner 29.09: the dashboard's windows fit the screen: head and choices on top, the list scrolls, Apply always shows */
.sol-pick__menu { display: flex; flex-direction: column; max-height: calc(100vh - 140px); }
.sol-pick__menu > * { flex: none; }
.sol-pick__menu > .sol-pick__list { flex: 1 1 auto; min-height: 80px; max-height: none; overflow-y: auto; }
.sol-pick__foot { border-top: 1px solid var(--border); margin-top: 6px; background: var(--bg-panel); }
.sol-pick__views { max-height: 34vh; overflow-y: auto; }
.sol-pick__grp { display: flex; gap: 6px; align-items: center; }
.sol-pick__gsel { font-size: 12px; padding: 2px 6px; max-width: 360px; }
/* owner 29.09: the filter block folds by its +/- and stays folded (boot.js sets html[data-tagbar] before paint) */
.sol-tagbar__row[hidden] { display: none; }
.sol-tagbar__top { gap: 10px; }
.sol-tagbar__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px 1px 2px; border: 0; background: none; color: var(--text-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.sol-tagbar__toggle:hover { color: var(--text); }
.sol-tagbar__pm { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--border-strong); border-radius: 4px; font-size: 14px; line-height: 1; color: var(--text); }
.sol-tagbar__pm::before { content: "\2212"; }
html[data-tagbar="closed"] .sol-tagbar__pm::before { content: "+"; }
html[data-tagbar="closed"] .sol-tagbar > .sol-tagbar__row:not(.sol-tagbar__top):not(.sol-tagsum) { display: none; }
html[data-tagbar="closed"] .sol-tagbar { padding-top: 4px; padding-bottom: 4px; }
#sol-tagactive { color: #9ecbff; }
/* CMP GOLD (owner 29.09): the inflow line on a candidate card */
.sol-gold { margin: 6px 0; padding: 6px 8px; border-left: 2px solid #d9a441; background: rgba(217, 164, 65, .06); font-size: 12px; }
.sol-gold .warn { color: var(--warn, #d9a441); }
.sol-spark { vertical-align: middle; margin: 0 6px 0 10px; color: #d9a441; }
.sol-gold__path { margin-top: 4px; }
/* owner 29.09: the crystal logo in the menu, a little more air around it */
body.sol .sidebar__brand { gap: 6px; padding-left: 16px; }  /* logo and name close, by the gap (no negative margins) */
.sol-logo { margin: 8px 0; }  /* owner 29.09: 8 px above and below the cube; the gap on the brand row keeps the name close */
.sol-logo img { display: block; width: 20px; height: 20px; filter: drop-shadow(0 0 3px rgba(20, 241, 149, .2)); }
:root[data-sidebar="collapsed"] body.sol .sidebar__brand { padding-left: 0; }
/* owner 29.09: several groups at once in the dashboard's window */
.sol-pick__grp { display: block; }
.sol-pick__gkind { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 3px 0 0 18px; }
.sol-pick__gkind > .dim { width: 70px; flex: none; }
.sol-pick__gopt { white-space: nowrap; cursor: pointer; }
/* owner 29.09: the statistics switches next to the period, the "incomplete data" badge */
.sol-period__stats { display: inline-flex; gap: 4px; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--border); }
.sol-incomplete { font-size: 10px; }
/* owner 29.09 (via the lab): every table scrolls inside itself, about a screen high, so its horizontal scrollbar is
   always in sight; the header row stays on top */
body.sol .table-scroll { max-height: max(300px, calc(100vh - 250px)); overflow: auto; }
body.sol .table-scroll > table > thead > tr > th { position: sticky; top: 0; z-index: 3; background: var(--bg-panel); box-shadow: inset 0 -1px 0 var(--border); }
body.sol .sol-tagbar ~ .sol-since { margin-top: 0; }
@media (max-width: 700px) { body.sol .table-scroll { max-height: none; } }
/* the Strategies name column: whole names on a click (html[data-stratwide]) */
.sol-colwide { margin-left: 4px; padding: 0 4px; font-size: 11px; line-height: 14px; border: 1px solid var(--border); border-radius: 3px; background: none; color: var(--text-dim); cursor: pointer; }
.sol-colwide:hover { color: var(--text); }
html[data-stratwide="1"] .sol-colwide { color: #9ecbff; border-color: rgba(88, 166, 255, .6); }
html[data-stratwide="1"] .sol-strat-table .sol-sname, html[data-stratwide="1"] .sol-strat-table .sol-sshort { max-width: none; }
html[data-stratwide="1"] .sol-strat-table .sol-namecell { width: auto; }
/* the "i" card and the copy-id button */
.sol-info { width: 16px; height: 16px; padding: 0; margin-right: 3px; border: 1px solid var(--border); border-radius: 50%; background: none; color: var(--text-dim); font: italic 600 10px/14px Georgia, serif; cursor: pointer; }
.sol-info:hover { color: var(--text); border-color: var(--border-strong); }
.sol-newtabcell { width: 38px; white-space: nowrap; }
.sol-copyid { padding: 0 3px; border: 0; background: none; color: var(--text-dim); font-size: 11px; cursor: pointer; }
.sol-copyid:hover { color: var(--text); }
.sol-copyid.pos { color: var(--green); }
.sol-copyfield { width: 220px; font-size: 11px; padding: 1px 4px; }
.sol-cardwrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: rgba(0, 0, 0, .45); padding: 16px; }
.sol-card { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 14px 16px; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); font-size: 13px; }
.sol-card__head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sol-card__x { margin-left: auto; border: 0; background: none; color: var(--text-dim); font-size: 20px; cursor: pointer; }
.sol-card__meta { margin: 4px 0 8px; }
.sol-card h4 { margin: 12px 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); }
.sol-card__list { margin: 0; padding-left: 18px; }
.sol-card__idea { margin: 6px 0; }
/* owner 29.09: the Replay pages */
.sol-rpform { display: grid; gap: 8px; }
.sol-rpform__pick { display: grid; gap: 4px; }
.sol-rpform__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.sol-rpform__row .sol-chip input { margin: 0 2px 0 0; }
.sol-rpform__ids { width: min(520px, 100%); font-size: 12px; padding: 2px 6px; }
.sol-rpform__opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 12px; }
.sol-rpform__opts input[type=number] { width: 64px; }
.sol-rp-busy { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: rgba(217, 164, 65, .18); color: #e3b341; font-size: 11px; animation: sol-rp-pulse 1.4s ease-in-out infinite; }
@keyframes sol-rp-pulse { 50% { opacity: .45; } }
.sol-rp-bar { display: inline-block; width: 110px; height: 6px; margin-right: 6px; vertical-align: middle; background: var(--border); border-radius: 3px; overflow: hidden; }
.sol-rp-bar > i { display: block; height: 100%; background: var(--green); }
.sol-rp-acts { white-space: nowrap; }
.sol-rp-acts form { display: inline; margin: 0; }
.sol-rp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 10px; }
.sol-rp-head form { display: inline; margin: 0; }
.sol-rp-tabs { display: inline-flex; gap: 4px; }
.sol-rp-flt { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: 12px; }
.sol-rp-flt select, .sol-rp-flt input { font-size: 12px; padding: 1px 4px; }
.sol-toast { position: fixed; z-index: 80; right: 18px; bottom: 18px; padding: 10px 14px; background: var(--bg-panel); border: 2px solid var(--green); border-radius: var(--radius); color: var(--text); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); text-decoration: none; }
/* the bottom-of-screen copy of a table's horizontal scrollbar (owner 29.09) */
.sol-hbar { position: sticky; bottom: 0; z-index: 6; height: 14px; overflow-x: auto; overflow-y: hidden; background: var(--bg-panel); border-top: 1px solid var(--border); }
.sol-hbar[hidden] { display: none; }
.sol-hbar > div { height: 1px; }
/* owner 29.09: the header clock and its time-zone list */
.sol-clock { display: inline-flex; align-items: baseline; gap: 5px; margin-right: 10px; padding: 2px 8px; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--green); cursor: pointer; font-size: 13px; }
.sol-clock:hover { border-color: var(--border); }
.sol-clock__t i { font-style: normal; transition: opacity .25s; }
.sol-clock__t i.off { opacity: .15; }
.sol-clock__z { font-size: 10px; letter-spacing: .05em; color: var(--text-dim); text-transform: uppercase; }
.sol-tzmenu { position: fixed; z-index: 75; display: grid; gap: 2px; min-width: 250px; padding: 6px; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.sol-tzmenu button { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; padding: 5px 8px; border: 0; border-radius: 4px; background: none; color: var(--text); text-align: left; cursor: pointer; font-size: 13px; }
.sol-tzmenu button:hover { background: var(--bg-panel-2); }
.sol-tzmenu button.is-on { background: rgba(14, 203, 129, .12); color: var(--green); }
.sol-tzmenu .num { color: var(--green); }
.sol-tzmenu > .dim { padding: 4px 8px 0; }
/* owner 29.09: the header on one line height everywhere. Numbers in the UI font with even-width digits: the monospace
   font differs by system (DejaVu / Menlo / Consolas) and sat higher or lower than the labels next to it */
.sol-topbar > :not(details):not(.topbar__spacer) { display: inline-flex; align-items: center; height: 22px; margin: 0; }
.sol-topbar > details > summary { display: inline-flex; align-items: center; height: 22px; }
.sol-topbar .status, .sol-topbar .status > summary { line-height: 1; font-size: 11px; }
.sol-topbar .status > span, .sol-topbar .status > summary > span { display: inline-flex; align-items: center; line-height: 1; }
.sol-topbar .num, .sol-clock__t { font-family: inherit; font-variant-numeric: tabular-nums; line-height: 1; }
.sol-topbar .status .num { font-size: 11px; line-height: 1; }
.sol-topbar .mode, .sol-topbar .lock { height: 20px; padding: 0 9px; line-height: 1; box-sizing: border-box; }
.sol-topbar .dot { margin: 0; }
/* the clock at the size and in the font of the SOL price next to it, always green (no live-number flash: it is not a .num) */
.sol-clock { height: 22px; font-size: 11px; line-height: 1; align-items: center; gap: 6px; padding: 0 6px; }
.sol-clock__t { color: var(--green); font-size: 11px; }
.sol-clock__z { font-size: 10px; line-height: 1; }
/* owner 29.09: positions open at once */
.sol-concspark { vertical-align: middle; }
.sol-concspark path, .sol-concchart path { fill: rgba(88, 166, 255, .18); stroke: #58a6ff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.sol-conccell { white-space: nowrap; }
.sol-conc__body { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.sol-conc__nums { display: flex; gap: 18px; }
.sol-conc__nums > div { display: grid; gap: 2px; font-size: 12px; }
.sol-conc__nums b { font-size: 18px; }
.sol-concchart { flex: 1; min-width: 260px; height: 60px; }
/* owner 29.09: a row of chips with its label in its own column: wrapped chips stay under the first one */
.sol-tagbar__row, .sol-rpform__row { display: grid; grid-template-columns: 82px 1fr; align-items: start; gap: 4px; }
.sol-tagbar__row > .sol-tagbar__kind, .sol-rpform__row > .sol-tagbar__kind { width: auto; padding-top: 3px; }
.sol-tagbar__row.sol-tagbar__top, .sol-tagbar__row.sol-tagsum { display: flex; flex-wrap: wrap; align-items: center; }
.sol-rowchips, .sol-tagbar__chips { display: flex; flex-wrap: wrap; gap: 4px; }
.sol-pick__gkind { display: grid; grid-template-columns: 70px 1fr; gap: 2px 10px; }
.sol-pick__gkind > .dim { width: auto; }
.sol-pick__gkind .sol-rowchips { gap: 2px 10px; }
@media (max-width: 700px) { .sol-tagbar__row, .sol-rpform__row { grid-template-columns: 1fr; } }
/* 12: the SOL coin drawn, not a glyph; the zone code at the size of the digits */
.sol-coin { color: var(--sol-green); flex: none; margin-right: 4px; }
.sol-topbar .sol-clock__z { font-size: 11px; letter-spacing: .03em; }
/* 11: collapsed menu: the cube 8 px from the edge, the arrow with room under it */
:root[data-sidebar="collapsed"] body.sol .sidebar__brand { height: auto; min-height: var(--topbar-h); padding: 8px 0; gap: 4px; }
:root[data-sidebar="collapsed"] body.sol .sidebar__collapse { margin: 0 0 8px; }
:root[data-sidebar="collapsed"] body.sol .sol-logo { margin: 0; }
/* owner 29.09: Replay money metrics and the combined chart */
.sol-money__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px 18px; }
.sol-money__grid > div { display: grid; gap: 2px; font-size: 12px; }
.sol-money__grid b { font-size: 17px; }
.sol-money__grid i { font-style: normal; color: var(--text-dim); font-size: 11px; }
.sol-eqchart { position: relative; height: 320px; }
.sol-eqtip { position: absolute; z-index: 5; pointer-events: none; min-width: 180px; max-width: 320px; padding: 6px 8px; background: rgba(13, 17, 23, .95); border: 1px solid var(--border-strong); border-radius: var(--radius); font-size: 12px; }
.sol-eqtip div { display: flex; gap: 6px; justify-content: space-between; white-space: nowrap; }
/* owner 29.09: the strategy picker with search (Replay) */
.sol-spick { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.sol-spick__sel { display: contents; }
.sol-spick__sel .sol-chip button { border: 0; background: none; color: var(--text-dim); cursor: pointer; padding: 0 0 0 2px; }
.sol-spick__q { min-width: 260px; flex: 1; max-width: 480px; font-size: 12px; padding: 3px 8px; }
.sol-spick__list { position: absolute; z-index: 30; top: 100%; left: 0; margin-top: 4px; width: min(620px, 92vw); max-height: 320px; overflow: auto; padding: 4px; background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.sol-spick__list button { display: block; width: 100%; padding: 4px 8px; border: 0; border-radius: 4px; background: none; color: var(--text); text-align: left; font-size: 12px; cursor: pointer; }
.sol-spick__list button:hover { background: var(--bg-panel-2); }
/* owner 29.09: nothing moves while numbers tick — every digit the same width, live counters in fixed-width boxes
   (right-aligned numbers), the Replay tests table with fixed columns */
body.sol .num, body.sol td, body.sol .sol-stat b, body.sol .sol-stat i, body.sol .sol-money__grid, body.sol .sol-conc__nums,
body.sol .sol-steady, body.sol .sol-ago, body.sol .sol-clock__t, body.sol .rv-cmp-item, body.sol .sol-tagsum { font-variant-numeric: tabular-nums; }
.sol-ago { display: inline-block; min-width: 6ch; text-align: right; }
.sol-w5, .sol-w6, .sol-w8, .sol-w9, .sol-w10 { display: inline-block; text-align: right; white-space: nowrap; }
.sol-w5 { min-width: 5ch; } .sol-w6 { min-width: 6ch; } .sol-w8 { min-width: 8ch; } .sol-w9 { min-width: 9ch; } .sol-w10 { min-width: 10ch; }
.sol-rp-table { table-layout: fixed; width: 100%; }
.sol-rp-table td { vertical-align: top; }  /* numbers are never cut: only the name's description line ellipsizes */
.sol-rp-table td:first-child { overflow-wrap: anywhere; }
.sol-rp-table td:last-child { white-space: normal; }
.sol-rp-table .sol-rp-acts .btn { margin: 0 2px 2px 0; }
.sol-rp-table .sol-rp-bar { width: 100%; max-width: 110px; display: block; margin: 3px 0 2px; }
.sol-ago--short { min-width: 4ch; }
.sol-rp-table td:first-child .dim { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-clock__t { display: inline-block; min-width: 8ch; }
/* owner 29.09 (regression): collapsed menu — no sideways scroll of the menu, the brand exactly the menu's width, the
   cube centred (16 px from the edge at the 52 px width) */
:root[data-sidebar="collapsed"] body.sol .sidebar { overflow-x: hidden; }
:root[data-sidebar="collapsed"] body.sol .sidebar__brand { width: 100%; box-sizing: border-box; align-items: center; justify-content: center; padding: 8px 0; left: 0; top: 0; }
:root[data-sidebar="collapsed"] body.sol .sidebar__logo, :root[data-sidebar="collapsed"] body.sol .sol-logo { margin: 0 auto; align-self: center; }
/* owner 29.09: collapsed menu only — 15 px above the cube (the brand block's top padding, so the cube and the arrow
   under it move together; the open menu keeps its own layout) */
:root[data-sidebar="collapsed"] body.sol .sidebar__brand { padding-top: 15px; padding-bottom: 8px; }
/* owner 29.09: in the collapsed menu the icons are taller than the window, the menu scrolls, and the cube scrolled
   away over the top edge. The brand block (cube + arrow) stays pinned at the top of the menu; the menu's own
   scrollbar is thin. Open menu unchanged. */
:root[data-sidebar="collapsed"] body.sol .sidebar__brand { position: sticky; top: 0; z-index: 2; background: var(--bg-panel); flex-shrink: 0; }
:root[data-sidebar="collapsed"] body.sol .sidebar { scrollbar-width: thin; }

/* owner 30.09: the current-version filter hides the history before 29.09 20:30 UTC: show it plainly */
body.sol .sol-period__chip.is-warn { border-color: #f0b90b; color: #f0b90b; }
/* owner 30.09: compact / full view of the long tables (solaris.js): full = no inner scroll, the page scrolls */
body.sol .sol-viewbar { display: inline-flex; gap: 4px; margin-left: auto; float: right; }
body.sol form.sol-since .sol-viewbar { float: none; }
body.sol .sol-viewbar .btn { padding: 0 6px; min-width: 26px; }
body.sol .sol-viewbar .btn[aria-pressed="true"] { border-color: var(--accent, #0ecb81); color: var(--accent, #0ecb81); }
body.sol .table-scroll.is-full, body.sol .table-scroll.is-full.sol-scroll, body.sol .table-scroll.is-full.sol-hours { max-height: none !important; overflow-y: visible; }
/* owner 30.09: favourite sections in the menu — a faint star fixed at the item's right edge; marked: mint name, icon, star */
body.sol .sidebar__link { position: relative; }
body.sol .sol-fav { margin-left: auto; padding: 0 2px 0 8px; font-size: 11px; line-height: 1; color: rgba(255, 255, 255, .10); cursor: pointer; transition: color .15s; flex-shrink: 0; }
body.sol .sidebar__link:hover .sol-fav { color: rgba(255, 255, 255, .28); }
body.sol .sol-fav:hover { color: var(--sol-green) !important; }
body.sol .sidebar__link.is-fav, body.sol .sidebar__link.is-fav .sidebar__text, body.sol .sidebar__link.is-fav .sidebar__icon,
body.sol .sidebar__link.is-fav .sol-fav { color: var(--sol-green); }
body.sol .sidebar__link.is-fav .sidebar__icon { opacity: 1; }
:root[data-sidebar="collapsed"] body.sol .sol-fav { display: none; }
/* owner 30.09: a click on a line chart hides / shows its hover table (solaris.js, remembered) */
html.sol-tips-off .rv-cmp-tip, html.sol-tips-off .sol-eqtip { display: none !important; }
/* owner 30.09: the Replay list's views (all / favourites / archive) and the ticked-rows actions */
body.sol .sol-rp-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--border); }
body.sol .sol-rp-views { display: inline-flex; gap: 6px; }
body.sol .sol-rp-bulk { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
/* owner 30.09: notes — the ✎ (yellow when a note exists) and its window; the chosen group's note over the table */
body.sol .sol-note { display: inline-block; margin-left: 6px; padding: 1px 4px; font-size: 12px; line-height: 1; color: rgba(255, 255, 255, .28); cursor: pointer; border-radius: 3px; font-style: normal; }
body.sol .sol-note:hover { color: var(--text); background: var(--bg-hover); }
body.sol .sol-note.has { color: #f0b90b; }
body.sol .sol-chip .sol-note { margin-left: 4px; padding: 2px 4px; }
body.sol .sol-notebox { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .55); padding: 16px; }
body.sol .sol-notebox[hidden] { display: none; }
body.sol .sol-notebox__card { width: min(640px, 100%); background: var(--bg-panel); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0, 0, 0, .6); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
body.sol .sol-notebox__head { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
body.sol .sol-notebox__text { width: 100%; min-height: 220px; resize: vertical; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 8px; font: inherit; font-size: 13px; line-height: 1.45; }
body.sol .sol-notebox__foot { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
body.sol .sol-notebox__count { margin-right: auto; }
body.sol .sol-gnote { margin: 8px 0 0; padding: 8px 12px; border-left: 2px solid #f0b90b; background: rgba(240, 185, 11, .06); font-size: 13px; line-height: 1.45; }
body.sol .sol-gnote > div { margin: 2px 0 8px; white-space: normal; }
/* owner 30.09: Health in the header */
body.sol .sol-health-table td { vertical-align: top; padding-top: 5px; padding-bottom: 5px; }
body.sol .sol-health-table td:first-child { padding-right: 0; }
body.sol .sol-health-table { width: 100%; table-layout: fixed; }
body.sol .sol-health-table col.sol-health-col-status { width: 22px; }
body.sol .sol-health-table col.sol-health-col-value { width: 38%; }
body.sol .sol-health-table col.sol-health-col-eye { width: 26px; }
body.sol .sol-health-table td:nth-child(2), body.sol .sol-health-table td:nth-child(3) { white-space: normal; overflow-wrap: anywhere; }
body.sol .sol-health-table td:nth-child(3), body.sol .sol-health-table td:last-child { text-align: right; }
body.sol .sol-health-table td:last-child { padding-left: 0; }
/* owner 30.09: Health - a soft pulse on the green dot, the eye of each check, a check left out */
@keyframes sol-pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 203, 129, .9); opacity: 1; } 50% { opacity: .55; } 70% { box-shadow: 0 0 0 10px rgba(14, 203, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 203, 129, 0); opacity: 1; } }
body.sol .dot.sol-pulse { animation: sol-pulse 1.8s ease-out infinite; }  /* owner 30.09: more visible */
/* Connection alarm: 500 ms visible, 500 ms hidden. Ordinary service errors stay steady. */
@keyframes sol-connection-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
body.sol .dot.sol-connection-lost { animation: sol-connection-blink 1s steps(1, end) infinite; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { body.sol .dot.sol-pulse { animation: none; } }
body.sol .sol-health > summary .sol-hbad:empty { display: none; }
body.sol .sol-health > summary .sol-hbad { margin-left: 4px; }
body.sol .sol-health-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.sol .sol-hpulse { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 400; }
body.sol .sol-heye { display: inline-flex; padding: 2px; color: rgba(255, 255, 255, .22); cursor: pointer; border-radius: 3px; }
body.sol .sol-heye:hover { color: var(--text); background: var(--bg-hover); }
body.sol .sol-heye .sol-heye__off, body.sol tr.is-off .sol-heye .sol-heye__on { display: none; }
body.sol tr.is-off .sol-heye .sol-heye__off { display: inline; }
body.sol .sol-health-table tr.is-off td:not(:last-child) { opacity: .38; }
/* owner 30.09: Sets on the Strategies page */
body.sol .sol-set-tog { background: none; border: 0; color: var(--text-dim); cursor: pointer; font-size: 13px; padding: 2px 6px; }
body.sol .sol-set-tog:hover { color: var(--text); }
body.sol .sol-set-row td { border-top: 1px solid var(--border-strong); }
body.sol .sol-set-kid td { background: rgba(255, 255, 255, .02); }
body.sol .sol-set-kid__name { padding-left: 18px; }
body.sol a.sol-chip { text-decoration: none; }
/* owner 30.09: the favourite star of a strategy row (like the menu's) and the Presets chips */
body.sol .sol-sfav { display: inline-block; margin-right: 6px; font-size: 12px; line-height: 1; color: rgba(255, 255, 255, .14); cursor: pointer; vertical-align: middle; }
body.sol tr:hover .sol-sfav { color: rgba(255, 255, 255, .32); }
body.sol .sol-sfav:hover { color: var(--sol-green) !important; }
body.sol .sol-sfav.on { color: var(--sol-green) !important; }
body.sol .sol-chip--presets { border-color: rgba(20, 241, 149, .35); }
/* owner 30.09: checkboxes in the project's style (not the browser's white box): a dark square with a thin rim, mint
   when ticked with a dark check; the same size everywhere */
body.sol input[type="checkbox"] { -webkit-appearance: none; appearance: none; width: 15px !important; height: 15px !important; min-width: 15px; max-width: 15px; min-height: 15px; max-height: 15px; padding: 0 !important; box-sizing: border-box; aspect-ratio: 1 / 1; margin: 0; flex: 0 0 15px;
  vertical-align: middle; border: 1px solid rgba(255, 255, 255, .28); border-radius: 4px; background: rgba(255, 255, 255, .03) center / 11px 11px no-repeat;
  cursor: pointer; transition: background-color .12s, border-color .12s; }
body.sol input[type="checkbox"]:hover { border-color: var(--sol-green); }
body.sol input[type="checkbox"]:checked { background-color: var(--sol-green); border-color: var(--sol-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%230b0e11' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.sol input[type="checkbox"]:indeterminate { background-color: rgba(20, 241, 149, .35); border-color: var(--sol-green); }
body.sol input[type="checkbox"]:focus-visible { outline: 2px solid rgba(20, 241, 149, .55); outline-offset: 1px; }
body.sol input[type="checkbox"]:disabled { opacity: .35; cursor: default; }
body.sol input[type="checkbox"]:focus { border-color: rgba(255, 255, 255, .28); }
body.sol input[type="checkbox"]:checked:focus, body.sol input[type="checkbox"]:hover:focus { border-color: var(--sol-green); }
/* owner 30.09: on Replay a test's long list of strategies ran over the progress bar: one line, cut with "…" in its own
   cell, the whole list on hover */
body.sol .sol-rp-table td { overflow: hidden; }
body.sol .sol-rp-table .sol-rp-sel { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* owner 30.09: a preset row stands out, its strategies sit under it, indented and quieter */
body.sol .sol-set-row td { background: rgba(20, 241, 149, .045); font-weight: 600; }
body.sol .sol-set-row td .dim { font-weight: 400; }
body.sol .sol-set-kid td { font-size: 12px; color: var(--text-dim); background: transparent; }
body.sol .sol-set-kid td.sol-set-kid__name { padding-left: 28px; border-left: 2px solid rgba(20, 241, 149, .25); }
body.sol .sol-set-kid td .sol-code { opacity: .8; }
body.sol #sol-sets .panel__head { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sol table.sol-sets-table thead th:not(.sol-nosort) { cursor: pointer; }
body.sol table.sol-sets-table thead th.is-sorted::after { content: " ▾"; color: var(--sol-green); }
body.sol table.sol-sets-table thead th.is-sorted.is-asc::after { content: " ▴"; }
/* owner 30.09: the whole system in Health - groups, and the popup scrolls inside */
body.sol .sol-health .sol-heat-pop { max-height: calc(100vh - 90px); overflow-y: auto; overscroll-behavior: contain; }
body.sol .sol-health-table tr.sol-hgroup td { text-align: left; padding-top: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--sol-green); border-bottom: 1px solid var(--border); }
/* owner 30.09: date and time fields - a dark calendar and a clearly visible mint calendar button (it was dark on dark) */
body.sol input[type="date"], body.sol input[type="datetime-local"], body.sol input[type="time"] { color-scheme: dark; }
body.sol input[type="date"]::-webkit-calendar-picker-indicator, body.sol input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body.sol input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: 1; padding: 3px; border-radius: 4px;
  filter: invert(72%) sepia(83%) saturate(475%) hue-rotate(95deg) brightness(104%) contrast(101%); }
body.sol input[type="date"]::-webkit-calendar-picker-indicator:hover, body.sol input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  background-color: rgba(0, 0, 0, .35); }
body.sol .sol-2nd { background: rgba(88, 166, 255, .15); color: #79c0ff; font-size: 11px; }
/* owner 30.09: the big ★ on a strategy's page, next to ◀ ▶ - grey when out, mint when in ★ Favourites */
body.sol .sol-sfav.sol-sfav--big { font-size: 22px; margin: 0 8px 0 0; color: rgba(255, 255, 255, .28); transition: color .15s, transform .15s, text-shadow .15s; }
body.sol .sol-sfav.sol-sfav--big:hover { color: var(--sol-green) !important; transform: scale(1.12); }
body.sol .sol-sfav.sol-sfav--big.on { color: var(--sol-green) !important; text-shadow: 0 0 10px rgba(14, 203, 129, .45); }
body.sol .sol-sfav.sol-sfav--big:focus-visible { outline: 1px solid var(--sol-green); outline-offset: 3px; border-radius: 3px; }
/* owner 30.09: the Discovery window (header) and the history page */
body.sol .sol-disc-pop { width: min(1040px, calc(100vw - 32px)); max-height: min(78vh, 820px); overflow: auto; padding: 12px 14px; }
body.sol .sol-disc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
body.sol .sol-disc-bar .sol-disc-open { margin-left: auto; }
body.sol .sol-seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; overflow: hidden; }
body.sol .sol-seg__b { padding: 3px 10px; font-size: 12px; color: var(--text-dim, #8b949e); text-decoration: none; border-right: 1px solid rgba(255, 255, 255, .08); }
body.sol .sol-seg__b:last-child { border-right: 0; }
body.sol .sol-seg__b:hover { color: #e6edf3; background: rgba(255, 255, 255, .04); }
body.sol .sol-seg__b.is-on { color: #0b0f14; background: var(--sol-green); font-weight: 600; }
body.sol .sol-disc-scope { font-size: 12px; padding: 3px 6px; }
body.sol .sol-disc-sum { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: 12.5px; padding: 6px 2px 8px; border-bottom: 1px solid rgba(255, 255, 255, .06); margin-bottom: 4px; }
body.sol .sol-disc-sum i { font-style: normal; color: var(--text-dim, #8b949e); }
body.sol .sol-disc-st--took b { color: var(--sol-green); }
body.sol .sol-disc-panel--pop .sol-disc-scroll { max-height: min(58vh, 620px); overflow: auto; }
body.sol table.sol-disc-table { table-layout: fixed; width: 100%; }
body.sol table.sol-disc-table col.sol-disc-mid { width: 28px; }
body.sol table.sol-disc-table td { vertical-align: top; }
body.sol table.sol-disc-table td.sol-disc-mid { text-align: center; color: var(--sol-green); padding-left: 0; padding-right: 0; }
body.sol table.sol-disc-table td[data-chart-url] { cursor: pointer; }
body.sol table.sol-disc-table tr.sol-disc-pair td.sol-disc-l, body.sol table.sol-disc-table tr.sol-disc-pair td.sol-disc-r { background: rgba(14, 203, 129, .06); }
body.sol table.sol-disc-table tr.sol-disc-cut td { border-top: 2px solid rgba(14, 203, 129, .35); }
body.sol .sol-disc-coin { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sol .sol-disc-badge { display: inline-block; width: 18px; text-align: center; }
body.sol .sol-disc-foot, body.sol .sol-disc-more { padding-top: 6px; }
@media (max-width: 720px) { body.sol .sol-disc-coin { white-space: normal; } }
/* owner 30.09: no text past the right edge - the two columns share the width and wrap */
body.sol .sol-disc-pop table.sol-disc-table { min-width: 0 !important; width: 100% !important; }
body.sol .sol-disc-pop table.sol-disc-table td, body.sol .sol-disc-pop table.sol-disc-table th { white-space: normal !important; overflow: hidden; overflow-wrap: anywhere; }
body.sol .sol-disc-panel .sol-disc-scroll { overflow-x: hidden; }
body.sol table.sol-disc-table td.sol-disc-l, body.sol table.sol-disc-table td.sol-disc-r { width: 50%; }
/* owner 30.09: the "Daily replay" switch (list ⟳, strategy page) and Replay's "Paper" buttons */
body.sol .sol-daily { display: inline-block; margin-right: 6px; font-size: 12px; line-height: 1; color: rgba(255, 255, 255, .14); cursor: pointer; vertical-align: middle; }
body.sol tr:hover .sol-daily { color: rgba(255, 255, 255, .32); }
body.sol .sol-daily:hover { color: var(--sol-green) !important; }
body.sol .sol-daily.on { color: var(--sol-green) !important; }
body.sol .sol-daily.sol-daily--big { font-size: 12px; padding: 4px 9px; margin-right: 6px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; color: var(--text-dim, #8b949e); }
body.sol .sol-daily.sol-daily--big.on { border-color: var(--sol-green); background: rgba(14, 203, 129, .1); }
body.sol .sol-daily-last { margin-right: 10px; }
body.sol .sol-paperlink { font-size: 11px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }
body.sol .sol-paperlink.is-off { opacity: .35; cursor: not-allowed; }
body.sol .sol-daily.half { color: rgba(14, 203, 129, .5) !important; }
body.sol .sol-daily.sol-daily--big.half { border-color: rgba(14, 203, 129, .45); }
body.sol .sol-rp-acts .sol-daily { font-size: 15px; margin-right: 8px; }
body.sol .sol-daily-head { margin: 6px 0 2px; display: flex; align-items: center; gap: 8px; }
body.sol h1 .sol-daily-last { font-size: 12px; font-weight: 400; margin-left: 10px; }
/* owner 30.09: the Replay listing's actions stay on one line with the ⟳ added */
body.sol .sol-rp-table td.sol-rp-acts { white-space: nowrap !important; }
body.sol .sol-rp-table td.sol-rp-acts > * { vertical-align: middle; }
body.sol .sol-rp-table td.sol-rp-acts .sol-daily { margin-right: 4px; }
/* owner 30.09: nightly replays - a chip per night */
body.sol .sol-nchips { white-space: nowrap; }
body.sol .sol-nchip { display: inline-block; width: 12px; height: 12px; margin: 0 2px 0 0; border-radius: 3px; vertical-align: middle; background: rgba(255, 255, 255, .08); }
body.sol .sol-nchip.is-plus { background: var(--sol-green); }
body.sol .sol-nchip.is-minus { background: #f6465d; }
body.sol .sol-nchip.is-zero { background: rgba(255, 255, 255, .25); }
body.sol .sol-nchip.is-none { background: transparent; border: 1px dashed rgba(255, 255, 255, .15); }
body.sol .sol-nchip.is-running { opacity: .55; }
/* owner 30.09: nightly page - paper | replay side by side, split chips, the nights of a strategy */
body.sol table.sol-nightly-table thead th:not(.sol-nosort) { cursor: pointer; }
body.sol table.sol-nightly-table thead th.is-sorted::after { content: " ▾"; color: var(--sol-green); }
body.sol table.sol-nightly-table thead th.is-sorted.is-asc::after { content: " ▴"; }
body.sol table.sol-nightly-table .sol-ncol-p { background: rgba(88, 166, 255, .04); }
body.sol table.sol-nightly-table .sol-ncol-r { background: rgba(14, 203, 129, .04); }
body.sol tr.sol-nightly-total td { border-bottom: 2px solid rgba(14, 203, 129, .3); background: rgba(255, 255, 255, .02); }
body.sol .sol-ntog { background: none; border: 0; color: var(--sol-green); cursor: pointer; padding: 0 4px; font-size: 12px; }
body.sol .sol-nlinks { white-space: nowrap; }
body.sol .sol-nlinks .sol-paperlink { margin-left: 0; margin-right: 4px; }
body.sol .sol-nchip2 { display: inline-flex; width: 16px; height: 12px; margin: 0 2px 0 0; border-radius: 3px; overflow: hidden; vertical-align: middle; }
body.sol .sol-nchip2 i { flex: 1; background: rgba(255, 255, 255, .08); }
body.sol .sol-nchip2 i + i { border-left: 1px solid rgba(0, 0, 0, .5); }
body.sol .sol-nchip2 i.is-plus { background: var(--sol-green); }
body.sol .sol-nchip2 i.is-minus { background: #f6465d; }
body.sol .sol-nchip2 i.is-zero { background: rgba(255, 255, 255, .25); }
body.sol .sol-nchip2.is-none { border: 1px dashed rgba(255, 255, 255, .15); }
body.sol .sol-nchip2.is-none i { background: transparent; }
body.sol .sol-nchip2.is-running { opacity: .55; }
body.sol tr.sol-ndetail > td { padding: 4px 8px 10px 28px; background: rgba(255, 255, 255, .015); }
body.sol table.sol-ndetail-table { width: auto; }
/* owner 30.09: the Strategies list - the new-tab arrow in its own narrow column; a Replay button by the star */
body.sol .sol-strat-table th.sol-tabcol, body.sol .sol-strat-table td.sol-tabcol { width: 18px; padding-left: 2px; padding-right: 2px; text-align: center; }
body.sol .sol-strat-table td.sol-tabcol .sol-newtab { margin: 0; }
body.sol .sol-rplink { color: var(--text-dim); text-decoration: none; font-size: 12px; font-weight: 600; padding: 0 3px; margin: 0 2px; border-radius: 3px; vertical-align: middle; }
body.sol .sol-rplink:hover { color: var(--text); background: var(--surface-2, rgba(127,127,127,.15)); }
body.sol .sol-rplink.is-off { opacity: .35; cursor: default; }
body.sol .sol-rplink.is-off:hover { background: none; color: var(--text-dim); }
/* owner 01.10: the strategy card inside the note window (the "i" button is gone) */
body.sol .sol-notebox__card { max-height: calc(100vh - 32px); overflow-y: auto; }
body.sol .sol-notebox__text { min-height: 120px; }
body.sol .sol-notebox__info { border-top: 1px solid var(--border); padding-top: 8px; }
body.sol .sol-notebox__info .sol-card { position: static; width: auto; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; overflow: visible; }
/* owner 01.10: Settings → Interface, the left menu's sections (own classes, this tab only) */
.sol-uim-tabs { margin: 0 0 12px; }
.sol-uim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px 18px; }
.sol-uim-grp { display: flex; flex-direction: column; gap: 2px; }
.sol-uim-glabel { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); padding: 3px 0 5px; border-bottom: 1px solid var(--border); margin-bottom: 3px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.sol-uim-item { display: flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 0 3px 2px; cursor: pointer; }
.sol-uim-item input:disabled + span { color: var(--text-dim); }
.sol-uim-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
/* owner 01.10: the account button at the top right (account.py) and its window - own classes, the header only */
.sol-acct > summary.sol-acct__btn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-panel-2); color: var(--text); font-size: 12px; }
.sol-acct > summary.sol-acct__btn:hover, .sol-acct[open] > summary.sol-acct__btn { border-color: var(--border-strong); background: var(--bg-panel); }
.sol-acct__in { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.sol-acct__mode { font-weight: 600; letter-spacing: .02em; }
.sol-acct__sep { width: 1px; height: 12px; background: var(--border-strong); }
.sol-acct__addr { color: var(--text-dim); }
.sol-acct__connect { color: var(--sol-green); font-weight: 600; }
.sol-acct__chev { color: var(--text-dim); transition: transform .15s; }
.sol-acct[open] .sol-acct__chev { transform: rotate(180deg); }
.sol-acct__live { color: var(--red); font-size: 10px; letter-spacing: .08em; }
/* owner 02.10: live is green - the button's border, and the number of open real positions inside it */
.sol-acct--live > summary.sol-acct__btn { border-color: rgba(20, 241, 149, .7); box-shadow: 0 0 0 2px rgba(20, 241, 149, .14); }
.sol-acct__n { color: var(--sol-green); font-weight: 700; font-variant-numeric: tabular-nums; }
.sol-acct--armed > summary.sol-acct__btn { border-color: rgba(210, 153, 34, .6); }
.sol-acct-pop { width: min(440px, calc(100vw - 24px)); }
.sol-acct-w { display: flex; flex-direction: column; gap: 10px; }
.sol-acct-w__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sol-acct-w__title { font-size: 13px; }
.sol-acct-w__hint { margin: -4px 0 0 !important; }
.sol-acct-state { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.sol-acct-state > .dot { flex: none; margin-top: 4px; }
.sol-acct-state__head { font-weight: 600; margin-bottom: 2px; }
.sol-acct-state--live { border-color: rgba(248, 81, 73, .6); background: rgba(248, 81, 73, .08); }
.sol-acct-state--armed { border-color: rgba(210, 153, 34, .5); background: rgba(210, 153, 34, .07); }
.sol-acct-sec { display: flex; flex-direction: column; gap: 5px; padding-top: 9px; border-top: 1px solid var(--border); }
.sol-acct-sec__h { color: var(--text-dim); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.sol-acct-sec__h .dim { font-weight: 400; letter-spacing: 0; text-transform: none; }
.sol-acct-addr { display: flex; align-items: center; gap: 6px; }
.sol-acct-addr--full { margin: 5px 0; padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); word-break: break-all; }
.sol-acct-bal b { font-size: 16px; }
.sol-acct-ico { padding: 0 3px; border: 0; background: none; color: var(--text-dim); font-size: 12px; text-decoration: none; cursor: pointer; }
.sol-acct-ico:hover { color: var(--sol-green); }
.sol-acct-links, .sol-acct-foot { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; }
.sol-acct-foot { padding-top: 9px; border-top: 1px solid var(--border); }
.sol-acct-own { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sol-acct-disc { margin-left: auto; }
.sol-acct-connect { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sol-acct-cbtn { display: inline-flex; align-items: center; gap: 6px; }
.sol-acct-msg { padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); }
.sol-acct-tx { max-height: 220px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.sol-acct-tx li { display: grid; grid-template-columns: 96px 1fr auto 16px; align-items: center; gap: 8px; padding: 3px 0; border-bottom: 1px dashed rgba(255, 255, 255, .06); font-size: 12px; }
.sol-acct-tx li.dim { display: block; border: 0; }
.sol-acct-tx li.is-bad > span:nth-child(2) { color: var(--red); }
@media (max-width: 700px) { .sol-acct__mode, .sol-acct__sep { display: none; } }
/* owner 01.10: the account window - deposit / withdraw from here */
.sol-acct-balrow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.sol-acct-tabs { display: flex; gap: 6px; }
.sol-acct-tab { flex: 1 1 0; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-panel-2); color: var(--text); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.sol-acct-tab:hover { border-color: var(--border-strong); }
.sol-acct-tab[aria-selected="true"] { border-color: var(--sol-green); color: var(--sol-green); background: rgba(20, 241, 149, .06); }
.sol-acct-pane { display: flex; flex-direction: column; gap: 7px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); }
.sol-acct-pane[hidden] { display: none; }
.sol-acct-pane p { margin: 0 !important; }
.sol-acct-amt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sol-acct-in { width: 110px; padding: 4px 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sol-acct-chip { padding: 2px 9px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-panel-2); color: var(--text-dim); font: inherit; font-size: 11px; cursor: pointer; }
.sol-acct-chip:hover { color: var(--text); border-color: var(--border-strong); }
.sol-acct-go { align-self: flex-start; }
.sol-acct-manual > summary { cursor: pointer; width: max-content; }
/* owner 01.10: the account button is a wallet icon - yellow until the owner's wallet is connected, mint once it is */
.sol-acct__ico { color: var(--amber); flex: none; }
.sol-acct__in.is-on .sol-acct__ico { color: var(--sol-green); }
.sol-acct__in.is-on .sol-acct__addr { color: var(--text); }
.sol-acct__connect { color: var(--amber); }
/* the Real wallet page: its own tabs and the account block in a panel */
.sol-wtabs { display: flex; margin: 0 0 16px; padding-top: 2px; }
.sol-wacct > .panel__body { width: 100%; max-width: none; box-sizing: border-box; }
.sol-wacct .sol-acct-tabs { flex-wrap: wrap; }
.sol-wacct .sol-acct-tab { flex: 0 1 auto; min-width: 132px; }
.sol-wacct .sol-acct-pane { max-width: 680px; }
.sol-wacct .sol-acct-balrow, .sol-wacct .sol-acct-own { flex-wrap: wrap; }
.sol-wacct .sol-acct-addr--full { overflow-wrap: anywhere; min-width: 0; }
@media (max-width: 600px) { .sol-wacct .sol-acct-disc { margin-left: 0; } }
.sol-acct-tx--full { max-height: none; }
/* owner 01.10: every notice box closes with a × */
body.sol .alert.sol-closable { position: relative; padding-right: 30px; }
body.sol .alert > .sol-x { position: absolute; top: 5px; right: 7px; padding: 0 4px; border: 0; background: none; color: inherit; font-size: 16px; line-height: 1; opacity: .55; cursor: pointer; }
body.sol .alert > .sol-x:hover { opacity: 1; }
/* owner 02.10: a sale's buy right under it in the wallet journal */
.sol-acct-tx li.is-paired { border-bottom-style: solid; padding-left: 10px; color: var(--text-dim); }
.sol-acct-tx li.is-paired > span:first-child::before { content: "↳ "; }
/* owner 02.10: paper / real statistics icons next to a strategy (Real pages and the Dashboard) */
body.sol .sol-slinks { display: inline-flex; gap: 2px; vertical-align: middle; }
body.sol .sol-slink { display: inline-flex; padding: 2px; color: rgba(255, 255, 255, .35); border-radius: 3px; }
body.sol .sol-slink:hover { color: var(--sol-green); background: var(--bg-hover); }
body.sol .sol-slink.is-off { opacity: .45; }
/* owner 02.10: the Strategies list - paper / real statistics icons in the new-tab column */
body.sol .sol-strat-table th.sol-tabcol, body.sol .sol-strat-table td.sol-tabcol { width: 36px; }
/* the token page in the real view: the chart over the whole width, our real trades under it */
.sol-token-grid.sol-token-grid--one { grid-template-columns: minmax(0, 1fr); }

/* owner 02.10: hold-to-confirm (hold.js) - STOP ALL goes only after 7 seconds held; a fill runs across meanwhile */
body.sol .sol-hold { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
body.sol .sol-hold::before { content: ""; position: absolute; inset: 0; background: #fff; opacity: .28; transform: scaleX(0);
  transform-origin: left center; transition: transform .2s ease-out; pointer-events: none; }
body.sol .sol-hold.is-holding::before { transform: scaleX(1); transition: transform var(--hold-ms, 7s) linear; }
body.sol .sol-hold > * { position: relative; }
body.sol .sol-hold__txt { font-variant-numeric: tabular-nums; }
body.sol .sol-hold-form, body.sol .sidebar__group--kill form { position: relative; }
body.sol .sol-hold__hint { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 50; padding: 5px 9px; border-radius: 6px; background: #2a3441;
  color: #e6edf3; font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
body.sol .sol-hold__hint.is-on { opacity: 1; }

/* owner 03.10: the market indicator window in the header */
body.sol #sol-heat .sol-ind-pop { width: min(760px, 94vw); max-height: 82vh; overflow-y: auto; }
body.sol .sol-ind { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
body.sol .sol-ind__t th.c, body.sol .sol-ind__t td.c { text-align: center; width: 52px; }
body.sol .sol-ind__t td.c { position: relative; }
body.sol .sol-ind__t td.c input { width: 15px; height: 15px; cursor: pointer; accent-color: var(--sol-green); }
body.sol .sol-ind__foot { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
body.sol .sol-ind__chart { position: relative; height: 210px; margin-top: 6px; }
body.sol .sol-ind__legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 11px; color: var(--text-dim); }
body.sol .sol-ind__legend span { display: inline-flex; align-items: center; gap: 5px; }
body.sol .sol-ind__legend span::before { content: ""; width: 10px; height: 3px; border-radius: 2px; background: var(--c); }
body.sol .sol-ind__dot { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; background: var(--c); vertical-align: 0; }
body.sol .sol-ind__what { margin-left: 16px; }

/* owner 03.10: a strategy's name in every table - line 1 the name, line 2 the code, the copy-id button, the short line */
body.sol .sol-sn { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
body.sol .sol-sn__t { display: flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
body.sol .sol-sn__t .sol-sname { max-width: 240px; color: inherit; }
body.sol .sol-sn__t .sol-sname b { font-weight: 600; }
body.sol .sol-sn__s { display: flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; font-size: 11px; color: var(--text-dim); }
body.sol .sol-sn__s .sol-code { font-size: 10px; }
body.sol .sol-sn__s .sol-sshort { max-width: 220px; margin-left: 2px; overflow: hidden; text-overflow: ellipsis; }
body.sol .sol-sn .sol-copyid { display: inline-flex; align-items: center; padding: 2px; border-radius: 3px; }
body.sol .sol-sn .sol-copyid:hover { background: var(--bg-hover); }
html[data-stratwide="1"] .sol-strat-table .sol-sn .sol-sname, html[data-stratwide="1"] .sol-strat-table .sol-sn .sol-sshort { max-width: none; }

/* owner 03.10: the whole name in one line while it fits (up to ~460 px, then "…"); the name has its own copy button.
   ↔ in a Strategy column head (kept in this browser, every table): the same width, the name and the line wrap downward */
body.sol .sol-sn { max-width: 370px; }  /* owner 03.10: no wider than this (his screenshot) */
body.sol .sol-sn__t .sol-sname { display: block; flex: 0 1 auto; min-width: 0; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.sol .sol-sn__s .sol-sshort { flex: 0 1 auto; min-width: 0; max-width: none; }
body.sol .sol-sn .sol-copyname { opacity: .55; }
body.sol .sol-sn:hover .sol-copyname { opacity: 1; }
/* owner 03.10: each ↔ opens its own table only (Real's two lists: their own classes, scoped to their table) */
html.sol-wide-real #sol-real-table .sol-sn, html.sol-wide-add #sol-add-table .sol-sn { width: 370px; }
html.sol-wide-real #sol-real-table .sol-sn__t, html.sol-wide-real #sol-real-table .sol-sn__s,
html.sol-wide-add #sol-add-table .sol-sn__t, html.sol-wide-add #sol-add-table .sol-sn__s { flex-wrap: wrap; white-space: normal; }
html.sol-wide-real body.sol #sol-real-table .sol-sn .sol-sname, html.sol-wide-real body.sol #sol-real-table .sol-sn .sol-sshort,
html.sol-wide-add body.sol #sol-add-table .sol-sn .sol-sname, html.sol-wide-add body.sol #sol-add-table .sol-sn .sol-sshort { white-space: normal; overflow: visible; text-overflow: clip; }
html.sol-wide-real body.sol #sol-real-table .sol-namecell, html.sol-wide-add body.sol #sol-add-table .sol-namecell { width: 1%; min-width: 0; max-width: none; }
body.sol .sol-colwide { padding: 0 4px; border: 0; border-radius: 3px; background: none; color: var(--text-dim); cursor: pointer; font-size: 12px; }
body.sol .sol-colwide:hover { color: var(--text); background: var(--bg-hover); }
body.sol .sol-colwide.is-on { color: var(--sol-green); }

/* owner 03.10: the filter twins folded on Strategies */
body.sol .sol-twinbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; color: var(--text-dim); }
body.sol .sol-twinbar b { color: var(--text); }
body.sol .sol-variants { flex: none; padding: 0 6px; border: 1px solid var(--border); border-radius: 9px; font-size: 10px; line-height: 16px; color: var(--text-dim); text-decoration: none; }
body.sol .sol-variants:hover { color: var(--sol-green); border-color: var(--sol-green); }

/* owner 03.10: blocks fold from the triangle at the right of their head */
body.sol .sol-foldable > .panel__head { position: relative; padding-right: 40px; }
body.sol .sol-foldable > .panel__head:not(:has(a:hover, button:hover, input:hover, select:hover, label:hover)) { cursor: pointer; }
body.sol .sol-foldbtn { position: absolute; top: 50%; right: 8px; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; margin-top: -12px; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--text-dim); cursor: pointer; }
body.sol .sol-foldbtn:hover { color: var(--text); background: var(--bg-hover, rgba(255, 255, 255, .06)); }
body.sol .sol-foldbtn svg { transition: transform .15s; }
body.sol .panel.is-folded > .panel__head .sol-foldbtn svg { transform: rotate(-90deg); }
body.sol .panel.is-folded > :not(.panel__head) { display: none !important; }
body.sol .panel.is-folded > .panel__head { border-bottom: 0; }

/* owner 03.10: a deploy shows this instead of reloading the page */
body.sol .sol-stale { position: fixed; right: 16px; bottom: 16px; z-index: 900; padding: 6px 12px; border: 1px solid var(--sol-green);
  border-radius: 16px; background: var(--bg-panel, #11161d); color: var(--sol-green); font-size: 12px; cursor: pointer; opacity: .9; }
body.sol .sol-stale:hover { opacity: 1; }

/* owner 04.10: "+ Real" on a paper strategy's page */
body.sol .sol-toreal { position: relative; display: inline-block; }
body.sol .sol-toreal__menu { width: 320px; gap: 8px; padding: 12px; }
body.sol .sol-toreal__row { display: flex; align-items: center; gap: 8px; }
body.sol .sol-toreal__row .sol-num-in { width: 90px; }

/* owner 04.10 (via the Lab): a series that is not an honest check gets a yellow dot (half for "fitted, then honest");
   the kind on hover; a 12 px invisible hit zone around the dot */
body.sol .sol-rpmark { position: relative; display: inline-block; width: 8px; height: 8px; margin: 0 6px 0 2px; border-radius: 50%;
  background: #f0b90b; vertical-align: middle; cursor: help; }
body.sol .sol-rpmark::after { content: ""; position: absolute; inset: -6px; }
body.sol .sol-rpmark--split { background: linear-gradient(90deg, #f0b90b 50%, transparent 50%); box-shadow: inset 0 0 0 1px #f0b90b; }
body.sol .sol-rpmark--old { background: #f0b90b; box-shadow: 0 0 0 2px rgba(240, 185, 11, .25); }
body.sol .sol-rpmark__txt { margin-left: 2px; color: #f0b90b; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* owner 04.10 (via the Lab): Discovery → Deals */
body.sol .sol-disc-tabs { margin: 4px 0 8px; }
body.sol .sol-deal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
body.sol .sol-deal-bar select, body.sol .sol-deal-sid { max-width: 220px; }
body.sol .sol-deal-sum { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 12px; font-size: 13px; }
body.sol .sol-deal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 1100px) { body.sol .sol-deal-cols { grid-template-columns: 1fr; } }
body.sol .sol-deal-colhead { font-weight: 600; margin-bottom: 4px; }
body.sol .sol-deal-row { cursor: pointer; }
body.sol .sol-deal-row td { vertical-align: top; }
body.sol .sol-deal-spk { width: 124px; padding-right: 4px; }
body.sol .sol-deal-spark { display: block; }
body.sol .sol-deal-res { white-space: nowrap; }
body.sol .sol-deal-why { max-width: 150px; }
body.sol .sol-deal-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
body.sol .sol-deal-chip { font-size: 11px; padding: 0 5px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px; color: var(--text-dim, #8b949e); }
body.sol .sol-deal-chip b { color: var(--text, #e6edf3); font-weight: 500; }
body.sol .sol-deal-more summary { cursor: pointer; list-style: none; padding: 0 6px; }
body.sol .sol-deal-more[open] .sol-deal-more__box { position: absolute; right: 16px; z-index: 30; width: min(720px, calc(100vw - 48px));
  max-height: 360px; overflow: auto; padding: 10px; background: var(--bg-panel, #11161d); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; }
body.sol .sol-deal-feats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 12px; margin-top: 8px; }
body.sol .sol-deal-feats i { color: var(--text-dim, #8b949e); font-style: normal; }
body.sol .sol-deal-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* owner 04.10: the header's Discovery window, Deals tab */
body.sol .sol-deal-pop .sol-deal-cols { gap: 10px; }
body.sol .sol-deal-pop .sol-deal-sum { margin: 6px 0 8px; }
body.sol .sol-deal-onebtn { border-radius: 14px; }

/* owner 04.10: live refresh on / off, refresh now, the time of the data - next to the clock */
body.sol .sol-livebar { display: inline-flex; align-items: center; gap: 4px; margin-right: 8px; font-size: 12px; }
body.sol .sol-livebar button { padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: transparent;
  color: var(--text-dim, #8b949e); cursor: pointer; line-height: 1.3; }
body.sol .sol-live__auto.is-on { color: var(--sol-green, #0ecb81); border-color: rgba(14, 203, 129, .5); }
body.sol .sol-live__now:hover, body.sol .sol-live__auto:hover { color: var(--text, #e6edf3); }
body.sol .sol-live__now.is-busy { opacity: .5; cursor: progress; }
body.sol .sol-live__at { color: var(--text-dim, #8b949e); font-variant-numeric: tabular-nums; }

/* owner 04.10: Auto / ↻ stay one line and one height in a narrow header (the Mac wrapped "Auto ○" into two lines) */
body.sol .sol-livebar { flex: none; white-space: nowrap; }
body.sol .sol-livebar button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 22px;
  min-width: 0; margin: 0; padding: 0 8px; white-space: nowrap; font-size: 12px; line-height: 1; flex: none; }
body.sol .sol-live__now { width: 22px; padding: 0 !important; border-radius: 50% !important; }
body.sol .sol-live__at { flex: none; white-space: nowrap; font-size: 12px; }

/* owner 04.10: Mainnet and Trades inside the Health window */
body.sol .sol-health-net { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 10px; font-size: 12px; }
body.sol .sol-health-net .status { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
/* Real funds stay separate from the historic closed-P&L chart. Fixed chart
   space survives refresh while the shared canvas renderer redraws. */
.sol-real-account__metrics { grid-template-columns: minmax(330px, 2fr) repeat(3, minmax(120px, 1fr)); gap: 22px; margin-bottom: 16px; }
.sol-real-account__breakdown { margin: 12px 0 8px; font-size: 12px; }
.sol-real-account__breakdown > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.sol-real-account__breakdown dt { color: var(--text-muted, #8d98a5); }
.sol-real-account__breakdown dd { margin: 0; min-height: 32px; text-align: right; font-variant-numeric: tabular-nums; }
.sol-real-account__breakdown small { display: block; color: var(--text-muted, #8d98a5); }
.sol-real-account__total { border-top: 1px solid var(--border, #29333e); margin-top: 4px; font-weight: 600; }
.sol-real-account__stamp { min-height: 48px; margin-top: 6px; }
.sol-real-account__chartlabel { margin: 8px 0; }
.sol-real-account .equity-wrap { height: 240px; margin-bottom: 8px; }
.sol-real-account .equity-chart { height: 230px; min-height: 0; }
.sol-real-account__empty { position: absolute; top: 40%; left: 0; right: 0; text-align: center; color: var(--text-muted, #8d98a5); }
.sol-open-quote-note { padding: 10px 14px; font-size: 11px; color: var(--text-dim); line-height: 1.5; }
.sol-open-quote-total { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--border); }
.sol-quote-detail { display: block; color: var(--text-dim); font-size: 10px; white-space: nowrap; }
.sol-quote-reason { display: block; max-width: 160px; white-space: normal; color: var(--text-dim); font-size: 10px; }
@media (max-width: 1050px) { .sol-real-account__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sol-real-account__balance { grid-column: 1 / -1; max-width: 600px; } }
@media (max-width: 540px) { .sol-real-account__metrics { grid-template-columns: 1fr; } .sol-real-account__breakdown > div { gap: 6px; } }

/* owner 05.10: the rockets indicator's window (next to Market) */
body.sol #sol-rockets .sol-rk-pop { width: min(620px, 94vw); max-height: 82vh; overflow-y: auto; }
body.sol #sol-rockets .sol-rk__h { margin-top: 12px; }

/* owner 05.10: the rockets indicator's cold hour */
body.sol .dot--cold { background: #58a6ff; }
body.sol .sol-rk__cold { color: #58a6ff; }

/* owner 06.10: the real strategy's controls in one even row - the "$ per entry" label sat above its field (the common
   .sol-trade label is a column) and pushed the field and Set below the buttons */
body.sol .sol-rstrat-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.sol .sol-rstrat-ctl > form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
body.sol .sol-rstrat-ctl label { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
body.sol .sol-rstrat-ctl .btn, body.sol .sol-rstrat-ctl .sol-num-in { height: 28px; box-sizing: border-box; display: inline-flex; align-items: center; margin: 0; }
body.sol .sol-rstrat-ctl .sol-num-in { width: 84px; }

/* owner 06.10: the chart window's "Check it" row - the coin on other sites by its contract */
body.sol .sol-chk { display: inline-flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
body.sol .sol-chk__a, body.sol .sol-chk__copy { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border: 1px solid var(--border);
  border-radius: 4px; background: var(--bg-panel-2, var(--bg-panel)); color: var(--text); font: inherit; font-size: 12px; text-decoration: none; cursor: pointer; white-space: nowrap; }
body.sol .sol-chk__a:hover, body.sol .sol-chk__copy:hover { border-color: var(--accent, #14f195); color: var(--accent, #14f195); }
body.sol .sol-chk__copy { font-family: var(--mono, monospace); color: var(--text-dim); }

/* owner 06.10: the contract in full in the chart window */
body.sol .sol-chk__mint { font-family: var(--mono, monospace); font-size: 12px; color: var(--text); user-select: all; word-break: break-all;
  padding: 3px 8px; border: 1px solid var(--border); border-radius: 4px; background: var(--bg-panel-2, var(--bg-panel)); }
body.sol .sol-chk__copy { color: var(--text); font-family: inherit; }

/* owner 06.10: the rockets window without a sideways scroll - wider, and its long lines wrap inside it */
body.sol #sol-rockets .sol-rk-pop { width: min(860px, 96vw); overflow-x: hidden; }
body.sol #sol-rockets .sol-rk-pop table { width: 100%; table-layout: auto; }
body.sol #sol-rockets .sol-rk-pop th, body.sol #sol-rockets .sol-rk-pop td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
body.sol #sol-rockets .sol-rk-pop td.num, body.sol #sol-rockets .sol-rk-pop th.r, body.sol #sol-rockets .sol-rk-pop .sol-nowrap { white-space: nowrap; overflow-wrap: normal; }
body.sol #sol-rockets .sol-rk-pop .sol-code { white-space: normal; overflow-wrap: anywhere; }

/* owner 07.10: the quick-chart icon before a strategy's name and its small window */
body.sol .sol-sn__s > .sol-spark { flex: 0 0 14px; margin-right: 1px; }
body.sol .sol-spark { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; color: rgba(255, 255, 255, .35); border-radius: 3px; vertical-align: middle; }
body.sol .sol-spark::after { content: ""; position: absolute; inset: -5px -3px -6px -6px; }  /* a wider zone to rest the pointer on */
body.sol .sol-spark:hover, body.sol .sol-spark.is-on { color: var(--sol-green); background: var(--bg-hover); }
body.sol .sol-sparkpop { position: fixed; z-index: 4000; width: 320px; padding: 8px 10px 7px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-panel, #11161b); box-shadow: 0 10px 30px rgba(0, 0, 0, .55); pointer-events: none; font-size: 11px; color: var(--text-dim); }
body.sol .sol-sparkpop[hidden] { display: none; }
body.sol .sol-sparkpop__h { display: flex; justify-content: space-between; gap: 8px; white-space: nowrap; }
body.sol .sol-sparkpop__h b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
body.sol .sol-sparkpop svg { display: block; width: 100%; height: 110px; margin: 5px 0 4px; }
body.sol .sol-sparkpop__f { display: flex; flex-wrap: wrap; gap: 3px 10px; font-variant-numeric: tabular-nums; }
body.sol .sol-sparkpop__f b { font-weight: 600; color: var(--text); }
body.sol .sol-sparkpop .pos { color: var(--sol-green); }
body.sol .sol-sparkpop .neg { color: var(--red); }
body.sol .sol-sparkpop__none { padding: 26px 0; text-align: center; }

/* owner 07.10: the Manager - the cube next to Auto and its window (shadow only) */
body.sol .sol-mgr > summary { display: inline-flex; align-items: center; padding: 3px 5px; }
body.sol .sol-mgr__logo { display: block; width: 18px; height: 18px; filter: grayscale(1) brightness(.75); opacity: .5; transition: filter .15s, opacity .15s; }
body.sol .sol-mgr--on .sol-mgr__logo { filter: none; opacity: 1; }
body.sol .sol-mgr--paused .sol-mgr__logo { filter: hue-rotate(-105deg) saturate(1.5) brightness(1.05); opacity: 1; }
body.sol .sol-mgr > summary:hover .sol-mgr__logo { opacity: 1; }
body.sol .sol-mgr > summary:hover { background: var(--bg-hover); }
body.sol .sol-mgr-pop { width: min(820px, calc(100vw - 32px)); max-height: 84vh; overflow-y: auto; overflow-x: hidden; }
body.sol .sol-mgr__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
body.sol .sol-mgr__top .sol-heat-pop__title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
body.sol .sol-mgr__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
body.sol .sol-mgr__k { flex: 0 0 52px; font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
body.sol .sol-mgr .sol-seg__b { background: none; border-top: 0; border-bottom: 0; border-left: 0; cursor: pointer; }
body.sol .sol-mgr .sol-seg__b.is-on { color: var(--sol-green); background: rgba(61, 220, 151, .10); }
body.sol .sol-mgr__sel { height: 26px; font-size: 12px; background: var(--bg-panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 5px; padding: 0 6px; }
body.sol .sol-mgr__scales { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
body.sol .sol-mgr__scale { border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; font-size: 12px; }
body.sol .sol-mgr__scale b { font-size: 15px; margin-left: 4px; }
body.sol .sol-mgr__scale .sol-small { display: block; margin-top: 3px; line-height: 1.35; }
body.sol .sol-mgr__now { margin: 10px 0 0; font-size: 12px; }
body.sol .sol-mgr__warn { color: #e3b341; }
body.sol .sol-mgr__h { margin-top: 14px; }
body.sol .sol-mgr__tbl { overflow-x: auto; }
body.sol .sol-mgr__tbl table { width: 100%; }
body.sol .sol-mgr__g { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 11px; border: 1px solid var(--border); white-space: nowrap; }
body.sol .sol-mgr__g--work { color: var(--sol-green); border-color: rgba(61, 220, 151, .45); }
body.sol .sol-mgr__g--watch { color: #58a6ff; border-color: rgba(88, 166, 255, .45); }
body.sol .sol-mgr__g--pause { color: #e3b341; border-color: rgba(227, 179, 65, .45); }
body.sol .sol-mgr__g--drop { color: var(--red); border-color: rgba(255, 93, 93, .45); }
body.sol .sol-mgr__keep { display: inline-flex; padding: 6px 10px; margin: -6px -10px; cursor: pointer; }  /* a wide zone to hit */
body.sol .sol-mgr__kind { display: inline-block; min-width: 44px; color: var(--text-dim); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
body.sol .sol-mgr__body.is-busy { opacity: .6; pointer-events: none; }
@media (max-width: 720px) {
  body.sol .sol-mgr__scales { grid-template-columns: 1fr; }
  body.sol .sol-mgr__top { flex-wrap: wrap; }
}

/* owner 07.10: why a transfer in the wallet's log was refused or not sent, under its line */
.sol-acct-tx li .sol-acct-why { display: block; margin-top: 1px; font-size: 11px; line-height: 1.35; color: var(--text-dim); white-space: normal; }

/* owner 07.10: the trading wallet's private key on the Real wallet page - shown for a minute, then wiped */
.sol-acct-key .sol-acct-keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.sol-acct-key .sol-acct-in { width: 220px; }
.sol-acct-keybox { margin-top: 8px; padding: 10px 12px; border: 1px solid rgba(227, 179, 65, .5); border-radius: 6px; background: rgba(227, 179, 65, .06); }
.sol-acct-keybox[hidden] { display: none; }
.sol-acct-keybox code { display: block; font-size: 12px; line-height: 1.5; word-break: break-all; user-select: all; color: var(--text); }
.sol-acct-tx li[hidden] { display: none; }
.sol-acct-more { margin-top: 8px; }

/* owner 07.10: a figure that a click turns between two readings (dollars / percent); html.sol-flip-<key> = the second */
body.sol .sol-flip { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 1px dotted rgba(255, 255, 255, .28); position: relative; }
body.sol .sol-flip::after { content: ""; position: absolute; inset: -6px -8px; }  /* a wider zone to hit */
body.sol .sol-flip.pos { color: var(--sol-green); }
body.sol .sol-flip.neg { color: var(--red); }
body.sol .sol-flip__b, body.sol .sol-flip-h__b { display: none; }
html.sol-flip-estpnl body.sol [data-flip="estpnl"] .sol-flip__a, html.sol-flip-estpnl body.sol .sol-flip-h__a { display: none; }
html.sol-flip-estpnl body.sol [data-flip="estpnl"] .sol-flip__b, html.sol-flip-estpnl body.sol .sol-flip-h__b { display: inline; }

/* owner 07.10: Sensors - the S mark next to a strategy and the Sensors page */
body.sol .sol-sens { position: relative; background: none; border: 0; padding: 0; margin: 0 6px 0 0; font: inherit; font-size: 10px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .14); cursor: pointer; vertical-align: middle; }
body.sol .sol-sens::after { content: ""; position: absolute; inset: -7px -5px; }  /* a wider zone to hit */
body.sol tr:hover .sol-sens { color: rgba(255, 255, 255, .32); }
body.sol .sol-sens:hover { color: var(--sol-green); }
body.sol .sol-sens.sol-sens--core { color: var(--sol-green); }
body.sol .sol-sens.sol-sens--exp { color: #58a6ff; }
body.sol .sol-sens-table td .sol-small { line-height: 1.2; }
body.sol .sol-sens-l { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 11px; border: 1px solid var(--border); white-space: nowrap; }
body.sol .sol-sens-l--core { color: var(--sol-green); border-color: rgba(61, 220, 151, .45); }
body.sol .sol-sens-l--exp { color: #58a6ff; border-color: rgba(88, 166, 255, .45); }
body.sol .sol-sens-add, body.sol .sol-sens-act { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
body.sol .sol-sens-add input { height: 26px; width: 240px; padding: 0 8px; background: var(--bg-panel-2); color: var(--text); border: 1px solid var(--border); border-radius: 5px; font-size: 12px; text-transform: none; }
body.sol .sol-sens-cols { margin-bottom: 14px; }
body.sol .sol-sens-cols > .panel { margin: 0; }
@media (max-width: 1100px) { body.sol .sol-sens-cols { grid-template-columns: 1fr; } }

/* owner 08.10: "x5 today against the week" in the header */
body.sol #sol-x5 .sol-x5-pop { width: min(640px, 96vw); max-height: 82vh; overflow-y: auto; overflow-x: hidden; }
body.sol #sol-x5 .sol-x5-pop table { width: 100%; margin-bottom: 10px; }
body.sol #sol-x5 > summary { gap: 12px; }
body.sol #sol-x5 .sol-x5-item { display: inline-flex; align-items: center; gap: 5px; }
body.sol #sol-x5 .sol-x5-table td .sol-small { line-height: 1.25; white-space: nowrap; }

/* owner 08.10: the SOL price in the header - its hover chart; and the two clocks of the header in one size */
body.sol .sol-solpx { cursor: default; }
body.sol .sol-solpx .num.is-up { color: var(--sol-green); transition: color .2s; }
body.sol .sol-solpx .num.is-down { color: var(--red); transition: color .2s; }
body.sol .sol-sparkpop.sol-solpop { width: 440px; }
body.sol .sol-sparkpop.sol-solpop svg { height: 170px; }
body.sol .sol-solpop__days { display: flex; justify-content: space-between; font-size: 10px; margin: -2px 0 4px; }
body.sol .sol-live__at { font-size: 11px; line-height: 1; font-family: inherit; }
body.sol .sol-topbar .sol-clock__t { font-size: 11px; }

/* owner 08.10: the price scale at the right of the SOL chart */
body.sol .sol-solpop__plot { position: relative; padding-right: 52px; }
body.sol .sol-solpop__ax { position: absolute; right: 0; top: 5px; bottom: 4px; width: 48px; font-size: 10px; font-variant-numeric: tabular-nums; pointer-events: none; }
body.sol .sol-solpop__ax span { position: absolute; left: 4px; transform: translateY(-50%); color: var(--text-dim); white-space: nowrap; }
body.sol .sol-solpop__ax span::before { content: ""; position: absolute; left: -4px; top: 50%; width: 3px; border-top: 1px solid rgba(255, 255, 255, .25); }
body.sol .sol-solpop__ax span.is-now { color: #0b0f13; background: var(--sol-green); border-radius: 3px; padding: 1px 3px; left: 2px; font-weight: 600; z-index: 1; }
body.sol .sol-solpop__ax span.is-now::before { display: none; }

/* owner 08.10: the "steady growth" switch next to Rows on the Strategies page */
body.sol .sol-steadysw { display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; text-transform: none; letter-spacing: 0; font-weight: 400; }
body.sol .sol-steadysw .sol-seg__b.is-on { color: var(--sol-green); background: rgba(61, 220, 151, .10); }

/* owner 08.10: the real wallet by the day */
.sol-acct-days table { width: 100%; }
.sol-acct-days__sum td { border-top: 1px solid var(--border); font-weight: 600; }

/* owner 08.10: a block's move arrows - at the right of its head, left of the fold triangle; seen under the pointer */
body.sol .sol-movebox { position: absolute; top: 50%; right: 36px; display: inline-flex; gap: 2px; margin-top: -11px; padding: 0 2px; border-radius: 6px; background: var(--bg-panel, #11161b); opacity: 0; transition: opacity .12s; z-index: 2; }
body.sol .sol-movebox[hidden] { display: none; }
body.sol .sol-foldable > .panel__head:hover > .sol-movebox, body.sol .sol-movebox:focus-within { opacity: 1; }
body.sol .sol-movebtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 5px; background: none; color: var(--text-dim); font-size: 13px; line-height: 1; cursor: pointer; text-transform: none; }
body.sol .sol-movebtn::after { content: ""; position: absolute; inset: -5px -1px; }  /* a taller zone to hit */
body.sol .sol-movebtn:hover:not(:disabled) { color: var(--sol-green); background: var(--bg-hover, rgba(255, 255, 255, .06)); }
body.sol .sol-movebtn:disabled { opacity: .25; cursor: default; }
body.sol .sol-movebtn[hidden] { display: none; }
@media (hover: none) { body.sol .sol-movebox { opacity: 1; } }
/* owner 08.10: the move arrows have a place of their own - the head keeps room for them at the right (the fold
   triangle, then the arrows, then whatever the block had there), so they no longer show on top of a block's buttons */
body.sol .sol-foldable > .panel__head:has(> .sol-movebox:not([hidden])) { padding-right: 90px; }
body.sol .sol-foldable > .panel__head:has(> .sol-movebox:not([hidden]) > [data-move-reset]:not([hidden])) { padding-right: 114px; }
body.sol .sol-movebox { background: none; }
/* owner 08.10: the move arrows are always seen, dim like the fold triangle (they showed only under the pointer) */
body.sol .sol-movebox { opacity: 1; }
body.sol .sol-movebtn { color: rgba(255, 255, 255, .38); }
/* owner 12.10 (TZ-2026-10-12 E2): the speaker in the header (sound.js): mint when the sound is on, grey with a cross
   when off, dimmed until the browser lets this tab play (a click or a key is needed first); the invisible zone around
   it takes the click too */
body.sol .sol-snd { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; margin-right: 6px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: none; color: var(--sol-green); cursor: pointer; }
body.sol .sol-snd::before { content: ""; position: absolute; inset: -9px -6px; }
body.sol .sol-snd:hover { border-color: var(--border); }
body.sol .sol-snd__off { display: none; }
body.sol.sol-snd-off .sol-snd { color: var(--text-dim); }
body.sol.sol-snd-off .sol-snd__on { display: none; }
body.sol.sol-snd-off .sol-snd__off { display: inline; }
body.sol.sol-snd-wait .sol-snd { opacity: .55; }
/* owner 12.10 (TZ-2026-10-12 I1): the rockets counter, the first block of the X3/X5 window - a line under it */
body.sol #sol-x5 .sol-rkd { margin-bottom: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
/* owner 12.10: the round «i» next to a button - a short note on what the button does (first: STOP ALL in the left
   menu). Common class: <details class="sol-info"><summary class="sol-info__btn">i</summary><div class="sol-info__pop">.
   The invisible zone around the small circle takes the click too. */
body.sol .sidebar__group--kill { display: flex; align-items: center; gap: 8px; }
body.sol .sidebar__group--kill form { flex: 1 1 auto; min-width: 0; }
body.sol .sol-info { position: relative; flex: none; }
body.sol .sol-info__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 1px solid var(--border); border-radius: 50%; color: var(--text-dim); font: italic 700 11px/1 Georgia, "Times New Roman", serif; cursor: pointer; list-style: none; user-select: none; }
body.sol .sol-info__btn::-webkit-details-marker { display: none; }
body.sol .sol-info__btn::before { content: ""; position: absolute; inset: -10px; }
body.sol .sol-info__btn:hover, body.sol .sol-info[open] > .sol-info__btn { color: var(--sol-green); border-color: var(--sol-green); }
body.sol .sol-info__pop { position: fixed; z-index: 80; left: 12px; bottom: 58px; width: min(360px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow-y: auto; padding: 12px 14px; background: #10151b; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 32px rgba(0, 0, 0, .55); font: normal 400 12px/1.45 var(--font); color: var(--text); white-space: normal; text-transform: none; letter-spacing: 0; }
body.sol .sol-info__pop b { font-weight: 600; }
body.sol .sol-info__h { font-weight: 600; margin-bottom: 6px; }
body.sol .sol-info__pop ul { margin: 0 0 10px; padding-left: 18px; }
body.sol .sol-info__pop li { margin-bottom: 5px; }
body.sol .sol-info__pop p { margin: 0; }
:root[data-sidebar="collapsed"] body.sol .sol-info { display: none; }
/* owner 12.10 (TZ-2026-10-12 I2): the conversion indicator's window (the dot "Depth" next to Rockets) */
body.sol #sol-conv .sol-conv-pop { width: min(660px, 96vw); max-height: 82vh; overflow-y: auto; overflow-x: hidden; }
body.sol #sol-conv .sol-conv-table { width: 100%; margin-bottom: 10px; }
body.sol #sol-conv .sol-conv-table td .sol-small { line-height: 1.25; white-space: nowrap; }
body.sol #sol-conv .sol-conv-hist > summary { cursor: pointer; margin-bottom: 6px; }
/* owner 12.10 (TZ-2026-10-12 I3): the Demand indicator's window (the dot "Demand" next to Depth) */
body.sol #sol-demand .sol-demand-pop { width: min(760px, 96vw); max-height: 82vh; overflow-y: auto; overflow-x: hidden; }
body.sol #sol-demand .sol-demand-table { width: 100%; margin-bottom: 10px; }
body.sol #sol-demand .sol-demand-table td .sol-small, body.sol #sol-demand .sol-demand-table th .sol-small { line-height: 1.25; }
body.sol #sol-demand .sol-demand-hist > summary { cursor: pointer; margin-bottom: 6px; }
/* owner 12.10 (TZ-2026-10-12 E1): the user's own left menu - a section's name in the menu's colour, a click folds the
   section; the arrows that move an item show under the pointer, next to the star; the Cockpit's ↺ puts the menu back.
   Each small control has an invisible zone around it. In the collapsed menu (icons only) nothing is folded. */
body.sol .sol-mgrp__label { display: flex; align-items: center; gap: 6px; color: var(--sol-green); cursor: pointer; user-select: none; }
body.sol .sol-mgrp__label::after { content: "▾"; margin-left: auto; font-size: 9px; opacity: .55; }
body.sol .sol-mgrp.is-folded > .sol-mgrp__label::after { content: "▸"; }
body.sol .sol-mgrp.is-folded > .sol-mgrp__label { padding-bottom: 0; opacity: .8; }
body.sol .sol-mgrp.is-folded > .sol-mgrp__items { display: none; }
body.sol .sol-mreset { position: relative; display: none; font-size: 11px; line-height: 1; color: var(--text-dim); cursor: pointer; text-transform: none; }
body.sol .sol-mgrp__label:hover .sol-mreset { display: inline-block; }
body.sol .sol-mreset:hover { color: var(--sol-green); }
body.sol .sol-mreset::before { content: ""; position: absolute; inset: -8px; }
body.sol .sol-mmoves { display: inline-flex; align-items: center; gap: 3px; margin-left: auto; flex-shrink: 0; }
body.sol .sol-mmoves + .sol-fav { margin-left: 0; }
body.sol .sol-mmove { position: relative; display: none; font-size: 8px; line-height: 1; color: rgba(255, 255, 255, .30); cursor: pointer; }
body.sol .sidebar__link:hover .sol-mmove { display: inline-block; }
body.sol .sol-mmove:hover { color: var(--sol-green); }
body.sol .sol-mmove::before { content: ""; position: absolute; inset: -8px -3px; }
:root[data-sidebar="collapsed"] body.sol .sol-mmoves, :root[data-sidebar="collapsed"] body.sol .sol-mreset { display: none; }
:root[data-sidebar="collapsed"] body.sol .sol-mgrp.is-folded > .sol-mgrp__items { display: block; }
/* owner 12.10, after seeing the menu: the second star (pin to the Cockpit) right next to the first (the mark). It is
   lit only when the page is pinned; a marked item that is not pinned shows it dim. Its own invisible zone. */
body.sol .sol-fav { position: relative; }
body.sol .sol-pin { position: relative; padding: 0 2px 0 3px; font-size: 11px; line-height: 1; color: rgba(255, 255, 255, .10); cursor: pointer; transition: color .15s; flex-shrink: 0; }
body.sol .sidebar__link:hover .sol-pin { color: rgba(255, 255, 255, .28); }
body.sol .sidebar__link.is-fav:not(.is-pin) .sol-pin { color: rgba(255, 255, 255, .22); }
body.sol .sol-pin:hover { color: var(--sol-green) !important; }
body.sol .sidebar__link.is-pin .sol-pin { color: var(--sol-green); }
body.sol .sol-fav::before, body.sol .sol-pin::before { content: ""; position: absolute; inset: -9px -1px; }
:root[data-sidebar="collapsed"] body.sol .sol-pin { display: none; }
/* owner 12.10 (TZ-2026-10-12 D1): the pencil next to a strategy's name and its window (stratedit.js). The pencil has
   an invisible zone around it; the window is fixed, over everything but the chart window. */
body.sol .sol-sedit-btn { position: relative; }
body.sol .sol-sedit-btn::before { content: ""; position: absolute; inset: -8px -4px; }
body.sol .sol-sedit-btn:hover { color: var(--sol-green); }
body.sol .sol-sedit { position: fixed; z-index: 95; padding: 12px 14px; background: #10151b; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 14px 36px rgba(0, 0, 0, .6); font-size: 12px; line-height: 1.4; color: var(--text); white-space: normal; text-align: left; }
body.sol .sol-sedit__head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
body.sol .sol-sedit__x { margin-left: auto; padding: 0 6px; border: 0; background: none; color: var(--text-dim); font-size: 16px; line-height: 1; cursor: pointer; }
body.sol .sol-sedit__x:hover { color: var(--text); }
body.sol .sol-sedit__title { margin-bottom: 10px; color: var(--text-dim); overflow-wrap: anywhere; }
body.sol .sol-sedit__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 4px; }
body.sol .sol-sedit__row label { display: inline-flex; align-items: center; gap: 8px; flex: 1 1 240px; }
body.sol .sol-sedit__row input { flex: 1 1 120px; min-width: 100px; height: 26px; padding: 0 8px; font-size: 12px; color: var(--text); background: #0b0e11; border: 1px solid var(--border); border-radius: 5px; }
body.sol .sol-sedit__row input:focus { outline: none; border-color: var(--sol-green); }
body.sol .sol-sedit p { margin: 0 0 12px; }
body.sol .sol-sedit__msg:empty { display: none; }

/* ====== owner 12.10 evening: four remarks on the interface ====== */

/* 1: the lines chart's hover window (compare-chart.js) - a narrow column with "open in a new tab" on the side that faces
   the pointer; the window takes the pointer only while it holds (the pointer rested), as before it does not otherwise */
body.sol .rv-cmp-tip.is-held { pointer-events: auto; border-color: var(--sol-green); }
body.sol .rv-cmp-tip__open { order: 9; flex: none; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; width: 24px; margin: 0 -6px 0 0; color: var(--text-dim); font-size: 12px; line-height: 1; text-decoration: none; border-radius: 3px; }
body.sol .rv-cmp-tip--l .rv-cmp-tip__open { order: -1; margin: 0 0 0 -6px; }
body.sol .rv-cmp-tip.is-held .rv-cmp-tip__open { color: var(--text); }
body.sol .rv-cmp-tip a.rv-cmp-tip__open:hover { color: #04130c; background: var(--sol-green); }

/* 2: the menu - the two stars 3 px apart, the arrows 3 px from the first star (the row's own gap is 9 px), and a name
   never wraps: the arrows keep their place whether shown or not, so nothing moves under the pointer. The invisible
   zones cover the gaps but not each other. */
body.sol .sidebar .sol-fav { padding: 0; }
body.sol .sidebar .sol-pin { padding: 0; margin-left: -6px; }
body.sol .sidebar .sol-mmoves { margin-right: -6px; }
body.sol .sidebar .sol-mmove { display: inline-block; visibility: hidden; }
body.sol .sidebar .sidebar__link:hover .sol-mmove { visibility: visible; }
body.sol .sidebar .sol-mgrp .sidebar__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sol .sidebar .sol-fav::before, body.sol .sidebar .sol-pin::before { inset: -9px -1px; }
body.sol .sidebar .sol-mmove::before { inset: -8px -1px; }

/* 3: the header strip - even gaps: a number after a name stood in a 5-character box (the wide gap inside Market and
   Rockets), the speaker carried its own margin; and the short names */
body.sol .sol-topbar .sol-w5 { min-width: 2ch; text-align: left; }
body.sol .sol-topbar .sol-snd { margin-right: 0; }
body.sol .sol-topbar .sol-clock { margin-right: 0; }
body.sol .sol-topc-btn { flex: none; position: relative; height: 20px; padding: 0 5px; border: 1px solid var(--border); border-radius: 4px; background: none; color: var(--text-dim); font-size: 10px; line-height: 1; cursor: pointer; }
body.sol .sol-topbar .sol-topc-btn { position: sticky; left: 6px; right: 6px; z-index: 3; background: var(--bg-panel); }  /* owner 21.10 A4: stays in view when the strip scrolls */
body.sol .sol-topc-btn::before { content: ""; position: absolute; inset: -8px -4px; }
body.sol .sol-topc-btn:hover { color: var(--text); border-color: var(--border-strong); }
body.sol.sol-topc .sol-topc-btn { color: var(--sol-green); border-color: var(--sol-green); }
body.sol.sol-topc .sol-tlabel { font-size: 0 !important; }
body.sol.sol-topc .sol-tlabel::before { content: attr(data-short); font-size: 11px; }
body.sol.sol-topc .sol-topbar { gap: 10px; }
@media (max-width: 1400px) {
  body.sol.sol-topc-auto .sol-tlabel { font-size: 0 !important; }
  body.sol.sol-topc-auto .sol-tlabel::before { content: attr(data-short); font-size: 11px; }
  body.sol.sol-topc-auto .sol-topbar { gap: 10px; }
  body.sol.sol-topc-auto .sol-topc-btn { color: var(--sol-green); border-color: var(--sol-green); }
}

/* 4: the menu's bottom - the "i" next to EMERGENCY STOP / START ENGINE and LOCK is a square button of the main button's
   colour and height, 2 px from it; the pair has the same small margin on both sides; its zone does not reach past the
   menu's edge (that made the menu scroll sideways). Looks only: the buttons' own handlers are untouched. */
body.sol .sidebar .sidebar__group--kill { padding-left: 8px; padding-right: 8px; }
body.sol .sidebar .sol-killrow, body.sol .sidebar .sol-lockrow { gap: 2px; align-items: stretch; }
body.sol .sidebar .sidebar__group--kill .sol-info { display: flex; align-self: stretch; margin: 0; }
body.sol .sidebar .sidebar__group--kill .sol-info__btn { width: 26px; height: auto; align-self: stretch; border: 1px solid transparent; border-radius: var(--radius); font: italic 700 13px/1 Georgia, "Times New Roman", serif; }
body.sol .sidebar .sidebar__group--kill .sol-info__btn::before { inset: -5px 0; }
body.sol .sidebar .sol-killrow .sol-info__btn { background: var(--red); border-color: var(--red); color: #fff; }
body.sol .sidebar .sol-killrow:has(.sol-engine) .sol-info__btn { background: var(--sol-green); border-color: var(--sol-green); color: #04130c; }
body.sol .sidebar .sol-lockrow .sol-info__btn { background: #ffd166; border-color: #ffd166; color: #201600; }
body.sol .sidebar .sol-lockrow:has(.sol-lockbtn.is-on) .sol-info__btn { background: none; border-color: #ffd166; color: #ffd166; }
body.sol .sidebar .sidebar__group--kill .sol-info__btn:hover, body.sol .sidebar .sidebar__group--kill .sol-info[open] > .sol-info__btn { filter: brightness(1.12); }
body.sol .sidebar .sol-killrow .sol-info__btn:hover, body.sol .sidebar .sol-killrow .sol-info[open] > .sol-info__btn { color: #fff; border-color: var(--red); }
body.sol .sidebar .sol-killrow:has(.sol-engine) .sol-info__btn:hover, body.sol .sidebar .sol-killrow:has(.sol-engine) .sol-info[open] > .sol-info__btn { color: #04130c; border-color: var(--sol-green); }
body.sol .sidebar .sol-lockrow .sol-info__btn:hover, body.sol .sidebar .sol-lockrow .sol-info[open] > .sol-info__btn { color: #201600; border-color: #ffd166; }
body.sol .sidebar .sol-lockrow:has(.sol-lockbtn.is-on) .sol-info__btn:hover { color: #ffd166; }

/* ====== owner 13.10: the menu's one star, grey section names, the sound's window, the Events dot ====== */

/* 2: section names are grey again, as before the Cockpit */
body.sol .sol-mgrp__label { color: var(--text-faint); }

/* 1, 3: one star. Mint when the item is marked; a thin ring when the page is pinned to the Cockpit; a line fills
   under it while the press is held (0.6 s, as solaris.js counts) and flashes when the hold took. Its invisible zone. */
body.sol .sidebar .sol-fav { position: relative; touch-action: none; }
body.sol .sidebar .sol-fav::before { inset: -9px -4px; }
body.sol .sidebar .sol-fav::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: -5px; height: 2px; border-radius: 1px; background: var(--sol-green); transform: scaleX(0); transform-origin: left center; }
body.sol .sidebar .sol-fav.is-holding::after { transform: scaleX(1); transition: transform .6s linear; }
body.sol .sidebar .sol-fav.is-held::after { transform: scaleX(1); opacity: 0; transition: opacity .4s; }
body.sol .sidebar .sidebar__link.is-pin .sol-fav { outline: 1px solid currentColor; outline-offset: 2px; border-radius: 50%; }
body.sol .sidebar .sidebar__link:not(.is-fav) .sol-fav { color: rgba(255, 255, 255, .10); }
body.sol .sidebar .sidebar__link:not(.is-fav):hover .sol-fav { color: rgba(255, 255, 255, .28); }
body.sol .sidebar .sidebar__link:not(.is-fav).is-pin .sol-fav { color: rgba(255, 255, 255, .34); }

/* hints that show at once (data-tip; solaris.js) */
body.sol .sol-tip { position: fixed; z-index: 120; max-width: 320px; padding: 4px 8px; background: #05080b; border: 1px solid var(--border-strong); border-radius: 4px; color: var(--text); font-size: 11px; line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }

/* 6: the Events dot in the header */
body.sol .sol-ev { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
body.sol .sol-ev::before { content: ""; position: absolute; inset: -8px -4px; }
body.sol .sol-ev .dot { margin: 0; background: #4a5561; box-shadow: none; }
body.sol.sol-ev-new .sol-ev .dot { background: var(--sol-green); box-shadow: 0 0 6px rgba(20, 241, 149, .8); }

/* 5, 6: the two small windows of sound.js */
body.sol .sol-sndpop { position: fixed; z-index: 96; max-height: calc(100vh - 80px); overflow-y: auto; padding: 12px 14px; background: #10151b; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 14px 36px rgba(0, 0, 0, .6); font-size: 12px; line-height: 1.4; color: var(--text); }
body.sol .sol-sndpop--snd { width: min(400px, calc(100vw - 24px)); }
body.sol .sol-sndpop--ev { width: min(620px, calc(100vw - 24px)); }
body.sol .sol-sndpop__head { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; }
body.sol label.sol-sndpop__head { cursor: pointer; }
body.sol .sol-sndpop__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 28px; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
body.sol .sol-sndpop__row.is-off { opacity: .5; }
body.sol .sol-sndpop__row label { cursor: pointer; white-space: nowrap; }
body.sol .sol-sndpop__play { position: relative; width: 26px; height: 22px; padding: 0; border: 1px solid var(--border); border-radius: 4px; background: none; color: var(--sol-green); font-size: 10px; cursor: pointer; }
body.sol .sol-sndpop__play::before { content: ""; position: absolute; inset: -5px; }
body.sol .sol-sndpop__play:hover { border-color: var(--sol-green); }
body.sol .sol-sndpop p { margin: 10px 0 0; }
body.sol .sol-ev__row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
body.sol .sol-ev__row.is-new .sol-ev__t { color: var(--sol-green); }
body.sol .sol-ev__what { overflow-wrap: anywhere; }
body.sol .sol-ev__act { display: inline-flex; gap: 4px; white-space: nowrap; }
/* owner 13.10, after seeing the one star: no ring around a pinned page's star - a pinned page's star is yellow
   (--amber) instead, marked or not; the item's name stays mint when it is marked and plain when it is not */
body.sol .sidebar .sidebar__link.is-pin .sol-fav { outline: none; }
body.sol .sidebar .sidebar__link.is-pin .sol-fav, body.sol .sidebar .sidebar__link.is-pin:hover .sol-fav,
body.sol .sidebar .sidebar__link.is-pin .sol-fav:hover { color: var(--amber) !important; }

/* owner 20.10: the public site's wordmark in place of the SOLARIS text (hidden with the collapsed menu as the text was) */
:root:not([data-sidebar="collapsed"]) body.sol .sidebar__name { display: flex; align-items: center; min-height: 20px; }
body.sol .sidebar__name .r4-four { color: #21e021; } body.sol .sidebar__name .r4-dot { color: #e0201d; } /* owner 20.10: RADAR in white, the 4 in green */

/* owner 27.10: the Temp window (thermometer + SPEKTR) */
body.sol .sol-temp-pop { width: min(760px, calc(100vw - 32px)); max-height: min(80vh, 820px); overflow: auto; padding: 12px 14px; }
body.sol .sol-temp-pop .sol-temp-key td { font-weight: 600; }
body.sol .sol-temp-pop .sol-temp-spektr { margin-top: 14px; }

/* owner 28.10: the real positions open now, in the account window */
body.sol .sol-acct-open__t { width: 100%; margin-top: 4px; }
body.sol .sol-acct-open__t td { padding: 3px 4px; font-size: 12px; vertical-align: middle; }
body.sol .sol-acct-open__s { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* owner 28.10: Saved coins - the header star, its list and the chart window's ☆ (radar4's market-shell.css in this
   site's colours); every small control has an invisible hit zone around it */
body.sol .sol-saved { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; margin: 0 4px; border: 1px solid var(--border); border-radius: 8px; background: none; color: var(--text-dim); cursor: pointer; flex: 0 0 auto; }
body.sol .sol-saved::before { content: ""; position: absolute; inset: -8px; }
body.sol .sol-saved:hover { color: var(--green); border-color: var(--green); }
body.sol .sol-saved.has-items { color: var(--green); border-color: rgba(14, 203, 129, .45); }
body.sol .sol-saved svg { display: block; }
body.sol .sol-saved__n { position: absolute; top: -5px; right: -5px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: var(--green); color: #07130c; font-size: 9px; line-height: 14px; font-weight: 700; text-align: center; }
body.sol .r4-saved { position: fixed; top: 64px; right: 16px; left: auto; bottom: auto; margin: 0; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 88px); padding: 0; border: 1px solid var(--border); border-radius: 12px; background: #0f161d; color: var(--text); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); z-index: 120; }
body.sol .r4-saved::backdrop { background: rgba(0, 0, 0, .45); }
body.sol .r4-saved__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
body.sol .r4-saved__head h2 { font-size: 14px; margin: 0; color: var(--text); }
body.sol .r4-saved__close { position: relative; width: 28px; height: 28px; border: 0; border-radius: 7px; background: none; color: var(--text-dim); font: inherit; font-size: 15px; cursor: pointer; }
body.sol .r4-saved__close:hover { background: #1a2530; color: var(--text); }
body.sol .r4-saved__list { max-height: calc(100vh - 210px); overflow: auto; padding: 4px 10px 10px; }
body.sol .r4-saved__row { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-bottom: 1px solid #1a2530; }
body.sol .r4-saved__row:last-child { border-bottom: 0; }
body.sol .r4-saved__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
body.sol .r4-saved__meta b { font-size: 12px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sol .r4-saved__meta span { font-size: 10px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sol .r4-saved__meta i { font-size: 9px; color: #5f7080; font-style: normal; font-family: ui-monospace, monospace; }
body.sol .r4-saved__x { position: relative; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: #5f7080; cursor: pointer; font: inherit; font-size: 11px; flex: 0 0 auto; }
body.sol .r4-saved__x::before { content: ""; position: absolute; inset: -6px; }
body.sol .r4-saved__x:hover { background: rgba(255, 107, 107, .12); color: #ff9b9b; }
body.sol .r4-saved__empty { padding: 24px 18px; margin: 0; color: var(--text-dim); font-size: 12px; line-height: 1.55; text-align: center; }
body.sol .r4-saved__hint { margin: 0; padding: 9px 14px; border-top: 1px solid var(--border); color: #5f7080; font-size: 10px; }
body.sol .r4-saved .btn { flex: 0 0 auto; }
.modal__save { position: relative; width: 30px; height: 30px; border: 1px solid var(--border); border-radius: 8px; background: none; color: var(--text-dim); font: inherit; font-size: 15px; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.modal__save::before { content: ""; position: absolute; inset: -6px; }
.modal__save:hover { color: var(--text); border-color: #3a5265; }
.modal__save.is-on { color: var(--green); border-color: rgba(14, 203, 129, .5); background: rgba(14, 203, 129, .08); }
@media (max-width: 800px) { body.sol .r4-saved { right: 8px; top: 56px; width: calc(100vw - 16px); max-height: calc(100vh - 72px); } body.sol .r4-saved__list { max-height: calc(100vh - 180px); } }
body.sol .r4-saved:not([open]) { display: none; }
body.sol .r4-saved[open] { display: flex; flex-direction: column; }

/* owner 28.10: the Real pages' notice when there is no trading wallet / the own wallet is not connected */
body.sol .sol-real-nowallet { margin: 10px 0 14px; padding: 10px 14px; border: 1px solid rgba(240, 185, 11, .45); border-radius: 8px; background: rgba(240, 185, 11, .08); color: var(--text); font-size: 13px; line-height: 1.5; }
body.sol .sol-real-nowallet a { color: var(--green); }
/* owner 05.11: inside Catapult a thin grey line between the Real Regime items and the Paper Regime ones */
body.sol .sidebar__link[data-mkey="catapult"]:not([data-mcopy]) { margin-top: 5px; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
/* owner 07.11: terminal.css gives every table row a hand on hover, so rows that do nothing looked clickable: the hand only where a click does something */
body.sol tbody tr:hover { cursor: default; }
body.sol tbody tr[data-href]:hover, body.sol tbody tr[data-chart-url]:hover { cursor: pointer; }
