/* timing-chart.css — Lightweight Charts overlay on /stock/{symbol}.

   ONE FILE, ONE FEATURE, like tv-presets.css. Removing this link and
   timing-chart.js reverts Plus/Pro to the TradingView embed (the Free
   fallback) without touching app.js.

   The overlay host must not invent a width the table cannot afford:
   same inline-size containment idea as .detail. Height matches the
   TV widget on desktop and the existing .chart-wrap phone rule so a
   timing chart never fills the whole mobile viewport.
*/

.q-chip-timing {
  color: var(--gold, #d4b95a);
  border-color: var(--gold-dim, #8a7433);
  background: rgba(212, 185, 90, 0.08);
  margin-left: 0.55rem;
  vertical-align: middle;
}

.panel h3 .q-chip-timing {
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
}

.timing-chart-host {
  width: 100%;
  min-width: 0;
  min-height: 420px;
  height: 420px;
  background: #0a0a09;
  border: 1px solid var(--border, #2a2924);
  border-radius: 2px;
}

.timing-chart {
  width: 100%;
  height: 100%;
  min-height: 240px;
}

.timing-chart-host.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.timing-chart-host .timing-chart-fallback {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: var(--muted, #8a8678);
  padding: 1rem;
}

@media (max-width: 640px) {
  .timing-chart-host {
    min-height: 240px;
    height: 240px;
  }
}

.q-chip-liq {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.q-chip-liq-liquid { color: #7c9c7a; border-color: #7c9c7a; }
.q-chip-liq-thin { color: #d4b95a; border-color: #8a7433; }
.q-chip-liq-illiquid { color: #c45c4a; border-color: #8a3e34; }
.q-chip-liq-unknown { color: #8a8678; border-color: #2a2924; }

.timing-journal-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}
.timing-journal-form input[type="text"] {
  background: #0a0a09;
  border: 1px solid var(--border, #2a2924);
  color: inherit;
  padding: 0.25rem 0.4rem;
  min-width: 12rem;
}
.timing-scanner-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.timing-scanner-list li {
  margin: 0.6rem 0;
}
.timing-alert-copy {
  color: var(--gold, #d4b95a);
}
