/* Ticker research page: compact identity, explainable scores, and event context. */
.ticker-hero {
  grid-template-columns: minmax(0, 1fr) minmax(250px, .34fr);
  align-items: start;
  border-radius: 16px;
  background: #0c1725;
  box-shadow: none;
}
.ticker-hero::after { display: none; }
.ticker-company-heading { display: flex; align-items: center; gap: .85rem; margin-top: .55rem; }
.ticker-symbol-mark {
  display: grid; flex: 0 0 auto; place-items: center;
  width: 3.85rem; height: 3.85rem;
  border: 1px solid rgba(116,167,255,.3); border-radius: 14px;
  color: #d9efff; background: linear-gradient(145deg, rgba(100,231,255,.16), rgba(116,167,255,.08));
  font-size: clamp(.7rem, 1.4vw, .92rem); font-weight: 900; letter-spacing: -.04em;
}
.ticker-inline-score { flex: 0 0 auto; }
.ticker-inline-score .score-ring { width: 3.85rem; }
.ticker-inline-score .score-ring-inner strong { font-size: 1rem; }
.ticker-inline-score .score-ring-inner span { font-size: .52rem; }
.ticker-company-name {
  margin: 0 0 .15rem; color: var(--text) !important;
  font-size: clamp(1.55rem, 3vw, 2.35rem) !important; font-weight: 750;
  line-height: 1.08; letter-spacing: -.045em;
}
.ticker-score-meta { margin: 0 !important; color: var(--muted-2) !important; font-size: .78rem !important; }
.ticker-score-trend { margin-top: .42rem; }
.score-change {
  display: inline-flex; align-items: center; min-height: 1.45rem; padding: .2rem .5rem;
  border: 1px solid var(--line); border-radius: 999px; font-size: .67rem; font-weight: 800;
}
.score-change.up { color: var(--green); background: rgba(86,230,165,.08); }
.score-change.down { color: var(--red); background: rgba(255,107,139,.08); }
.score-change.neutral { color: var(--muted); }
.ticker-main .kpis { margin: 1rem 0 0; }
.ticker-main .kpis > div { border-radius: 8px; background: transparent; }

