/* Watchlist: the star beside every ticker (all pages) and the Watchlist page. */
.tl-star { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: none; color: #8a978e; font: 17px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer; vertical-align: middle; }
.tl-star:hover { background: #f7f1da; color: #8a6a00; }
.tl-star.on { color: #e3a400; text-shadow: 0 0 1px #8a6400; }
.tl-star:focus-visible { outline: 2px solid #1e6547; outline-offset: 1px; }
.tl-star.lead { float: left; margin: 1px 4px 0 -4px; }
.tl-with-star { display: flex; align-items: flex-start; gap: 4px; min-width: 0; }
.tl-with-star > :last-child { min-width: 0; }
.tl-watch-count:not(:empty) { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #f6ecc4; color: #6b5300; font-size: 11px; font-weight: 600; }

/* Watchlist page */
.wl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line, #e3e8e3); }
.wl-tools button, .wl-file { min-height: 34px; padding: 0 12px; border: 1px solid var(--line, #d9e0da); border-radius: 8px; background: #fff; color: #253e30; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; }
.wl-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.wl-file:focus-within { outline: 2px solid #1e6547; outline-offset: 1px; }
.wl-count { margin-left: auto; color: #5d7263; font-size: 12px; }
.wl-note { margin: 0; padding: 12px 20px; color: #5d7263; font-size: 12px; line-height: 1.5; }
.wl-note.warn { color: #8a4b00; }
.wl-note:empty { display: none; }
.wl-empty { padding: 28px 20px; color: #5d7263; }
.wl-table-wrap { overflow-x: auto; }
.wl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.wl-table th { padding: 10px 12px; border-bottom: 1px solid var(--line, #e3e8e3); color: #5d7263; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.wl-company { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .06em; }
.wl-table th .wl-select-all { box-sizing: border-box; position: relative; flex: none; width: 14px; height: 14px; margin: 0; padding: 0; border: 1.5px solid #6d7d72; border-radius: 3px; background: #fff; letter-spacing: 0; cursor: pointer; }
.wl-table th .wl-select-all[aria-pressed="true"] { background: #1e6547; border-color: #1e6547; }
.wl-table th .wl-select-all[aria-pressed="true"]::after { content: ""; position: absolute; left: 4px; top: 1px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.wl-table th .wl-select-all:hover:not(:disabled) { border-color: #1e6547; }
.wl-table th .wl-select-all:disabled { opacity: .35; cursor: default; }
.wl-table th .wl-select-all:focus-visible { outline: 2px solid #1e6547; outline-offset: 2px; }
.wl-table td { padding: 10px 12px; border-bottom: 1px solid #eef1ee; vertical-align: top; }
.wl-table td.wl-star { width: 28px; padding-right: 0; }
.wl-table td strong, .wl-table td small { display: block; }
.wl-table td strong a { color: #245e42; text-decoration: none; }
.wl-table td strong a:hover, .wl-table td strong a:focus-visible { text-decoration: underline; }
.wl-table td small { color: #6d7d72; font-size: 11px; }
.wl-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 860px) {
  .wl-tools, .wl-note { padding-left: 14px; padding-right: 14px; }
  .wl-count { width: 100%; margin-left: 0; }
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.watchlist-page .insights-label { color: #6e7f72; font-size: 12px; letter-spacing: .03em; }

/* Timing tab & Technical Analysis chart */
.wl-timing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 20px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line, #e3e8e3); }
.wl-timing-head h2 { margin: 0 0 4px; color: #1d3528; font-size: 18px; font-weight: 650; }
.wl-timing-head p { margin: 0; max-width: 88ch; color: #5d7263; font-size: 13px; line-height: 1.45; }
.wl-timing-picks { display: flex; flex-direction: column; gap: 8px; padding: 11px 20px; border-bottom: 1px solid var(--line, #e3e8e3); background: #fafbf9; }
.wl-timing-picks-row { display: flex; align-items: baseline; gap: 8px 12px; }
.wl-timing-picks-row + .wl-timing-picks-row { padding-top: 8px; border-top: 1px dashed #e2e8e2; }
.wl-timing-picks-label { flex: none; min-width: 195px; color: #5d7263; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.wl-timing-picks-list { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
.wl-pick-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 11px; border: 1px solid #d5ded6; border-radius: 999px; background: #fff; color: #243e2f; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.wl-pick-btn:hover { border-color: #1e6547; background: #f2f7f3; }
.wl-pick-btn.on { border-color: #1e6547; background: #1e6547; color: #fff; }
.wl-pick-rank { color: #6c7f72; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wl-pick-btn.on .wl-pick-rank { color: #d6ebe0; }
.wl-pick-dot { width: 7px; height: 7px; border-radius: 50%; background: #8a978e; }
.wl-pick-dot.up { background: #16a34a; }
.wl-pick-dot.down { background: #dc2626; }
.wl-pick-dot.mixed { background: #d97706; }
.wl-pick-dot.none { background: #8a978e; }
.wl-pick-btn.on .wl-pick-dot { box-shadow: 0 0 0 1.5px #fff; }
.wl-timing-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line, #e3e8e3); background: #fff; }
.wl-stat-card { padding: 11px 13px; border: 1px solid #e4ebe5; border-radius: 8px; background: #fbfcfa; }
.wl-stat-card span { display: block; color: #64776a; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.wl-stat-card strong { display: block; margin-top: 4px; color: #1d3528; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.wl-stat-card small { display: block; margin-top: 3px; color: #5d7263; font-size: 11.5px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.wl-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.wl-badge.up { background: #dcfce7; color: #166534; }
.wl-badge.down { background: #fee2e2; color: #991b1b; }
.wl-badge.mixed { background: #fef3c7; color: #92400e; }
.wl-badge.none { background: #f1f3f1; color: #3d4f43; }
.wl-stat-card .wl-badge { display: inline-block; margin-top: 5px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.wl-timing-chart { position: relative; padding: 14px 20px 10px; background: #fff; border-bottom: 1px solid var(--line, #e3e8e3); }
.wl-ta-svg { display: block; width: 100%; height: auto; max-width: 960px; margin: 0 auto; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; user-select: none; }
.wl-ta-tip { margin: 6px auto 0; max-width: 960px; min-height: 20px; color: #364e3f; font-size: 12px; font-variant-numeric: tabular-nums; }
.wl-timing-table tbody tr { cursor: pointer; }
.wl-timing-table tbody tr:hover td { background: #f4f8f4; }
.wl-timing-table tbody tr.on td { background: #eef6f0; }
@media (max-width: 860px) {
  .wl-timing-head, .wl-timing-picks, .wl-timing-summary, .wl-timing-chart { padding-left: 14px; padding-right: 14px; }
  .wl-timing-picks-row { flex-direction: column; gap: 6px; }
  .wl-timing-picks-label { min-width: 0; }
}
