/* overview.css — area-specific styles for the SECBLAST company-overview screen.
 * Scoped to .overview-screen / .ovr-* prefix; reuses .section .cards .kv .t
 * primitives from base.css.
 */

.overview-screen {
  padding: 0;
}

/* Snapshot strip — first paint hero. Always 4 cards across when there's room. */
.cards.ovr-snap {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border-bottom: 1px solid var(--border);
}

/* Profile section: description paragraph below the kv grid. */
.ovr-profile .ovr-desc {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: var(--bg-2);
  border-left: 2px solid var(--border-2);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-2);
  white-space: pre-wrap;
  max-width: 92ch;
}

/* Section header row: h3 + filter input + "view all" link, all on one line. */
.ovr-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.ovr-section-head h3 { margin: 0; flex: 0 0 auto; }
.ovr-more {
  margin-left: auto;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Inline filter input. */
.ovr-filter {
  flex: 1 1 auto;
  max-width: 260px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 3px 8px;
  outline: none;
}
.ovr-filter:focus { border-color: var(--amber); }
.ovr-filter::placeholder { color: var(--fg-mute); }

/* Filings/events tables — keep dense and tight. */
.ovr-filings .ovr-table table.t tbody td,
.ovr-events  table.t tbody td,
.ovr-insiders table.t tbody td {
  padding: 4px 10px;
}

/* Insider aggregate strip. */
.ovr-agg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding: 8px 0 12px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--fg);
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.ovr-agg .k {
  color: var(--fg-mute);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-right: 2px;
}

/* "X more →" footer link. */
.ovr-more-row {
  padding: 8px 4px 2px;
  text-align: right;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* News list. */
.ovr-news-list { padding-top: 4px; }
.ovr-news-row {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 60ms;
}
.ovr-news-row:hover { background: var(--row-h); }
.ovr-news-row .meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
}
.ovr-news-row .title {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.35;
}
.ovr-news-row .snip {
  margin-top: 3px;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--fg-dim);
  line-height: 1.4;
}

/* ---- Empty / home state ---- */
.ovr-home .section { padding-bottom: 18px; }
.ovr-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
}
.ovr-tile {
  background: var(--panel);
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 80ms;
  min-height: 72px;
}
.ovr-tile:hover { background: var(--row-h); }
.ovr-tile .tk {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--amber-2);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.ovr-tile .tk.gold { color: var(--gold); }
.ovr-tile .nm {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ovr-tile .sub {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ovr-tile-index .nm { color: var(--fg-dim); font-style: italic; }

/* ---- Right rail bits ---- */
.ovr-rail-help { font-size: 11.5px; }
.ovr-rail-help div { padding: 2px 0; }
.ovr-rail-help kbd { margin-right: 4px; }

.ovr-rail-idx {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ovr-rail-formers div {
  padding: 3px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 11.5px;
  white-space: normal;
  line-height: 1.35;
}
.ovr-rail-formers div:last-child { border-bottom: none; }

.ovr-rail-jump {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--mono);
  font-size: 12px;
}
.ovr-rail-jump a { display: flex; align-items: center; gap: 8px; }
.ovr-rail-jump kbd { width: 18px; text-align: center; }