.ticker-profile-panel { min-width: 0; padding: .2rem 0 .2rem 1.25rem; border-left: 1px solid var(--line); }
.ticker-profile-preview {
  display: -webkit-box; margin: .65rem 0 .7rem; overflow: hidden;
  color: #c5d2df !important; font-size: .86rem !important; line-height: 1.55;
  -webkit-box-orient: vertical; -webkit-line-clamp: 3;
}
.ticker-profile-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem;
  margin: .8rem 0 .7rem; padding: .75rem 0;
  border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07);
}
.ticker-profile-source-link {
  display: inline-block; padding: .1rem 0; border-bottom: 1px solid #789bb5;
  color: #abc6d9; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.ticker-profile-source-link:hover { color: #d7e8f3; }
.ticker-info-fact span, .ticker-info-fact strong { display: block; }
.ticker-info-fact span {
  margin-bottom: .12rem; color: var(--muted-2); font-size: .62rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ticker-info-fact strong { color: #d5e0eb; font-size: .78rem; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.ticker-info-fact a { color: #aac6d9; }
.hero-poll-card { border-radius: 11px; background: rgba(255,255,255,.022); box-shadow: none; }
.signal-card { border-radius: 12px; background: transparent; }

.ticker-section-nav {
  position: sticky; top: 78px; z-index: 12; display: flex; gap: .3rem;
  margin: .85rem 0 1rem; padding: .45rem; overflow-x: auto;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(8,17,29,.92); backdrop-filter: blur(12px); scrollbar-width: none;
}
.ticker-section-nav::-webkit-scrollbar { display: none; }
.ticker-section-nav a {
  flex: 0 0 auto; padding: .58rem .78rem; border-radius: 8px; color: var(--muted);
  font-size: .76rem; font-weight: 750;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}
.ticker-section-nav a:hover { color: var(--text); background: rgba(116,167,255,.1); transform: translateY(-1px); }
.ticker-anchor-section, #overview, #profile { scroll-margin-top: 145px; }

.additional-score-head { margin-top: 1.2rem; }
.additional-score-head h3 { margin: .2rem 0 .65rem; font-size: 1rem; }
.score-explain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.score-explain-card {
  min-width: 0; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.018);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.score-explain-card:hover, .score-explain-card[open] {
  border-color: rgba(116,167,255,.34); background: rgba(116,167,255,.055); transform: translateY(-2px);
}
.score-explain-card summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: .58rem; padding: .78rem; list-style: none; cursor: pointer;
}
.score-explain-card summary::-webkit-details-marker { display: none; }
.score-explain-card summary span { min-width: 0; }
.score-explain-card summary small, .score-explain-card summary strong, .score-explain-card summary em { display: block; }
.score-explain-card summary small {
  color: var(--muted-2); font-size: .58rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.score-explain-card summary strong { margin: .08rem 0; font-size: .82rem; }
.score-explain-card summary em {
  overflow: hidden; color: var(--muted); font-size: .66rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap;
}
.score-explain-card summary > b { color: #dcecff; font-size: .9rem; }
.score-explain-icon {
  display: grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 9px; color: var(--cyan); background: rgba(100,231,255,.08);
}
.score-explain-icon .ui-svg-icon { width: 1rem; height: 1rem; }
.score-explain-body { padding: 0 .78rem .8rem; border-top: 1px solid rgba(255,255,255,.055); }
.score-explain-body p { margin: .68rem 0 .48rem; color: #b7c6d6; font-size: .72rem; line-height: 1.5; }
.score-explain-body span { color: #8fb6d0; font-size: .65rem; font-weight: 750; }

.volume-event-card {
  margin-top: 1rem; padding: 1rem; border: 1px solid rgba(100,231,255,.2); border-radius: 13px;
  background: linear-gradient(145deg, rgba(100,231,255,.075), rgba(116,167,255,.025));
}
.volume-event-card.quiet { border-color: var(--line); background: rgba(255,255,255,.018); }
.volume-event-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.volume-event-head h3 { margin: .2rem 0 0; font-size: 1.05rem; }
.event-multiple { color: var(--cyan); font-size: 1.35rem; font-weight: 900; text-align: right; }
.event-multiple small { display: block; color: var(--muted-2); font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; }
.volume-event-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: .85rem; }
.volume-event-metrics > div {
  min-width: 0; padding: .65rem; border: 1px solid rgba(255,255,255,.065);
  border-radius: 9px; background: rgba(5,15,27,.42);
}
.volume-event-metrics span, .volume-event-metrics strong { display: block; }
.volume-event-metrics span { color: var(--muted-2); font-size: .58rem; font-weight: 750; text-transform: uppercase; }
.volume-event-metrics strong { margin-top: .22rem; color: #dcecff; font-size: .76rem; }
.volume-event-card > p { margin: .72rem 0 0; color: var(--muted); font-size: .7rem; }

.ticker-history-head { align-items: center; }
.history-window-tabs { display: flex; gap: .25rem; padding: .2rem; border: 1px solid var(--line); border-radius: 9px; }
.history-window-tabs button {
  padding: .42rem .62rem; border: 0; border-radius: 6px; color: var(--muted);
  background: transparent; font-size: .65rem; font-weight: 800; cursor: pointer;
}
.history-window-tabs button.active { color: #07111e; background: #8dcfe2; }
.ticker-history-chart { margin-top: .4rem; }
.ticker-history-chart svg { display: block; width: 100%; height: 245px; overflow: visible; }
.score-history-line { fill: none; stroke: var(--cyan); stroke-width: 4; vector-effect: non-scaling-stroke; }
.score-history-area { fill: rgba(100,231,255,.07); stroke: none; }

@media (max-width: 900px) {
  .ticker-hero { grid-template-columns: 1fr; }
  .ticker-profile-panel { padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .ticker-profile-preview { -webkit-line-clamp: 3; }
  .ticker-profile-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .score-explain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .volume-event-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ticker-company-heading { align-items: center; flex-wrap: wrap; }
  .ticker-inline-score .score-ring { width: 3.5rem; }
  .ticker-symbol-mark { width: 3.5rem; height: 3.5rem; }
  .ticker-title-row { align-items: flex-start; }
  .ticker-profile-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticker-section-nav { top: 70px; }
  .score-explain-grid { grid-template-columns: 1fr; }
  .volume-event-head { align-items: flex-start; }
  .volume-event-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticker-history-chart svg { height: 190px; }
}
