/* OCA CIP (Open Crypto Analysis Coins In Play Model) report styles: the OSA report layout in the
 * OCA navy / teal palette, so it is clear these pages are not Open Stock Analysis.
 * Datareel Software Development.
 *
 * Every rule is scoped to the .oca container (class names start with oca-), so the reports can be
 * included in any page, for example a PHP page with its own header and top, left and bottom menus,
 * without changing the rest of that page. The layout follows the width of the .oca container
 * (container queries), so it works next to a left menu as well as full width, on desktop and phones.
 *
 * Dark mode: add data-oca-theme="auto" to <html> or <body> (or any parent of .oca) to follow the
 * reader's light / dark setting; without it the reports stay light.
 *
 * Written by oca_cip_analyzer.py into ~/oca_data/screeners/cip/css/oca_cip.css on every run.
 */

.oca {
  --oca-bg: #eef2f7; --oca-surface: #ffffff; --oca-surface-2: #e8eef5; --oca-border: #d5dee9;
  --oca-text: #0f1a2b; --oca-text-2: #3c4a5e; --oca-muted: #6b7a90;
  --oca-accent: #0f8b8d; --oca-up: #0a8a5a; --oca-down: #d1434b;
  --oca-buy-bg: #dcf4ea; --oca-buy-fg: #0a6b47; --oca-sell-bg: #fbe3e5; --oca-sell-fg: #b3313a;
  --oca-short-bg: #f6d2d6; --oca-short-fg: #8c1c26; --oca-hold-bg: #e4e9f0; --oca-hold-fg: #3c4a5e;
  --oca-warn-bg: #fff1d6; --oca-warn-fg: #8a5a00; --oca-bar: #0f8b8d; --oca-track: #dbe3ee;
  --oca-shadow: 0 1px 2px rgba(15,26,43,.06), 0 2px 8px rgba(15,26,43,.06);
  --oca-radius: 14px;
  container: oca / inline-size;
  box-sizing: border-box;
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px;
  background: var(--oca-bg);
  color: var(--oca-text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left;
  border-radius: var(--oca-radius);
}
@media (prefers-color-scheme: dark) {
  [data-oca-theme="auto"] .oca, .oca[data-oca-theme="auto"] {
    --oca-bg: #0b1220; --oca-surface: #111a2c; --oca-surface-2: #17223a; --oca-border: #24314d;
    --oca-text: #e6edf7; --oca-text-2: #b6c2d6; --oca-muted: #7d8ba3;
    --oca-accent: #2cc4c0; --oca-up: #34d399; --oca-down: #f87171;
    --oca-buy-bg: #0f3a2c; --oca-buy-fg: #6ee7b7; --oca-sell-bg: #431a20; --oca-sell-fg: #fca5a5;
    --oca-short-bg: #54202a; --oca-short-fg: #fecaca; --oca-hold-bg: #1c2740; --oca-hold-fg: #b6c2d6;
    --oca-warn-bg: #3d2f12; --oca-warn-fg: #fbbf24; --oca-bar: #2cc4c0; --oca-track: #24314d;
    --oca-shadow: none;
  }
}
[data-oca-theme="dark"] .oca, .oca[data-oca-theme="dark"] {
  --oca-bg: #0b1220; --oca-surface: #111a2c; --oca-surface-2: #17223a; --oca-border: #24314d;
  --oca-text: #e6edf7; --oca-text-2: #b6c2d6; --oca-muted: #7d8ba3;
  --oca-accent: #2cc4c0; --oca-up: #34d399; --oca-down: #f87171;
  --oca-buy-bg: #0f3a2c; --oca-buy-fg: #6ee7b7; --oca-sell-bg: #431a20; --oca-sell-fg: #fca5a5;
  --oca-short-bg: #54202a; --oca-short-fg: #fecaca; --oca-hold-bg: #1c2740; --oca-hold-fg: #b6c2d6;
  --oca-warn-bg: #3d2f12; --oca-warn-fg: #fbbf24; --oca-bar: #2cc4c0; --oca-track: #24314d;
  --oca-shadow: none;
}
.oca *, .oca *::before, .oca *::after { box-sizing: border-box; }
.oca a { color: var(--oca-accent); text-decoration: none; }
.oca a:hover { text-decoration: underline; }
.oca h1, .oca h2, .oca p, .oca ul, .oca dl, .oca figure { margin: 0; padding: 0; }
.oca h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--oca-text); }
.oca h2 { font-size: 17px; line-height: 1.3; margin-bottom: 12px; font-weight: 650; color: var(--oca-text); }
.oca img { max-width: 100%; height: auto; }
.oca .oca-muted { color: var(--oca-muted); }
.oca .oca-small { color: var(--oca-muted); font-size: 12.5px; margin-top: 3px; }
.oca .oca-up { color: var(--oca-up); }
.oca .oca-down { color: var(--oca-down); }

