@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/google-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #161616; --panel: #1e1e1e; --panel2: #2a2a2a; --box: #2b2b2b; --border: #2e2e2e; --text: #e3e3e3; --muted: #8a8a8a;
  --hover: #2c2c2c; --accent: #22c55e; --accent-ink: #0b1a10; --blue: #2962ff; --up: #089981; --down: #f23645;
  --shadow: 0 8px 28px rgba(0,0,0,.55); --icon: #c9c9c9;
}
body[data-theme="light"] {
  --bg: #f4f4f5; --panel: #ffffff; --panel2: #eef0f2; --box: #eef0f2; --border: #e2e4e8; --text: #18181b; --muted: #71717a;
  --hover: #eceef1; --icon: #3f3f46; --shadow: 0 8px 28px rgba(0,0,0,.15);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--text);
  font: 13px "Google Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Ubuntu, sans-serif; user-select: none; }
button { font: inherit; color: inherit; }
svg { display: block; }
.hidden { display: none !important; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.up { color: var(--up); } .dn { color: var(--down); }

/* ---------- top bar ---------- */
#top { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 6px; background: var(--panel); border-bottom: 1px solid var(--border); }
.tb-left, .tb-right { display: flex; align-items: center; gap: 2px; }
.tb-right { justify-content: flex-end; }
.tb-center { display: flex; align-items: center; gap: 8px; }
.ib { width: 34px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 4px; background: transparent; cursor: pointer; color: var(--icon); padding: 0; }
.ib svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ib:hover { background: var(--hover); color: var(--text); }
.ib.on { color: var(--accent); }
.ib.green { color: var(--accent); }
.ib.sm { width: 24px; height: 24px; }
.ib.sm svg { width: 16px; height: 16px; }
.box { height: 30px; display: inline-flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; border: 1px solid transparent; border-radius: 3px; background: var(--box); cursor: pointer; color: var(--text); font-size: 13.5px; white-space: nowrap; min-width: 90px; justify-content: space-between; }
.box:hover { border-color: #444; }
.box .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
#symBox { min-width: 150px; font-weight: 600; }
.badge { font-size: 11.5px; padding: 4px 10px; border-radius: 3px; background: var(--box); color: var(--muted); margin-right: 6px; cursor: pointer; white-space: nowrap; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.badge.live { color: var(--accent); }
.badge.live::before { content: '● '; }
.badge.demo { color: #f59e0b; }

.dd { position: relative; }
.menu { position: absolute; top: 36px; left: 0; z-index: 30; min-width: 200px; background: var(--panel); border-radius: 4px; box-shadow: var(--shadow); padding: 4px 0; display: none; border: 1px solid var(--border); max-height: 70vh; overflow-y: auto; }
.dd.open .menu { display: block; }
.dd.up .menu { top: auto; bottom: 34px; }
.tb-center .menu { left: 50%; transform: translateX(-50%); }
.menu .mi { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 14px; cursor: pointer; white-space: nowrap; }
.menu .mi:hover { background: var(--hover); }
.menu .mi.active { color: var(--accent); }
.menu .mh { padding: 8px 14px 4px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.menu hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }
.tf-menu { min-width: 170px; }

/* ---------- layout ---------- */
#body { display: flex; height: calc(100% - 44px - 34px); }
#tools { width: 40px; flex: none; background: var(--panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding-top: 6px; gap: 2px; overflow-y: auto; scrollbar-width: none; }
#tools .ib { width: 30px; height: 30px; }
#tools .ib svg { width: 19px; height: 19px; stroke-width: 1.5; }
#tools .ib.on { background: var(--accent); color: var(--accent-ink); }
#tools .ib.tog.on { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
#tools .tsep { width: 18px; height: 1px; background: var(--border); margin: 6px 0; flex: none; }
#center { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; }
#chart { flex: 1; position: relative; min-height: 0; }
#brand { position: absolute; left: 8px; bottom: 34px; font-size: 12.5px; color: var(--muted); pointer-events: none; z-index: 2; }
#right { width: 290px; flex: none; background: var(--panel); border-left: 1px solid var(--border); display: flex; flex-direction: column; overflow-y: auto; }

/* ---------- bottom bar ---------- */
#bottom { height: 34px; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 0; background: var(--panel); border-top: 1px solid var(--border); }
.corner { width: 40px; height: 34px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--accent); border-right: 1px solid var(--border); }
.corner svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fb { height: 26px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 0; border-radius: 3px; background: transparent; cursor: pointer; color: var(--text); white-space: nowrap; }
.fb svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fb:hover { background: var(--hover); }
.fb.sm { font-size: 12px; color: var(--muted); }
.fb.on { color: var(--accent); }
.toggles { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tg { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border: 0; background: transparent; cursor: pointer; color: var(--text); white-space: nowrap; border-radius: 3px; font-size: 12.5px; }
.tg:hover { background: var(--hover); }
.tg i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--muted); position: relative; flex: none; }
.tg.on i { border-color: var(--accent); }
.tg.on i::after { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); }
.clock { color: var(--muted); font-size: 12px; margin: 0 10px; font-variant-numeric: tabular-nums; cursor: pointer; }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; }
.switch input { display: none; }
.switch i { width: 30px; height: 16px; border-radius: 8px; background: #555; position: relative; transition: background .15s; }
.switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .15s; }
.switch input:checked + i { background: var(--accent); }
.switch input:checked + i::after { left: 16px; }

/* ---------- watchlist ---------- */
.wl-head { padding: 10px 12px 6px; font-weight: 600; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.wl-head:first-child { border-top: 0; }
.wl-cols, .wl-row { display: grid; grid-template-columns: 1.1fr 1fr .8fr .8fr; padding: 0 12px; align-items: center; }
.wl-cols { color: var(--muted); font-size: 11px; height: 24px; }
.wl-cols span:not(:first-child), .wl-row span:not(:first-child) { text-align: right; }
.wl-row { height: 32px; cursor: pointer; font-variant-numeric: tabular-nums; }
.wl-row:hover { background: var(--hover); }
.wl-row.active { background: rgba(34,197,94,.1); }
.wl-row .s { font-weight: 600; }
.flash-up { animation: fu .5s; } .flash-dn { animation: fd .5s; }
@keyframes fu { from { background: rgba(8,153,129,.35); } } @keyframes fd { from { background: rgba(242,54,69,.35); } }
#details { padding: 12px; border-top: 1px solid var(--border); }
#details .big { font-size: 26px; font-weight: 600; font-variant-numeric: tabular-nums; }
#details .name { font-weight: 600; font-size: 15px; }
#details .desc { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
#details .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 10px; font-size: 12px; }
#details .grid span:nth-child(odd) { color: var(--muted); }
#details .grid span:nth-child(even) { text-align: right; font-variant-numeric: tabular-nums; }
.range-bar { height: 4px; background: var(--panel2); border-radius: 2px; position: relative; margin: 10px 0 4px; }
.range-bar i { position: absolute; top: -3px; width: 2px; height: 10px; background: var(--text); }
#alerts { padding: 0 12px 12px; font-size: 12px; }
.alert-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); }
.alert-row button { background: none; border: 0; color: var(--muted); cursor: pointer; }

