/*
 * v2EtfFilings.css — ETF Filings dashboard (EDGAR N-1A / 485APOS / 485BPOS).
 *
 * Pane scrolls as a document (same override as launches/closures). Prototype
 * colors (navy #002d62, accent #1261a0, canvas #f5f7fa) apply inside the pane
 * without restyling the rest of the V2 shell.
 */

#v2-dashboards-etf-filings.v2-tool-pane.active {
  display: block !important;
  overflow-y: auto;
  height: 100%;
  background: #f5f7fa;
}

.ef-wrap {
  padding: 0 0 28px;
  color: #1a2332;
  font-size: 13px;
}

.ef-header {
  padding: 14px 18px 10px;
  border-bottom: 1px solid #d9e2ec;
  background: #fff;
}
.ef-header h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px;
  color: #002d62;
  letter-spacing: -0.01em;
}
.ef-subtitle {
  font-size: 12px;
  color: #5b6b7c;
}

.ef-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 18px 4px;
}
.ef-kpi {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .12s, box-shadow .12s;
}
.ef-kpi:hover {
  border-color: #1261a0;
  box-shadow: 0 1px 4px rgba(0, 45, 98, 0.08);
}
.ef-kpi.active {
  border-color: #002d62;
  box-shadow: 0 0 0 1px #002d62 inset;
}
.ef-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #5b6b7c;
  margin: 0 0 4px;
}
.ef-kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: #002d62;
  line-height: 1.1;
}
.ef-kpi-sub {
  font-size: 11px;
  color: #7a8a9a;
  margin-top: 4px;
}

.ef-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
}
.ef-dates {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ef-dates input[type="date"] {
  border: 1px solid #c5d0dc;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 12px;
  color: #1a2332;
  background: #fff;
}
.ef-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ef-chip {
  border: 1px solid #c5d0dc;
  background: #fff;
  color: #5b6b7c;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ef-chip:hover { color: #002d62; border-color: #1261a0; }
.ef-chip.on {
  background: #1261a0;
  border-color: #1261a0;
  color: #fff;
}
.ef-chip.on.ef-chip-n1a {
  background: #002d62;
  border-color: #002d62;
}
.ef-chip.on.ef-chip-bpos {
  background: #6c757d;
  border-color: #6c757d;
}
.ef-search {
  flex: 1 1 220px;
  min-width: 180px;
  border: 1px solid #c5d0dc;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
}
.ef-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #3d4d5c;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.ef-edgar {
  margin-left: auto;
  color: #1261a0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ef-edgar:hover { text-decoration: underline; }

.ef-body { padding: 0 18px; }

.ef-table-wrap {
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  overflow: auto;
}
.ef-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.ef-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #5b6b7c;
  padding: 10px 12px;
  border-bottom: 1px solid #d9e2ec;
  background: #f8fafc;
  white-space: nowrap;
}
.ef-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #eef2f6;
  vertical-align: top;
  color: #1a2332;
}
.ef-table tr:last-child td { border-bottom: none; }
.ef-table tbody tr:hover td { background: #f4f8fb; }

.ef-stack { display: flex; flex-direction: column; gap: 2px; }
.ef-muted { color: #8a97a6; font-style: italic; }

.ef-pill {
  display: inline-block;
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}
.ef-pill-apos { background: #1261a0; }
.ef-pill-n1a { background: #002d62; }
.ef-pill-bpos { background: #6c757d; }

.ef-view {
  color: #1261a0;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ef-view:hover { text-decoration: underline; }

.ef-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px 0;
  font-size: 12px;
  color: #5b6b7c;
}
.ef-pager-btns { display: flex; gap: 6px; }
.ef-pager button {
  border: 1px solid #c5d0dc;
  background: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #002d62;
  cursor: pointer;
}
.ef-pager button:disabled {
  opacity: .45;
  cursor: default;
}

.ef-status {
  padding: 48px 18px;
  text-align: center;
  color: #5b6b7c;
}
.ef-status i { font-size: 28px; color: #1261a0; margin-bottom: 10px; }

@media (max-width: 980px) {
  .ef-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ef-kpis { grid-template-columns: 1fr; }
  .ef-edgar { margin-left: 0; }
}