/* Breadcrumb back to the site */
.oca .oca-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px;
  color: var(--oca-muted); margin-bottom: 14px; }
.oca .oca-crumbs span[aria-hidden] { color: var(--oca-border); }

/* Header card of a ticker report */
.oca .oca-hero { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  background: var(--oca-surface); border: 1px solid var(--oca-border); border-radius: var(--oca-radius);
  box-shadow: var(--oca-shadow); padding: 22px 24px; margin-bottom: 18px; }
.oca .oca-price { font-size: 26px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.oca .oca-price small { font-size: 14px; font-weight: 500; color: var(--oca-muted); margin-left: 8px; }
.oca .oca-why { margin-top: 12px; color: var(--oca-text-2); max-width: 70ch; }
.oca .oca-hero-side { text-align: right; display: grid; gap: 10px; justify-items: end; }
.oca .oca-ring { --p: 50; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--oca-bar) calc(var(--p) * 1%), var(--oca-track) 0); }
.oca .oca-ring > div { width: 72px; height: 72px; border-radius: 50%; background: var(--oca-surface);
  display: grid; place-items: center; text-align: center; line-height: 1.05; }
.oca .oca-ring b { font-size: 24px; }
.oca .oca-ring span { font-size: 11px; color: var(--oca-muted); }

/* Badges */
.oca .oca-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 650;
  line-height: 1.5; white-space: nowrap; background: var(--oca-hold-bg); color: var(--oca-hold-fg); }
.oca .oca-badge.oca-big { font-size: 17px; padding: 6px 16px; }
.oca .oca-badge.oca-buy { background: var(--oca-buy-bg); color: var(--oca-buy-fg); }
.oca .oca-badge.oca-sell { background: var(--oca-sell-bg); color: var(--oca-sell-fg); }
.oca .oca-badge.oca-short { background: var(--oca-short-bg); color: var(--oca-short-fg); }
.oca .oca-badge.oca-warn { background: var(--oca-warn-bg); color: var(--oca-warn-fg); }
.oca .oca-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Cards */
.oca .oca-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.oca .oca-card { background: var(--oca-surface); border: 1px solid var(--oca-border); border-radius: var(--oca-radius);
  box-shadow: var(--oca-shadow); padding: 18px 20px; min-width: 0; }
.oca .oca-wide { grid-column: 1 / -1; }
.oca .oca-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.oca .oca-kv dt { color: var(--oca-text-2); margin: 0; }
.oca .oca-kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.oca .oca-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--oca-surface-2);
  color: var(--oca-text-2); font-size: 14px; }
.oca .oca-checks { margin: 10px 0 0; padding-left: 18px; color: var(--oca-text-2); font-size: 14px; }

/* Tables */
.oca table { border-collapse: collapse; width: 100%; margin: 0; font-variant-numeric: tabular-nums;
  background: transparent; color: inherit; font-size: inherit; border: 0; }
.oca th, .oca td { padding: 7px 8px; border: 0; border-bottom: 1px solid var(--oca-border); text-align: left;
  vertical-align: top; background: transparent; color: inherit; }
.oca th { color: var(--oca-text-2); font-weight: 600; font-size: 13px; }
.oca .oca-num { text-align: right; }
.oca tr:last-child td { border-bottom: 0; }

/* Meters */
.oca .oca-meter { display: flex; align-items: center; gap: 10px; }
.oca .oca-meter-track { flex: 1; height: 8px; border-radius: 99px; background: var(--oca-track); overflow: hidden;
  min-width: 50px; }