/* ---------- chart overlays ---------- */
.chart-root { position: relative; overflow: hidden; touch-action: none; }
.chart-root canvas { position: absolute; left: 0; top: 0; display: block; }
.chart-over { cursor: crosshair; }
.legends { position: absolute; left: 0; top: 0; pointer-events: none; }
.legend { position: absolute; left: 8px; font-size: 13px; white-space: nowrap; }
.lg-main { display: flex; gap: 10px; align-items: center; height: 22px; }
.lg-sym { font-weight: 600; font-size: 13px; color: var(--text); }
.lg-ohlc { color: var(--text); font-variant-numeric: tabular-nums; }
.lg-ohlc b { font-weight: 400; margin: 0 8px 0 1px; }
.lg-ohlc.up b { color: var(--lg-up, #a78bfa); } .lg-ohlc.dn b { color: var(--lg-dn, #a78bfa); }
.lg-ind { display: flex; gap: 8px; align-items: center; height: 21px; color: var(--muted); pointer-events: auto; width: max-content; padding-right: 6px; border-radius: 3px; }
.lg-ind .lg-name { color: var(--text); cursor: default; }
.lg-ind b { font-weight: 400; font-variant-numeric: tabular-nums; }
.lg-ind.off { opacity: .45; }
.lg-btns { display: none; gap: 2px; }
.lg-ind:hover { background: color-mix(in srgb, var(--bg) 85%, transparent); }
.lg-ind:hover .lg-btns { display: inline-flex; }
.lg-btns button { width: 22px; height: 20px; border: 0; background: transparent; border-radius: 3px; cursor: pointer; color: var(--text); font-size: 12px; padding: 0; }
.lg-btns button:hover { background: var(--hover); }

#drawbar { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 15; display: flex; align-items: center; gap: 2px; padding: 4px; background: var(--panel); border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow); }
#drawbar .sw { width: 20px; height: 20px; border-radius: 3px; border: 2px solid transparent; cursor: pointer; }
#drawbar .sw.sel { border-color: var(--text); }
#drawbar select { background: var(--panel2); color: var(--text); border: 0; border-radius: 3px; height: 28px; padding: 0 4px; }
#drawbar .btn { height: 28px; padding: 0 8px; border: 0; background: transparent; border-radius: 3px; cursor: pointer; display: inline-flex; align-items: center; }
#drawbar .btn:hover { background: var(--hover); }
#drawbar .btn.on { color: var(--accent); }
#drawbar .btn svg { width: 20px; height: 20px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 50; display: flex; align-items: center; justify-content: center; }
.dialog { width: 540px; max-width: calc(100vw - 32px); max-height: 84vh; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.dialog.wide { width: 680px; }
.dialog h3 { margin: 0; padding: 14px 20px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.dialog h3 button { background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--muted); }
.dialog .search { margin: 12px 20px; height: 34px; border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 3px; padding: 0 12px; font: inherit; outline: none; }
.dialog .search:focus { border-color: var(--accent); }
.dialog .list { overflow-y: auto; padding-bottom: 8px; }
.dialog .item { padding: 8px 20px; cursor: pointer; display: flex; justify-content: space-between; }
.dialog .item:hover, .dialog .item.hl { background: var(--hover); }
.dialog .item small { color: var(--muted); }
.dialog .form { padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; align-items: center; overflow-y: auto; }
.dialog .form input, .dialog .form select { height: 30px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 0 8px; font: inherit; width: 100%; }
.dialog .form input[type=color] { padding: 2px; width: 60px; }
.dialog .foot { padding: 12px 20px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; border-top: 1px solid var(--border); }
.pbtn { height: 32px; padding: 0 16px; border-radius: 3px; border: 1px solid var(--border); background: transparent; cursor: pointer; }
.pbtn:hover { background: var(--hover); }
.pbtn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

/* settings dialog */
.tabs { display: flex; gap: 2px; padding: 0 20px; border-bottom: 1px solid var(--border); }
.tabs button { border: 0; background: none; padding: 10px 12px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.on { color: var(--text); border-bottom-color: var(--accent); }
.sgrid { padding: 14px 20px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px 14px; align-items: center; overflow-y: auto; }
.sgrid .sh { grid-column: 1 / -1; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.sgrid input[type=color] { width: 44px; height: 26px; padding: 0; border: 1px solid var(--border); border-radius: 3px; background: none; cursor: pointer; }
.sgrid input[type=range] { width: 110px; accent-color: var(--accent); }
.sgrid input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 0; }
.preset { border: 1px solid var(--border); border-radius: 4px; padding: 6px 10px 6px 6px; display: flex; align-items: center; gap: 8px; cursor: pointer; background: transparent; }
.preset:hover { border-color: var(--accent); }
.preset span.sw { width: 34px; height: 22px; border-radius: 2px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.preset span.sw b { width: 5px; height: 14px; border-radius: 1px; display: block; }

.ctx { position: fixed; z-index: 60; background: var(--panel); border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow); padding: 4px 0; min-width: 230px; }
.ctx .mi { padding: 7px 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; }
.ctx .mi small { color: var(--muted); }
.ctx .mi:hover { background: var(--hover); }
.ctx hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }
.toast { position: fixed; left: 50%; bottom: 60px; transform: translateX(-50%); background: var(--panel); border: 1px solid var(--border); padding: 10px 18px; border-radius: 4px; box-shadow: var(--shadow); z-index: 70; font-size: 14px; }
.text-edit { position: absolute; z-index: 40; background: var(--panel); color: var(--text); border: 1px solid var(--accent); border-radius: 3px; padding: 4px 8px; font: 14px "Google Sans", sans-serif; outline: none; }

/* connect wizard */
.steps { display: flex; gap: 6px; padding: 12px 20px 0; flex-wrap: wrap; font-size: 12px; }
.steps span { padding: 4px 10px; border-radius: 12px; background: var(--panel2); color: var(--muted); }
.steps span.cur { background: var(--accent); color: var(--accent-ink); }
.steps span.done { color: var(--accent); }
.wz { padding: 4px 20px 12px; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; }
.wz p, .wz ol { line-height: 1.5; margin: 10px 0; }
.wz ol { padding-left: 20px; }
.wz a { color: var(--accent); }
.wz .form { padding: 4px 0; grid-template-columns: 110px 1fr; }
.wz .search { margin: 12px 0 8px; }
.wz .list { margin: 0 -20px; max-height: 46vh; }
.copy { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.copy code { background: var(--bg); border: 1px solid var(--border); padding: 4px 8px; border-radius: 3px; user-select: all; }
.copy .btn { height: 26px; padding: 0 10px; border: 1px solid var(--border); background: transparent; border-radius: 3px; cursor: pointer; }
.err { color: var(--down); min-height: 1em; margin: 6px 0 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chips:empty { display: none; }
.chip { border: 1px solid var(--border); background: transparent; border-radius: 14px; padding: 3px 10px; cursor: pointer; font-size: 12px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips.sel .chip.on { background: rgba(34,197,94,.14); color: var(--accent); }
.pk-list .item { align-items: center; gap: 12px; }
.pk-list .item small, .dialog .item small { margin-left: 6px; }
.pk-list input { vertical-align: middle; margin-right: 6px; accent-color: var(--accent); }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: var(--panel2); color: #f59e0b; }
.tag.live { color: var(--accent); }
.acct { display: flex; justify-content: space-between; align-items: center; padding: 14px; margin-top: 10px; border: 1px solid var(--border); border-radius: 4px; font-size: 15px; }
.keys { padding: 12px 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; overflow-y: auto; }
.keys kbd { background: var(--panel2); border: 1px solid var(--border); border-radius: 3px; padding: 1px 6px; font: 12px monospace; white-space: nowrap; }

@media (max-width: 1000px) {
  #top { grid-template-columns: auto 1fr auto; }
  #rangeDD, #fitBtn, #undoBtn, #redoBtn { display: none; }
  .badge { max-width: 140px; }
}
@media (max-width: 700px) {
  #acctBtn, #shotBtn, #setBtn, #panelBtn { display: none; }
  #symBox { min-width: 100px; } .box { min-width: 70px; }
  .toggles, .switch span, .clock { display: none; }
}
#drawbar svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- login ---------- */
.login-page { overflow: auto; }
.login-top { grid-template-columns: 1fr auto 1fr; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding-left: 6px; }
.badge .lock { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; display: inline-block; vertical-align: -2px; margin-right: 6px; }
.login-wrap { min-height: calc(100% - 44px - 34px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; gap: 16px; }
.login-card { width: 100%; max-width: 380px; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.login-card h1 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.login-card p { margin: 0 0 18px; line-height: 1.45; }
.login-card label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.login-card input { height: 40px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 0 12px; font: inherit; font-size: 14px; outline: none; }
.login-card input:focus { border-color: var(--accent); }
.login-card input.otp { font-size: 24px; letter-spacing: 12px; text-align: center; font-variant-numeric: tabular-nums; height: 52px; }
.login-card .err { margin: 8px 0 6px !important; font-size: 12.5px; }
.pbtn.wide { width: 100%; height: 40px; font-size: 14px; }
.pbtn:disabled { opacity: .6; cursor: default; }
.login-links { display: flex; justify-content: space-between; margin-top: 14px; }
.linkbtn { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font-size: 12.5px; }
.linkbtn:disabled { color: var(--muted); cursor: default; }
.login-foot { font-size: 12px; text-align: center; }
#bottom.login-bottom { padding: 0 14px; position: fixed; bottom: 0; left: 0; right: 0; }
.menu .mi.user { color: var(--muted); cursor: default; font-size: 12px; }
.menu .mi.user:hover { background: transparent; }

/* bottom bar: reset icon + time zone dropdown */
.fb.icon { width: 30px; padding: 0; justify-content: center; color: var(--icon); }
.fb.icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dd.up.right .menu { left: auto; right: 0; min-width: 210px; }
#tzBtn { gap: 4px; margin-right: 2px; }
#tzBtn .clock { margin: 0; }
#tzBtn .chev { width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 1.8; }
.alerts-dlg { padding: 8px 20px 16px; overflow-y: auto; }

/* data feed badge: green pill when live */
.badge.live { background: rgba(34,197,94,.16); color: var(--accent); border: 1px solid rgba(34,197,94,.35); font-weight: 600; }
.badge.live::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 7px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.badge.demo { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.3); }

/* chart loading overlay */
.loader { position: absolute; inset: 0 0 28px 0; z-index: 12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(1.5px); pointer-events: none; color: var(--muted); font-size: 13px; }
.loader i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fb.icon.on { color: var(--accent); background: rgba(34,197,94,.12); }

/* bottom bar indicator chips */
.tg-wrap { display: inline-flex; align-items: center; border-radius: 3px; }
.tg-wrap:hover { background: var(--hover); }
.tg-wrap .tg:hover { background: transparent; }
.tg-set { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 0; background: transparent; color: var(--icon); cursor: pointer; border-radius: 3px; margin-right: 3px; padding: 0; }
.tg-set svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tg-set:hover { color: var(--text); }
.tg.add { color: var(--accent); }

/* indicator settings */
.ind-form { grid-template-columns: 170px 1fr; }
.ind-form input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); }
.tfchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tfchips .chk { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; font-size: 12px; }
.tfchips .chk input { width: 14px !important; height: 14px !important; margin: 0; }
.tfchips .chk:has(input:checked) { border-color: var(--accent); color: var(--accent); }
.sess-wrap { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.sess-wrap .sh { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sess-row { display: flex; align-items: center; gap: 8px; }
.sess-row .s-name { width: 120px !important; }
.sess-row input[type=time] { width: 112px !important; }
.sess-row .s-color { width: 40px !important; padding: 1px !important; }
.sess-row .s-del { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.sess-row .s-del:hover { color: var(--down); }
.sess-wrap .pbtn.sm { align-self: flex-start; height: 28px; padding: 0 12px; }
body[data-theme="dark"] input[type=time]::-webkit-calendar-picker-indicator { filter: invert(.8); }
.legend { text-shadow: 0 0 3px var(--bg), 0 0 3px var(--bg), 0 0 6px var(--bg); }

/* ---------- multi-chart layouts ---------- */
#charts { flex: 1; min-height: 0; display: grid; gap: 3px; background: var(--border); }
#charts.l-1 { grid-template: 1fr / 1fr; }
#charts.l-2v { grid-template: 1fr / 1fr 1fr; }
#charts.l-2h { grid-template: 1fr 1fr / 1fr; }
#charts.l-3v { grid-template: 1fr / 1fr 1fr 1fr; }
#charts.l-3l { grid-template: 1fr 1fr / 2fr 1fr; }
#charts.l-3l .cell:first-child { grid-row: 1 / 3; }
#charts.l-4 { grid-template: 1fr 1fr / 1fr 1fr; }
.cell { position: relative; min-width: 0; min-height: 0; background: var(--bg); display: flex; }
.cell .chart-host { flex: 1; position: relative; min-width: 0; min-height: 0; }
.cell.active::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--accent); pointer-events: none; z-index: 13; }
#layoutDD .menu, .layout-menu { left: auto; right: 0; min-width: 0; }
.layout-grid { display: grid; grid-template-columns: repeat(3, 40px); gap: 6px; padding: 4px 10px 8px; }
.layout-grid .lay { width: 40px; height: 34px; border: 1px solid var(--border); border-radius: 4px; background: transparent; cursor: pointer; color: var(--icon); display: flex; align-items: center; justify-content: center; }
.layout-grid .lay:hover { border-color: var(--muted); }
.layout-grid .lay.on { border-color: var(--accent); color: var(--accent); }
.layout-grid svg, #layoutBtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#bottom { padding-left: 6px; }
#brand { font-weight: 600; letter-spacing: .02em; }
.ind-head { padding: 14px 20px 0; font-weight: 600; }
.st-body { overflow-y: auto; min-height: 0; }

/* ---------- trading: header buttons ---------- */
.tsep-h { width: 1px; height: 22px; background: var(--border); margin: 0 6px; }
.tbtn { height: 28px; padding: 0 12px; border-radius: 4px; border: 1px solid transparent; cursor: pointer; font-weight: 600; font-size: 12.5px; margin-right: 4px; }
.tbtn.buy { background: rgba(8,153,129,.15); color: #22c55e; border-color: rgba(8,153,129,.4); }
.tbtn.sell { background: rgba(242,54,69,.13); color: #f87171; border-color: rgba(242,54,69,.4); }
.tbtn.buy:hover { background: rgba(8,153,129,.28); } .tbtn.sell:hover { background: rgba(242,54,69,.25); }

/* ---------- trading side panel ---------- */
.tpanel { width: 340px; flex: none; background: var(--panel); border-left: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; font-size: 12.5px; }
.tp-head { display: flex; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.tp-tabs { display: flex; gap: 2px; flex: 1; }
.tp-tabs button, .tp-sub button { border: 0; background: transparent; color: var(--muted); padding: 6px 10px; border-radius: 4px; cursor: pointer; font-weight: 600; }
.tp-tabs button.on, .tp-sub button.on { color: var(--text); background: var(--hover); }
.tp-sub { display: flex; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.tp-body { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.tp-body.list { gap: 6px; }
.tp-foot { padding: 10px 12px; border-top: 1px solid var(--border); }
.tp-empty { padding: 24px 12px; text-align: center; color: var(--muted); line-height: 1.8; }
.tp-filters { display: flex; gap: 6px; padding: 8px 12px 0; }
.tp-filters select, .tk-acc, .tpanel select, .tpanel input[type=number] { height: 30px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 0 8px; font: inherit; min-width: 0; }
.tp-filters select { flex: 1; }
.tpanel input:focus, .tpanel select:focus { border-color: var(--accent); outline: none; }
.tk-acc { width: 100%; }
.tk-info { font-size: 11.5px; min-height: 14px; }
.tk-sym { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.tk-quote { display: flex; gap: 6px; align-items: center; font-variant-numeric: tabular-nums; }
.q-sell { color: #f87171; font-weight: 600; } .q-buy { color: #22c55e; font-weight: 600; } .q-spread { color: var(--muted); font-size: 11px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.seg button { height: 32px; border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 4px; cursor: pointer; font-weight: 600; }
.seg button.on { color: var(--text); border-color: var(--accent); background: rgba(34,197,94,.08); }
.seg.side button { height: 38px; font-size: 14px; }
.seg.side button.on.buy { background: #089981; border-color: #089981; color: #fff; }
.seg.side button.on.sell { background: #f23645; border-color: #f23645; color: #fff; }
.tk-f { display: grid; grid-template-columns: 1fr 140px; align-items: center; gap: 8px; }
.tk-f.chk { grid-template-columns: 18px 1fr 140px; }
.tk-f.chk input[type=checkbox] { accent-color: var(--accent); }
.tk-f > span { color: var(--muted); }
.tk-f input:disabled { opacity: .4; }
.tk-size { display: grid; grid-template-columns: 1fr 70px; gap: 4px; }
.tk-zone { display: flex; flex-direction: column; gap: 8px; padding: 8px; border: 1px dashed rgba(168,85,247,.5); border-radius: 6px; }
.tk-hint { font-size: 11px; line-height: 1.45; margin: 0; }
.tk-copy { border: 1px solid var(--border); border-radius: 6px; padding: 8px; }
.tk-copy summary { cursor: pointer; font-weight: 600; }
.tk-copy[open] summary { margin-bottom: 8px; }
.cp-tpl { display: flex; gap: 6px; margin-bottom: 8px; }
.cp-tpl select { flex: 1; }
.cp-row { display: grid; grid-template-columns: 1fr 86px 62px; gap: 4px; align-items: center; padding: 3px 0; }
.cp-row label { display: flex; gap: 6px; align-items: center; overflow: hidden; white-space: nowrap; }
.cp-row input[type=checkbox] { accent-color: var(--accent); }
.live { color: #f59e0b; font-weight: 700; }
.tk-preview table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tk-preview th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px 0; }
.tk-preview td { padding: 3px 0; border-top: 1px solid var(--border); }
.tk-preview tr.bad td { color: var(--muted); }
.place { width: 100%; height: 42px; border: 0; border-radius: 6px; font-weight: 700; font-size: 14px; color: #fff; cursor: pointer; }
.place.buy { background: #089981; } .place.sell { background: #f23645; }
.place:disabled { opacity: .45; cursor: default; }
.pos { border: 1px solid var(--border); border-left: 3px solid var(--border); border-radius: 6px; padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; }
.pos.buy { border-left-color: #089981; } .pos.sell { border-left-color: #f23645; }
.pos-top { display: flex; align-items: center; gap: 6px; }
.pos-top .pnl, .hist .pnl { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.pos-mid { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.tag-side { font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.tag-side.buy { background: rgba(8,153,129,.18); color: #22c55e; } .tag-side.sell { background: rgba(242,54,69,.18); color: #f87171; }
.tag-grp { font-size: 10.5px; padding: 1px 6px; border-radius: 3px; background: rgba(41,98,255,.18); color: #60a5fa; }
.tag-st { font-size: 10.5px; padding: 1px 6px; border-radius: 3px; background: var(--panel2); margin-left: auto; }
.tag-st.armed { color: #a855f7; } .tag-st.fired { color: #22c55e; } .tag-st.error { color: #f87171; }
.pos-act { display: flex; gap: 4px; flex-wrap: wrap; }
.pos-act button { height: 24px; padding: 0 9px; border: 1px solid var(--border); background: transparent; color: var(--text); border-radius: 4px; cursor: pointer; font-size: 11.5px; }
.pos-act button:hover { background: var(--hover); }
.pos-act button.danger, .pbtn.danger { color: #f87171; border-color: rgba(242,54,69,.45); }
.pos-edit { display: flex; gap: 6px; align-items: center; }
.pos-edit label { display: flex; gap: 4px; align-items: center; color: var(--muted); }
.pos-edit input { width: 82px; height: 26px !important; }
.tp-tot { display: flex; gap: 10px; align-items: center; padding: 8px 12px 0; font-weight: 700; }
.grp-tg { margin-left: auto; font-weight: 400; color: var(--muted); display: flex; gap: 5px; align-items: center; }
.grp-tg input { accent-color: var(--accent); }
.hist { border-bottom: 1px solid var(--border); padding: 6px 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.hist > div:first-child { display: flex; gap: 6px; align-items: center; }
.hist-sum { font-weight: 600; padding-bottom: 4px; }
.cf-body { padding: 14px 20px; }
.cf-big { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cf-big.buy { color: #22c55e; } .cf-big.sell { color: #f87171; }
table.cf { width: 100%; border-collapse: collapse; }
table.cf td { padding: 5px 0; border-top: 1px solid var(--border); }
@media (max-width: 900px) { .tpanel { position: fixed; right: 0; top: 44px; bottom: 34px; z-index: 40; box-shadow: var(--shadow); } .tbtn { padding: 0 8px; } }
.tk-f { grid-template-columns: 1fr 172px; }
.tk-f.chk { grid-template-columns: 18px 1fr 172px; }
.tk-size { grid-template-columns: 1fr 64px; }

/* OHLC readout: bottom-right of the main pane, faded, values in label colour */
.legends { inset: 0; }
.lg-ohlc-br { position: absolute; font-size: 11.5px; color: var(--muted); opacity: .6; pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lg-ohlc-br b { font-weight: 400; color: inherit; margin-right: 8px; }
.tfrows .sess-row { gap: 10px; }
.tfrows .chk { width: 70px; display: inline-flex; gap: 6px; align-items: center; }
.tfrows .r-n, .tfrows .r-d { width: 90px !important; }

/* drawing toolbar: favourites + category flyouts */
#tools .ib.cat { position: relative; }
#tools .ib .cat-arrow { position: absolute; right: 1px; bottom: 1px; width: 9px; height: 9px; cursor: pointer; }
#tools .ib .cat-arrow::after { content: ''; position: absolute; right: 1px; bottom: 1px; border-style: solid; border-width: 0 0 5px 5px; border-color: transparent transparent var(--muted) transparent; }
#tools .ib.cat:hover .cat-arrow::after { border-bottom-color: var(--text); }
#tools .ib.fav { color: var(--text); }
.tool-fly { position: fixed; z-index: 70; min-width: 250px; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; box-shadow: var(--shadow); padding: 4px 0; }
.tool-fly .mh { padding: 6px 12px 4px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tool-fly .tf-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 12px; cursor: pointer; }
.tool-fly .tf-row:hover { background: var(--hover); }
.tool-fly .tf-row.active { color: var(--accent); }
.tool-fly .tf-row svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tool-fly .tf-row span { flex: 1; }
.tool-fly .tf-row small { color: var(--muted); font-size: 11px; }
.tool-fly .star { border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--muted); width: 26px; height: 26px; border-radius: 4px; }
.tool-fly .star:hover { background: var(--panel2); }
.tool-fly .star.on { color: #f5b301; }
/* workspaces menu */
.ws-menu { min-width: 280px; }
.ws-menu .ws-row { justify-content: flex-start; gap: 8px; padding-right: 6px; }
.ws-menu .ws-chk { width: 12px; flex: none; color: var(--accent); }
.ws-menu .ws-name { flex: 1; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.ws-menu .ws-meta { color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; max-width: 90px; }
.ws-menu .ws-act { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 2px 5px; border-radius: 3px; visibility: hidden; }
.ws-menu .ws-row:hover .ws-act { visibility: visible; }
.ws-menu .ws-act:hover { color: var(--text); background: var(--hover); }
.ws-menu .ws-hint { padding: 4px 14px 6px; font-size: 11px; color: var(--muted); }
#wsLabel { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.login-card input + label { margin-top: 14px; }
/* data feed switcher (admin) */
#feedDD .menu { left: auto; right: 0; top: 30px; min-width: 280px; }
#feedDD .badge.click { cursor: pointer; }
.feed-menu .mi small { color: var(--muted); }
[hidden] { display: none !important; }
/* users dialog */
.users-tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.users-tbl th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.users-tbl td { padding: 7px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.users-tbl tr.off td { opacity: .5; }
.users-tbl .acts { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
.users-tbl .tag { font-size: 11px; }
.user-new { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.user-new input { flex: 1 1 160px; } .user-new input, .user-new select { height: 30px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 0 8px; font: inherit; min-width: 0; }
.user-new label { display: flex; gap: 6px; align-items: center; white-space: nowrap; font-size: 12.5px; }
.symmap { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; align-items: center; margin: 8px 0 4px; font-size: 12.5px; }
.symmap input { height: 28px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 0 8px; font: inherit; }
/* clock / chart time zone */
#tzBtn, #tzBtn .clock { color: var(--icon); }
#tzBtn:hover, #tzBtn:hover .clock { color: var(--text); }
#tzMenu { position: fixed; top: auto; left: auto; bottom: 36px; right: 8px; min-width: 320px; padding: 0; overflow: hidden; display: none; flex-direction: column; max-height: min(70vh, 560px); }
#tzDD.open #tzMenu { display: flex; }
#tzMenu .tz-search { padding: 8px; border-bottom: 1px solid var(--border); }
#tzMenu .tz-search input { width: 100%; height: 30px; box-sizing: border-box; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 3px; padding: 0 10px; font: inherit; outline: none; }
#tzMenu .tz-search input:focus { border-color: var(--accent); }
#tzMenu .tz-list { overflow-y: auto; padding: 4px 0; }
#tzMenu .mi { padding: 5px 14px; }
.dd.up { color: inherit; } .dd.up .menu { color: var(--text); }
/* ================= admin panel ================= */
body.adm { overflow-y: auto; height: 100%; display: flex; flex-direction: column; }
.adm-top { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.adm-top .brand-mark { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.adm-top .brand-mark b { color: var(--accent); font-weight: 600; }
.adm-me { font-size: 12.5px; }
.adm-body { flex: 1; display: flex; min-height: 0; }
.adm-nav { width: 200px; flex: none; padding: 12px 8px; border-right: 1px solid var(--border); background: var(--panel); display: flex; flex-direction: column; gap: 2px; }
.adm-nav button { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px; border: 0; border-radius: 4px; background: transparent; color: var(--text); font: inherit; cursor: pointer; text-align: left; }
.adm-nav button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--icon); }
.adm-nav button:hover { background: var(--hover); }
.adm-nav button.on { background: var(--hover); color: var(--accent); }
.adm-nav button.on svg { color: var(--accent); }
.adm-main { flex: 1; min-width: 0; padding: 20px 28px 48px; max-width: 1200px; }
.adm-main h1 { font-size: 20px; font-weight: 600; margin: 0 0 16px; }
.adm-main h2 { font-size: 15px; font-weight: 600; margin: 26px 0 10px; }
.adm-main p { margin: 6px 0; line-height: 1.45; }
.adm-main a { color: var(--accent); }
.adm-warn { background: rgba(242,54,69,.12); border: 1px solid rgba(242,54,69,.4); color: var(--text); padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; }
.adm-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.adm-card { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 16px; }
.adm-card.wide { grid-column: 1 / -1; }
.adm-card h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 500; }
.adm-card .big { font-size: 26px; font-weight: 600; margin-bottom: 4px; text-transform: capitalize; }
.adm-card .pbtn { margin-top: 8px; }
.adm-tbl { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--panel); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.adm-tbl th { text-align: left; color: var(--muted); font-weight: 500; padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.adm-tbl td { padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.adm-tbl tr:last-child td { border-bottom: 0; }
.adm-tbl tr.off td { opacity: .5; }
.adm-tbl tr.hl td { background: rgba(34,197,94,.06); }
.adm-tbl td.mono { font-family: Consolas, ui-monospace, monospace; font-size: 11.5px; word-break: break-all; }
.adm-tbl.act td { font-size: 12px; padding: 6px 10px; }
.adm-bar, .adm-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.adm-in { height: 32px; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 4px; padding: 0 10px; font: inherit; outline: none; min-width: 0; }
.adm-in:focus { border-color: var(--accent); }
input.adm-in { flex: 0 1 260px; }
.adm-chk { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 13px; }
.adm-copy { display: inline-flex; align-items: center; gap: 8px; }
.adm-copy code { background: var(--bg); border: 1px solid var(--border); padding: 3px 8px; border-radius: 3px; font-size: 12px; }
.adm-step { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; margin-top: 14px; }
.adm-step.off { opacity: .55; }
.adm-step h2 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.adm-step h2 span { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.adm-pick { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: 4px; padding: 8px 10px; background: var(--bg); }
.adm-dlg { overflow-y: auto; padding: 4px 20px 8px; }
.adm-sec { padding: 10px 0; border-bottom: 1px solid var(--border); }
.adm-sec:last-of-type { border-bottom: 0; }
.adm-sec h4 { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 500; }
.adm-sec .adm-row label { width: 60px; color: var(--muted); font-size: 12.5px; }
.adm-syms { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; margin-top: 8px; }
.adm-acts { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) {
  .adm-body { flex-direction: column; }
  .adm-nav { width: auto; flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .adm-main { padding: 16px; }
  .adm-tbl { display: block; overflow-x: auto; }
  .adm-me, #pwBtn { display: none; }
}

.ind-item { align-items: center; }
.ind-item .ind-r { display: inline-flex; align-items: center; gap: 6px; }
.ind-item.added > span:first-child { color: var(--accent); }
