/* Trading Assistant S0 mockup. One light theme. All colours and spacing are tokens here. */
:root {
  --bg: #f4f6f9; --surface: #ffffff; --line: #d9dee6; --line-soft: #e8ecf1; --ink: #1c2430; --ink-2: #5a6678; --ink-3: #8b95a5;
  --accent: #1d4ed8; --accent-ink: #ffffff; --focus: #1d4ed8;
  /* state chips: each state has its own hue, none reused for another meaning */
  --st-idea: #78869a; --st-planned: #2563eb; --st-waiting: #b7791f; --st-open: #4f46e5; --st-partial: #0d9488;
  --rs-kept: #0e7490; --rs-research: #4d7c0f; --rs-failed-bg: #fdecef;
  --st-closed: #334155; --st-cancelled: #8d6e63; --st-never: #9333ea;
  /* result colours (numbers only) */
  --pos: #15803d; --neg: #b91c1c; --warn: #be185d; --err-bg: #fdecef; --err-ink: #9b1c2e;
  --banner-bg: #1f2937; --banner-ink: #ffffff;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --ctl-h: 28px; --radius: 6px; --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --fs: 13px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: var(--fs)/1.4 var(--font); }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: 16px; } h2 { font-size: 14px; } h3 { font-size: 13px; color: var(--ink-2); }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

.demo-banner { background: var(--banner-bg); color: var(--banner-ink); padding: 4px var(--sp-4); font-size: 12px; position: sticky; top: 0; z-index: 30; display: flex; gap: var(--sp-2); align-items: center; }
.demo-banner strong { letter-spacing: .08em; border: 1px solid #fff; padding: 0 6px; border-radius: 3px; }
.top { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: var(--sp-4); padding: 0 var(--sp-4); height: 44px; position: sticky; top: 26px; z-index: 20; }
.brand { font-weight: 700; white-space: nowrap; }
.nav { display: flex; gap: var(--sp-1); height: 100%; }
.nav a { display: flex; align-items: center; padding: 0 var(--sp-3); color: var(--ink-2); border-bottom: 2px solid transparent; }
.nav a:hover { text-decoration: none; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.top .spacer { flex: 1; }
.top label { display: flex; align-items: center; gap: var(--sp-2); color: var(--ink-2); white-space: nowrap; }

main { padding: var(--sp-4); max-width: 1480px; margin: 0 auto; }
.page-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); flex-wrap: wrap; }
.page-head .grow { flex: 1; }
.row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.row.top-align { align-items: flex-start; }
.grid2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-4); align-items: start; }
.grid-eq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); }
.card + .card { margin-top: var(--sp-3); }
.card > header { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-2); flex-wrap: wrap; }
.card > header .grow { flex: 1; }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); }
.pos { color: var(--pos); } .neg { color: var(--neg); }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
html[dir=rtl] .num { text-align: left; } /* numeric columns sit at the end side of the cell in both directions */
.ltr, .tickchip, .tk, .moment { direction: ltr; unicode-bidi: isolate; }
html[dir=rtl] svg.flip { transform: scaleX(-1); } /* direction icons mirror in RTL */
.en { direction: ltr; text-align: left; unicode-bidi: isolate; } /* original English demo text: always an LTR left-aligned block */
.nowrap { white-space: nowrap; }