.oca .oca-meter-fill { height: 100%; background: var(--oca-bar); border-radius: 99px; }
.oca .oca-meter span { font-size: 13px; color: var(--oca-text-2); min-width: 3.2em; text-align: right; }

/* Catalysts */
.oca .oca-catalysts { list-style: none; }
.oca .oca-catalysts li { display: grid; grid-template-columns: 2.4em 8em 1fr; gap: 8px; padding: 9px 0;
  border-bottom: 1px solid var(--oca-border); margin: 0; }
.oca .oca-catalysts li:last-child { border-bottom: 0; }
.oca .oca-catalysts .oca-n { color: var(--oca-muted); font-variant-numeric: tabular-nums; }
.oca .oca-catalysts time { color: var(--oca-text-2); font-size: 13px; }
.oca .oca-catalysts .oca-src { color: var(--oca-muted); font-size: 13px; }

/* Charts */
.oca figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--oca-border);
  background: #fff; }
.oca figcaption { color: var(--oca-muted); font-size: 13px; margin-top: 6px; }
.oca .oca-footer { margin-top: 20px; color: var(--oca-muted); font-size: 13px; }

/* Summary table */
.oca .oca-sub { color: var(--oca-text-2); margin-top: 4px; }
.oca .oca-live { font-size: 12px; color: var(--oca-muted); }
.oca .oca-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.oca .oca-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0 12px; }
.oca .oca-toolbar input, .oca .oca-toolbar select { font: inherit; color: var(--oca-text); background: var(--oca-surface);
  border: 1px solid var(--oca-border); border-radius: 10px; padding: 8px 12px; margin: 0; height: auto; }
.oca .oca-toolbar input { flex: 1 1 220px; max-width: 360px; }
/* iPhone and iPad Safari zoom the page into a field with text under 16px: not on touch screens */
@media (hover: none) and (pointer: coarse) {
  .oca .oca-toolbar input, .oca .oca-toolbar select { font-size: 16px; }
}
.oca .oca-table-wrap { overflow-x: auto; background: var(--oca-surface); border: 1px solid var(--oca-border);
  border-radius: var(--oca-radius); box-shadow: var(--oca-shadow); -webkit-overflow-scrolling: touch; }
.oca .oca-sum th { position: sticky; top: 0; background: var(--oca-surface); white-space: nowrap; z-index: 2; }
.oca .oca-sum th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.oca .oca-sum th button:focus-visible { outline: 2px solid var(--oca-accent); outline-offset: 2px; border-radius: 4px; }
.oca .oca-sum th[aria-sort="ascending"] button::after { content: "\25B2"; font-size: 9px; color: var(--oca-accent); }
.oca .oca-sum th[aria-sort="descending"] button::after { content: "\25BC"; font-size: 9px; color: var(--oca-accent); }
.oca .oca-sum td { white-space: nowrap; }
.oca .oca-sum tbody tr:hover td { background: var(--oca-surface-2); }
.oca .oca-sum .oca-tick { position: sticky; left: 0; background: var(--oca-surface); font-weight: 700; z-index: 1; }
.oca .oca-sum tbody tr:hover .oca-tick { background: var(--oca-surface-2); }
.oca .oca-sum .oca-scorecell { min-width: 120px; }
.oca .oca-sum td.oca-wrap { white-space: normal; }
.oca .oca-sum td.oca-wrap > div { min-width: 260px; max-width: 460px; }
/* A full width line of text under a table row (sortable_table detail=...) */
.oca .oca-sum tr:has(+ tr.oca-detail) td { border-bottom: 0; padding-bottom: 2px; }
.oca .oca-sum tr.oca-detail td { white-space: normal; padding-top: 0; font-size: 13px; color: var(--oca-text-2); }
.oca .oca-sum tbody tr.oca-detail:hover td { background: transparent; }
/* keep the line inside the visible part of a table that scrolls sideways (narrow screens) */
.oca .oca-sum tr.oca-detail td > div { position: sticky; left: 8px; max-width: calc(100cqw - 56px); }

/* Watch list index: one collapsible section per watch list */
.oca .oca-wl-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; }
.oca .oca-wl-tools button { font: inherit; font-size: 13.5px; color: var(--oca-text); background: var(--oca-surface);
  border: 1px solid var(--oca-border); border-radius: 10px; padding: 6px 12px; cursor: pointer; margin: 0; }
.oca .oca-wl-tools button:hover { border-color: var(--oca-accent); }
.oca .oca-wl { background: var(--oca-surface); border: 1px solid var(--oca-border); border-radius: var(--oca-radius);
  box-shadow: var(--oca-shadow); margin: 0 0 12px; overflow: hidden; }
.oca .oca-wl > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px;
  cursor: pointer; list-style: none; }
.oca .oca-wl > summary::-webkit-details-marker { display: none; }
.oca .oca-wl > summary::before { content: "\25B8"; display: inline-block; width: 1em; text-align: center;
  color: var(--oca-muted); }
.oca .oca-wl[open] > summary::before { content: "\25BE"; }
.oca .oca-wl > summary:focus-visible { outline: 2px solid var(--oca-accent); outline-offset: -2px; }
.oca .oca-wl-name { font-size: 16px; font-weight: 650; }
.oca .oca-wl-count { color: var(--oca-muted); font-size: 13.5px; }
.oca .oca-wl-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.oca .oca-wl-link { margin-left: auto; font-size: 13.5px; white-space: nowrap; }
.oca .oca-wl-body { border-top: 1px solid var(--oca-border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.oca .oca-wl-body .oca-note { margin: 10px 14px 14px; }
.oca .oca-wl-table th, .oca .oca-wl-table td { white-space: nowrap; }
.oca .oca-wl-table th:first-child, .oca .oca-wl-table td:first-child { padding-left: 18px; }
.oca .oca-wl-table th:last-child, .oca .oca-wl-table td:last-child { padding-right: 18px; }
.oca .oca-wl-table .oca-tick { font-weight: 700; }
.oca .oca-wl-table tbody tr:hover td { background: var(--oca-surface-2); }
.oca .oca-runinfo { margin-top: 6px; font-size: 13px; color: var(--oca-muted); }

/* Day trade top 10 (OCA CIP): a card per coin with its buy, stop and sell levels */
.oca .oca-dt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.oca .oca-dt-grid > * { min-width: 0; }
.oca .oca-dt h3 { margin: 0; font-size: 22px; font-weight: 700; }
.oca .oca-dt-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.oca .oca-dt-rank { color: var(--oca-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.oca .oca-dt-company { font-size: 13.5px; flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.oca .oca-dt-score { margin-left: auto; font-size: 20px; font-weight: 700; color: var(--oca-accent);
  font-variant-numeric: tabular-nums; }
.oca .oca-dt-score::after { content: "/100"; font-size: 12px; color: var(--oca-muted); font-weight: 500; }
.oca .oca-dt-score small { font-size: 11px; font-weight: 600; color: var(--oca-muted); text-transform: uppercase;
  letter-spacing: .04em; }
.oca .oca-dt-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.oca .oca-dt-plan > div { border: 1px solid var(--oca-border); border-radius: 10px; padding: 10px 12px; }
.oca .oca-dt-plan span { display: block; font-size: 12px; color: var(--oca-text-2); text-transform: uppercase;
  letter-spacing: .03em; }
.oca .oca-dt-plan b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; margin-bottom: 6px;
  overflow-wrap: anywhere; }
.oca .oca-dt-buy { background: var(--oca-buy-bg); }
.oca .oca-dt-stop { background: var(--oca-sell-bg); }
.oca .oca-dt-sell { grid-column: 1 / -1; }
.oca .oca-dt-sell ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.oca .oca-dt-sell li { font-variant-numeric: tabular-nums; font-size: 15px; overflow-wrap: anywhere; min-width: 0; }
.oca .oca-dt-sell li b { display: block; font-size: 12px; font-weight: 600; color: var(--oca-text-2); margin: 0; }
.oca .oca-dt-sell li .oca-up { display: block; font-size: 12.5px; }
.oca .oca-dt-warn { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--oca-sell-bg);
  color: var(--oca-sell-fg); border: 1px solid currentColor; }
.oca .oca-dt-warn b { text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px; }
.oca .oca-dt-warn ul, .oca .oca-dt-rules { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; }
.oca .oca-dt-rules { color: var(--oca-text-2); margin-top: 10px; }
.oca .oca-dt-total { font-weight: 700; font-variant-numeric: tabular-nums; }
.oca .oca-dt-total.oca-up { color: var(--oca-up); }
.oca .oca-dt-total.oca-down { color: var(--oca-down); }
/* Intraday timing, live buy/chase state, trend cycle and charts */
.oca .oca-dt-timing { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.oca .oca-dt-timing > div { flex: 1 1 30%; min-width: 92px; border: 1px solid var(--oca-border);
  border-radius: 10px; padding: 6px 10px; }
.oca .oca-dt-timing span { display: block; font-size: 11px; color: var(--oca-text-2); text-transform: uppercase;
  letter-spacing: .03em; }
.oca .oca-dt-timing b { font-variant-numeric: tabular-nums; font-size: 14px; }
.oca .oca-dt-state { margin: 10px 0 0; font-size: 13.5px; }
.oca .oca-dt-cycle { margin: 6px 0 0; color: var(--oca-text-2); }
.oca .oca-dt-chart, .oca .oca-dt-summary { margin: 12px 0 0; }
.oca .oca-dt-chart img, .oca .oca-dt-summary img { width: 100%; height: auto; border: 1px solid var(--oca-border);
  border-radius: 10px; background: #fff; }
.oca .oca-dt-summary { margin: 12px 0 18px; }
.oca .oca-dt-extrap { margin: 8px 0 0; padding: 6px 10px; border-radius: 8px; font-size: 12.5px;
  background: var(--oca-sell-bg); color: var(--oca-text-2); }
.oca .oca-dt-style { margin: 10px 0 0; font-size: 13.5px; }
.oca .oca-dt-timing-note { margin: 6px 0 0; color: var(--oca-text-2); }
.oca .oca-zoom { cursor: zoom-in; }

/* Click-to-enlarge lightbox for the day trade charts (built by oca_all_pages.js on the site). The
   overlay is appended to <body>, outside .oca, so these rules are not scoped under .oca. */
body.oca-lightbox-open { overflow: hidden; }
.oca-lightbox { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center;
  justify-content: center; padding: 24px; background: rgba(12, 12, 12, .86); cursor: zoom-out; }
.oca-lightbox[hidden] { display: none; }
.oca-lightbox img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 10px;
  background: #fff; box-shadow: 0 12px 48px rgba(0, 0, 0, .5); cursor: default; }
.oca-lightbox-close { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; }
.oca-lightbox-close:hover { background: rgba(255, 255, 255, .3); }

/* Narrow containers: phones, or a narrow column next to a left menu */
@container oca (max-width: 720px) {
  .oca h1 { font-size: 24px; }
  .oca .oca-hero { grid-template-columns: 1fr; padding: 18px; }
  .oca .oca-hero-side { text-align: left; justify-items: start; grid-auto-flow: column; align-items: center; }
  .oca .oca-grid { grid-template-columns: 1fr; }
  .oca .oca-card { padding: 16px; }
  .oca .oca-catalysts li { grid-template-columns: 2.2em 1fr; }
  .oca .oca-catalysts li > div { grid-column: 1 / -1; }
  .oca .oca-wl > summary { padding: 12px 14px; }
  .oca .oca-wl-link { margin-left: 0; flex-basis: 100%; }
  .oca .oca-dt-grid { grid-template-columns: 1fr; }
  .oca .oca-dt-sell ol { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .oca { padding: 12px; border-radius: 0; }
}
@media print {
  .oca .oca-toolbar, .oca .oca-wl-tools { display: none; }
  .oca .oca-card, .oca .oca-hero { box-shadow: none; }
}

/* Stand-alone pages (opened straight from disk): a plain page around the .oca container */
body.oca-standalone { margin: 0; background: #eef2f7; }
@media (prefers-color-scheme: dark) { body.oca-standalone[data-oca-theme="auto"] { background: #0b1220; } }
body.oca-standalone .oca { border-radius: 0; }

/* OCA: the brand stripe under the page title, so OCA pages read as their own site */
.oca h1 { padding-bottom: 8px; border-bottom: 3px solid var(--oca-accent); display: inline-block; }
.oca .oca-session { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--oca-text-2);
  background: var(--oca-surface); border: 1px solid var(--oca-border); border-radius: 999px; padding: 3px 10px; }
.oca .oca-session b { color: var(--oca-accent); }

/* Peak-hours heatmap (7 days x 24 hours, US Eastern): darker teal = busier than an average hour */
.oca .oca-heat-wrap { overflow-x: auto; background: var(--oca-surface); border: 1px solid var(--oca-border);
  border-radius: var(--oca-radius); padding: 12px; margin: 8px 0 6px; }
.oca table.oca-heat { border-collapse: separate; border-spacing: 2px; font-size: 11px; width: 100%; min-width: 640px; }
.oca table.oca-heat th { color: var(--oca-muted); font-weight: 500; text-align: center; padding: 0 2px; }
.oca table.oca-heat th[scope="row"] { text-align: left; padding-right: 6px; }
.oca table.oca-heat td { height: 22px; border-radius: 3px; text-align: center; color: transparent; }
.oca table.oca-heat td:hover { color: var(--oca-text); outline: 1px solid var(--oca-accent); }
.oca table.oca-heat td.oca-now { outline: 2px solid var(--oca-warn-fg); }
.oca .oca-heat-legend { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--oca-muted); }
.oca .oca-heat-legend i { display: inline-block; width: 18px; height: 10px; border-radius: 2px; }

/* Day trade summary: the top 10 on one trading day (inline SVG, colored from the theme variables) and the
   entry / exit levels table */
.oca .oca-dt-summary h3 { margin: 0; font-size: 15px; color: var(--oca-text); }
.oca .oca-tl-wrap { overflow-x: auto; background: var(--oca-surface); border: 1px solid var(--oca-border);
  border-radius: var(--oca-radius); padding: 10px 12px; margin: 8px 0 10px; }
.oca svg.oca-tl { display: block; width: 100%; min-width: 560px; height: auto; font-family: inherit; }
.oca .oca-tl text { font-size: 13px; fill: var(--oca-text); font-variant-numeric: tabular-nums; }
.oca .oca-tl .oca-tl-axis, .oca .oca-tl .oca-tl-rank { font-size: 11.5px; fill: var(--oca-muted); }
.oca .oca-tl .oca-tl-coin { font-weight: 700; fill: var(--oca-accent); }
.oca .oca-tl-grid { stroke: var(--oca-border); stroke-width: 1; }
.oca .oca-tl-track { fill: var(--oca-track); opacity: .55; }
.oca .oca-tl-win { fill: var(--oca-accent); opacity: .85; }
.oca .oca-tl-flat { stroke: var(--oca-down); stroke-width: 1.4; stroke-dasharray: 4 3; }
.oca .oca-tl-now { stroke: var(--oca-text); stroke-width: 1.2; }
.oca .oca-tl-up { fill: var(--oca-up); stroke: var(--oca-surface); stroke-width: 1.5; }
.oca .oca-tl-down { fill: var(--oca-down); stroke: var(--oca-surface); stroke-width: 1.5; }
.oca .oca-tl-flatdot { fill: var(--oca-muted); stroke: var(--oca-surface); stroke-width: 1.5; }
.oca .oca-dt-summary .oca-table-wrap { margin-bottom: 4px; }

/* A pick's last 48 hours with its buy / add / stop / target lines, on its card */
.oca svg.oca-pc { display: block; width: 100%; height: auto; margin-top: 12px; }
.oca .oca-pc line { stroke-width: 1.2; }
.oca .oca-pc .oca-pc-label { font-size: 10.5px; stroke: none; font-variant-numeric: tabular-nums; }
.oca .oca-pc .oca-pc-buy { stroke: var(--oca-buy-fg); fill: var(--oca-buy-fg); }
.oca .oca-pc line.oca-pc-add { stroke-dasharray: 3 3; }
.oca .oca-pc .oca-pc-stop { stroke: var(--oca-down); fill: var(--oca-down); }
.oca .oca-pc .oca-pc-sell { stroke: var(--oca-warn-fg); fill: var(--oca-warn-fg); stroke-dasharray: 5 3; }
.oca .oca-pc text.oca-pc-sell { stroke: none; }
.oca .oca-pc-price { fill: none; stroke: var(--oca-accent); stroke-width: 1.8; stroke-linejoin: round; }
.oca .oca-pc-now { fill: var(--oca-accent); stroke: var(--oca-surface); stroke-width: 1.5; }

/* The 24 hour levels grid: one row per pick, one column per block of the day */
.oca table.oca-lv th span, .oca table.oca-lv td span, .oca table.oca-lv td b { display: block; }
.oca table.oca-lv thead th span { font-weight: 400; font-size: 11.5px; color: var(--oca-muted); }
.oca table.oca-lv tbody th span { font-weight: 400; font-size: 12px; color: var(--oca-muted); }
.oca table.oca-lv td { font-size: 13px; line-height: 1.35; vertical-align: top; min-width: 150px; }
.oca table.oca-lv .oca-lv-buy { color: var(--oca-buy-fg); }
.oca table.oca-lv .oca-lv-sell { color: var(--oca-warn-fg); }
.oca table.oca-lv .oca-lv-stop { color: var(--oca-down); }
.oca table.oca-lv td.oca-lv-peak { background: var(--oca-buy-bg); box-shadow: inset 3px 0 0 var(--oca-accent); }
.oca table.oca-lv td.oca-lv-past { opacity: .45; }
.oca table.oca-lv td.oca-lv-day { background: var(--oca-surface-2); }

/* Validated-day picker above the validation report (the website's cip/validation.php, outside .oca) */
.oca-day-picker { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 14px; font-size: 13.5px; }
.oca-day-picker-label { color: var(--oca-text-2, #3a4a60); font-weight: 600; margin-right: 2px; }
.oca-day-picker a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--oca-border, #d6dee9);
  text-decoration: none; color: var(--oca-text, #0f1b2d); font-variant-numeric: tabular-nums; }
.oca-day-picker a:hover { border-color: var(--oca-accent, #0f8b8d); }
.oca-day-picker a[aria-current="page"] { background: var(--oca-accent, #0f8b8d); border-color: var(--oca-accent, #0f8b8d);
  color: #fff; }
.oca-day-picker .oca-day-latest { font-size: 11px; opacity: .8; }

/* CIP trader: account value by day */
.oca .oca-eq .oca-pc-label { fill: var(--oca-muted); }
.oca .oca-eq-grid { stroke: var(--oca-border); stroke-width: 1; }
.oca .oca-eq-start { stroke: var(--oca-muted); stroke-width: 1; stroke-dasharray: 4 3; }

/* Swing trade (OCA TAM) and long hold (OCA FAM) plan cards: entry, average down, sell points with dates */
.oca .oca-hp-now { margin: 10px 0 0; font-size: 14.5px; }
.oca .oca-hp-plan em { display: block; font-style: normal; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.oca .oca-hp-adds { grid-column: 1 / -1; }
.oca .oca-hp-adds ol { list-style: none; margin: 6px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.oca .oca-hp-adds li, .oca .oca-hp .oca-dt-sell li { font-variant-numeric: tabular-nums; font-size: 15px;
  overflow-wrap: anywhere; min-width: 0; }
.oca .oca-hp-adds li b { display: block; font-size: 12px; font-weight: 600; color: var(--oca-text-2); }
.oca .oca-hp .oca-dt-sell ol { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.oca .oca-hp-eta, .oca .oca-hp-hit { display: block; font-size: 12.5px; color: var(--oca-text-2); }
.oca .oca-hp-hit { color: var(--oca-up); }
.oca .oca-hp-runner { margin: 8px 0 0; }
.oca .oca-hp-times { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13.5px; display: grid; gap: 3px; }
.oca .oca-hp-times span { color: var(--oca-text-2); font-weight: 600; margin-right: 4px; }
.oca .oca-hp-warn li { margin: 3px 0; }
.oca .oca-hp-calm { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--oca-surface-2);
  font-size: 13.5px; }
.oca .oca-hp-calm b { text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px; }
.oca .oca-hp-calm ul { margin: 6px 0 0; padding-left: 18px; }
.oca .oca-hp-log { margin-top: 10px; font-size: 13px; }
.oca .oca-hp-log summary { cursor: pointer; color: var(--oca-text-2); }
.oca .oca-hp-log ol { margin: 6px 0 0; padding-left: 18px; max-height: 220px; overflow-y: auto; }
.oca .oca-hp-log li span { color: var(--oca-muted); font-variant-numeric: tabular-nums; margin-right: 4px; }
.oca .oca-hp-grid { margin-top: 14px; }