/* controls */
.btn { display: inline-flex; align-items: center; gap: 5px; height: var(--ctl-h); padding: 0 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; white-space: nowrap; }
.btn:hover { background: #eef2f7; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #1a43b8; }
.btn.danger { color: var(--neg); border-color: #e3b4b9; }
.btn.icon { padding: 0 7px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg, .chip svg { width: 14px; height: 14px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
input[type=text], input[type=date], input[type=number], select, textarea { height: var(--ctl-h); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 8px; }
select { padding-inline: 8px 4px; }
textarea { height: auto; padding: 5px 8px; resize: vertical; width: 100%; }
input[disabled], select[disabled], textarea[disabled] { background: #f1f3f6; color: var(--ink-2); }
input.err, select.err, textarea.err { border-color: var(--neg); }
.field { display: flex; flex-direction: column; gap: 2px; }
.field > label, .lbl { font-size: 11px; color: var(--ink-2); text-transform: none; }
.field.grow { flex: 1; min-width: 160px; }
.errmsg { color: var(--err-ink); font-size: 11px; min-height: 14px; }
.errmsg:empty { display: none; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { height: calc(var(--ctl-h) - 2px); border: 0; background: var(--surface); padding: 0 10px; cursor: pointer; border-inline-end: 1px solid var(--line); white-space: nowrap; }
.seg button:last-child { border-inline-end: 0; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* chips and badges */
.chip { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; background: var(--st-idea); }
.st-Idea { background: var(--st-idea); } .st-Planned { background: var(--st-planned); } .st-Waiting { background: var(--st-waiting); }
.st-Open { background: var(--st-open); } .st-Partial { background: var(--st-partial); } .st-Closed { background: var(--st-closed); }
.st-Cancelled { background: var(--st-cancelled); } .st-NeverTriggered { background: var(--st-never); }
.badge { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 3px; font-size: 11px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); white-space: nowrap; }
.badge.stale { color: var(--warn); border-color: var(--warn); font-weight: 600; }
.badge.paper { color: var(--ink); border-color: var(--ink); border-style: dashed; font-weight: 600; }
.badge.partial { color: var(--ink-2); border-style: dashed; }
.badge.due { color: #fff; background: var(--warn); border-color: var(--warn); }

/* tables */
table { border-collapse: collapse; width: 100%; }
th, td { padding: 5px 8px; border-bottom: 1px solid var(--line-soft); text-align: start; vertical-align: middle; }
th { font-size: 11px; font-weight: 600; color: var(--ink-2); background: #f8f9fb; position: sticky; top: 0; white-space: nowrap; }
th .q { color: var(--ink-3); font-weight: 400; }
th.fit, td.fit { width: 1%; white-space: nowrap; }
th.r, td.r { text-align: end; }
tr.click { cursor: pointer; } tr.click:hover td { background: #f3f6fb; }
tr.dim td { color: var(--ink-3); }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* skeleton, empty, error */
.skel { height: 12px; border-radius: 3px; background: linear-gradient(90deg, #e7ebf1 25%, #f3f5f8 50%, #e7ebf1 75%); background-size: 200% 100%; animation: sh 1.2s infinite; margin: 8px 0; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4); color: var(--ink-2); border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-err { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2) var(--sp-3); background: var(--err-bg); color: var(--err-ink); border-radius: var(--radius); }
.nodata { color: var(--ink-3); padding: var(--sp-3) 0; }

/* research */
.feed-item { padding: var(--sp-2) 0; border-bottom: 1px solid var(--line-soft); }
.feed-item:last-child { border-bottom: 0; }
.feed-item .meta { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; color: var(--ink-2); font-size: 12px; }
.tk { font-weight: 700; }
.tickchip { display: inline-block; padding: 0 6px; border: 1px solid var(--line); border-radius: 3px; font-weight: 600; font-size: 11px; background: #f8f9fb; cursor: pointer; }
.zone-below { color: var(--ink-2); } .zone-in { font-weight: 600; } .zone-above { color: var(--ink-2); }

/* chart */
.chart { width: 100%; height: auto; display: block; background: var(--surface); }
.chart text { font-size: 10px; fill: var(--ink-2); font-family: var(--font); }
.legend { display: flex; gap: var(--sp-3); font-size: 11px; color: var(--ink-2); align-items: center; flex-wrap: wrap; }
.legend i { display: inline-block; width: 14px; height: 0; border-top: 2px solid; vertical-align: middle; margin-inline-end: 4px; }
.lv { display: flex; align-items: center; gap: var(--sp-2); padding: 3px 0; border-bottom: 1px solid var(--line-soft); }
.lv .l { flex: 1; } .lv .p { width: 70px; text-align: end; font-variant-numeric: tabular-nums; }
.lv.pick-stop { background: #fff4f5; } .lv.pick-t1 { background: #eef5ff; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: var(--sp-3) 0 var(--sp-2); flex-wrap: wrap; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 12px; cursor: pointer; color: var(--ink-2); }
.tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.he { direction: rtl; text-align: start; font-size: 14px; line-height: 1.6; border-inline-start: 3px solid var(--line); padding: 2px 10px; unicode-bidi: isolate; }
.he-meta { font-size: 11px; color: var(--ink-2); margin-top: 6px; }

/* plan editor */
.grp { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-3); background: var(--surface); margin-bottom: var(--sp-3); }
.grp > h3 { margin-bottom: var(--sp-2); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; display: flex; align-items: center; gap: 6px; }
.derived { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.derived b { font-weight: 600; }
.lock { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.lock svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.sticky-actions { position: sticky; bottom: 0; background: var(--bg); padding: var(--sp-2) 0; border-top: 1px solid var(--line); display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
.audit { font-size: 12px; color: var(--ink-2); } .audit li { padding: 1px 0; }

/* board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); align-items: start; }
.col { background: #eceff4; border-radius: var(--radius); padding: var(--sp-2); min-height: 120px; }
.col > h2 { display: flex; align-items: center; gap: var(--sp-2); padding: 4px 4px var(--sp-2); }
.pos-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-2); }
.pos-card .kv { display: grid; grid-template-columns: repeat(3, auto); gap: 2px var(--sp-4); margin: var(--sp-2) 0; justify-content: start; }
.pos-card .kv span { display: block; font-size: 11px; color: var(--ink-2); } .pos-card .kv b { font-weight: 600; font-variant-numeric: tabular-nums; }
.strip { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; padding: var(--sp-2) var(--sp-3); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--sp-3); }
.strip .sl { color: var(--ink-2); font-size: 11px; }

/* stats */
.kpis { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 10px; }
.kpi span { display: block; font-size: 11px; color: var(--ink-2); } .kpi b { font-size: 15px; font-variant-numeric: tabular-nums; }
.kpis.grey .kpi { opacity: .5; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(15, 23, 42, .4); z-index: 50; display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.modal { background: var(--surface); border-radius: 8px; padding: var(--sp-4); min-width: 340px; max-width: 560px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.modal h2 { margin-bottom: var(--sp-3); }
.modal .actions { display: flex; gap: var(--sp-2); justify-content: flex-end; margin-top: var(--sp-3); }
.toast { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); background: var(--banner-bg); color: #fff; padding: 6px 14px; border-radius: var(--radius); z-index: 60; }
.pm-due { border: 1px solid var(--warn); background: #fdf2f8; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius); margin-bottom: var(--sp-3); display: flex; gap: var(--sp-2); align-items: center; }
.cmp td:first-child, .cmp th:first-child { color: var(--ink-2); }
.sr-only { position: absolute; left: -9999px; }

.chart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--sp-4); align-items: start; }
.chart-grid .lv .p { width: 62px; }

/* research stage */
.tabs a.tabl { padding: 6px 12px; color: var(--ink-2); border-bottom: 2px solid transparent; display: inline-flex; gap: 6px; align-items: center; }
.tabs a.tabl:hover { text-decoration: none; color: var(--ink); }
.tabs a.tabl[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.cnt { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink-2); color: #fff; font-size: 11px; line-height: 16px; text-align: center; font-weight: 600; }
.btn.quiet { border-color: transparent; background: none; color: var(--ink-2); }
.btn.quiet:hover { background: #eef2f7; color: var(--ink); }
.btn.quiet[aria-pressed="true"] { color: var(--ink); background: #eef2f7; border-color: var(--line); }
.btn[aria-pressed="true"]:not(.quiet) { background: var(--rs-kept); border-color: var(--rs-kept); color: #fff; }
.badge.on { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.badge.failed { background: var(--err-bg); color: var(--err-ink); border-color: var(--err-ink); font-weight: 600; }
.chip.rs-kept { background: var(--rs-kept); } .chip.rs-research { background: var(--rs-research); } .chip.rs-dropped { background: var(--ink-3); }
.conv { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px; font-weight: 600; cursor: pointer; border: 1px solid var(--ink); background: var(--ink); color: #fff; }
.conv.quiet { background: var(--surface); color: var(--ink-2); border: 1px dashed var(--ink-3); font-weight: 400; }
.conv.static { cursor: default; }
.conv-names { padding: 0 0 var(--sp-2); color: var(--ink); }
.topic { margin-bottom: var(--sp-3); }
.rbs { list-style: none; margin: 0; padding: 0; }
.rb { padding: var(--sp-2) 0; border-bottom: 1px solid var(--line-soft); }
.rb:last-child { border-bottom: 0; }
.rb.ignored, .tp.ignored { opacity: .5; }
.rb-text { font-size: 14px; }
.rb-text.en { border-inline-start: 3px solid transparent; padding: 2px 10px; }
.rb-meta { display: flex; gap: var(--sp-2); align-items: center; flex-wrap: wrap; color: var(--ink-2); font-size: 12px; margin-top: 2px; }
.rb-meta .trunc { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-actions { display: flex; gap: var(--sp-1); flex-wrap: wrap; margin-top: 4px; }
.moment { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.moment svg { width: 11px; height: 11px; fill: currentColor; stroke: currentColor; stroke-width: 1; }
.rb-actions svg, .row svg { stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.short-list { margin: 0 0 var(--sp-2); padding: var(--sp-2) var(--sp-3); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.grp-h { margin: var(--sp-4) 0 var(--sp-2); text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.tp { border-top: 1px solid var(--line-soft); padding: var(--sp-2) 0; }
.tp:first-of-type { border-top: 0; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl > li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--sp-3); padding: var(--sp-2) 0; border-bottom: 1px solid var(--line-soft); }
.tl-d { display: flex; flex-direction: column; }
.modal.wide { width: 560px; max-width: calc(100vw - 32px); }
.modal .field.grow { min-width: 0; flex: 1 1 100%; }

/* channel avatars (placeholder circle with initials; <img> on top when avatarUrl is set) */
:root { --av-0: #64748b; --av-1: #7c6f9b; --av-2: #5b8a72; --av-3: #a0795c; --av-4: #5f86a8; --av-5: #8a6f7f; }
.av { display: inline-flex; align-items: center; justify-content: center; position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; color: #fff; font-weight: 600; font-size: calc(var(--s) * .42); line-height: 1; direction: ltr; vertical-align: middle; }
.av-0 { background: var(--av-0); } .av-1 { background: var(--av-1); } .av-2 { background: var(--av-2); } .av-3 { background: var(--av-3); } .av-4 { background: var(--av-4); } .av-5 { background: var(--av-5); }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.src-cell { display: inline-flex; align-items: center; gap: 6px; }

/* followed-stocks dashboard */
.foot { text-align: center; color: var(--ink-2); font-size: 12px; padding: var(--sp-4) var(--sp-4) var(--sp-5); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: var(--sp-4); align-items: start; }
.dpanel { position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow-y: auto; margin-top: 0 !important; }
.tbl-wrap:has(.dtbl) { width: fit-content; max-width: 100%; min-width: 280px; }
.dtbl { width: auto; }
.dtbl th.fit, .dtbl td.fit { width: auto; padding-inline: 14px; }
.dtbl th, .dtbl td { padding: 4px 6px; }
.dtbl th { white-space: normal; vertical-align: bottom; line-height: 1.2; }
.dtbl th .thbtn { white-space: normal; text-align: start; }
.dtbl td .asof { font-size: 11px; }
.dtbl tr.sel td { background: #eaf0fd; }
.thbtn { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 600; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.thbtn:hover { color: var(--ink); }
.spark { display: block; color: var(--ink-2); direction: ltr; }
.clist { list-style: none; margin: 6px 0; padding: 0; }
.clist li { display: flex; gap: 6px; align-items: baseline; padding: 2px 0; }
.clist svg { width: 13px; height: 13px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: relative; top: 2px; }
.setup { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-2); }
.refbox { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 6px; }
.dtl { padding: 3px 0; border-bottom: 1px solid var(--line-soft); }
.dis { opacity: .6; margin: 6px 0; }
.nlist { list-style: none; margin: 0 0 6px; padding: 0; } .nlist li { padding: 3px 0; border-bottom: 1px solid var(--line-soft); }
.cmp td { padding: 3px 8px; }
@media (max-width: 1100px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } .dpanel { position: static; max-height: none; } }
.sr-only { width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); left: auto; margin: -1px; }

/* sample stock page (stock.html) */
.sgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sgrid .scard.wide { grid-column: 1 / -1; }
.sgrid .tradingview-widget-copyright { font-size: 11px; text-align: center; padding-top: 4px; }
@media (max-width: 900px) { .sgrid { grid-template-columns: 1fr; } }
.sgrid .scard { position: relative; }
.hide-btn { position: absolute; top: 6px; inset-inline-start: 8px; border: 0; background: transparent; color: var(--muted, #667085); font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 4px; }
.hide-btn:hover, .hide-btn:focus-visible { background: #eef1f6; color: #111; }
.scard[hidden] { display: none; }
.cmp td.neg, .cmp td.pos { font-variant-numeric: tabular-nums; }
.mini-bar { height: 10px; border-radius: 5px; background: #e6e9f0; overflow: hidden; direction: ltr; }
.mini-bar > span { display: block; height: 100%; background: #5b7bd5; }

/* technical tracking mockup (track.html) */
.track-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: start; }
.track-side { background: var(--surface, #fff); border: 1px solid var(--line, #e3e6ee); border-radius: var(--radius, 8px); padding: 10px; }
.track-item { display: flex; gap: 10px; align-items: baseline; width: 100%; padding: 6px 8px; margin-bottom: 4px; border: 1px solid transparent; border-radius: 6px; background: transparent; cursor: pointer; font: inherit; text-align: start; }
.track-item[aria-pressed="true"] { background: #eaf0fd; border-color: #b9c9f0; }
.track-item:hover { background: #f3f5fa; }
.dtbl tr.now td { background: #fff7e0; font-weight: 600; text-align: start; }
@media (max-width: 800px) { .track-grid { grid-template-columns: 1fr; } }

/* dashboard: sector groups and the foldable company details */
.dtbl tr.grp th { text-align: start; background: #eef1f8; font-weight: 600; padding: 4px 8px; position: sticky; top: 0; }
.dtbl td.about { min-width: 24ch; max-width: 42ch; white-space: normal; line-height: 1.35; }
.tk-link { color: inherit; text-decoration: none; }
.tk-link:hover, .tk-link:focus-visible { text-decoration: underline; }
.news-list { list-style: none; padding: 0; margin: 4px 0 0; }
.news-list li { margin: 3px 0; line-height: 1.4; }
.news-list a { color: inherit; }
.news-list a:hover { text-decoration: underline; }
