/* ECHO_FINANCIAL_STATEMENTS_UI_V1 */
.financial-statements-panel {
  margin-top: 16px;
}

.financial-header {
  align-items: flex-start;
}

.financial-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.financial-control-group {
  display: grid;
  gap: 7px;
}

.financial-control-group > label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.financial-statement-toggle {
  flex-wrap: wrap;
}

.financial-filing-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.financial-filing-meta > div {
  display: grid;
  gap: 4px;
  min-width: 110px;
}

.financial-filing-meta span {
  color: var(--muted);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.financial-filing-meta strong {
  color: var(--navy-900);
  font-size: .79rem;
}

.financial-filing-meta .button {
  margin-left: auto;
}

.financial-unit-note {
  margin: 14px 0 8px;
  color: var(--muted);
  font-size: .72rem;
}

.financial-table-wrap {
  overflow: auto;
  max-height: 650px;
  border: 1px solid var(--line);
  background: white;
}

.financial-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .79rem;
  font-variant-numeric: tabular-nums;
}

.financial-table th,
.financial-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f2;
  white-space: nowrap;
}

.financial-table th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f7f8fa;
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .64rem;
}

.financial-table th:first-child,
.financial-table td:first-child {
  position: sticky;
  left: 0;
  text-align: left;
}

.financial-table th:first-child {
  z-index: 4;
  background: #f7f8fa;
  min-width: 285px;
}

.financial-table td:first-child {
  z-index: 1;
  background: white;
  color: var(--navy-900);
}

.financial-table td:not(:first-child) {
  text-align: right;
}

.financial-table tbody tr:hover td {
  background: var(--ivory-50);
}

.financial-section-row td {
  background: #f7f8fa !important;
  color: var(--navy-700) !important;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.financial-total-row td {
  border-top: 1px solid #cfd6dc;
  color: var(--navy-900);
  font-weight: 850;
}

@media (max-width: 780px) {
  .financial-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .financial-filing-meta .button {
    margin-left: 0;
  }

  .financial-statement-toggle {
    width: fit-content;
  }
}

/* Financial statement responsive column fix */
.financial-table-wrap {
  overflow-x: hidden;
  overflow-y: auto;
}

.financial-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.financial-table th,
.financial-table td {
  white-space: normal;
}

.financial-table th:first-child,
.financial-table td:first-child {
  position: static;
  width: 40%;
  min-width: 0;
  max-width: 40%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3;
}

.financial-table th:not(:first-child),
.financial-table td:not(:first-child) {
  width: auto;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .financial-table th:first-child,
  .financial-table td:first-child {
    width: 46%;
    max-width: 46%;
  }

  .financial-table th,
  .financial-table td {
    padding: 8px 6px;
    font-size: 0.74rem;
  }
}

/* ECHO_FINANCIAL_TABLE_WRAP_FIX_V1 */
.financial-table-wrap {
  overflow-x: hidden;
  overflow-y: auto;
}

.financial-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.financial-table th,
.financial-table td {
  white-space: normal;
}

.financial-table th:first-child,
.financial-table td:first-child {
  position: static;
  width: 40%;
  min-width: 0;
  max-width: 40%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3;
}

.financial-table th:not(:first-child),
.financial-table td:not(:first-child) {
  width: auto;
  white-space: nowrap;
}

@media (max-width: 780px) {
  .financial-table th:first-child,
  .financial-table td:first-child {
    width: 46%;
    max-width: 46%;
  }

  .financial-table th,
  .financial-table td {
    padding: 8px 6px;
    font-size: 0.74rem;
  }
}

/* ECHO_OWNERSHIP_STYLES_V1 */
.ownership-headline-grid,
.ownership-summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 22px;
}
.ownership-card,
.ownership-summary-grid > div {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.35);
}
.ownership-card span,
.ownership-summary-grid span {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 8px;
}
.ownership-card strong,
.ownership-summary-grid strong {
  display: block;
  font-size: 1.25rem;
}
.ownership-card small { display: block; margin-top: 6px; opacity: 0.7; }
.ownership-section { margin-top: 24px; }
.ownership-section h4 { margin: 0 0 10px; }
.ownership-note { margin: 0 0 12px; opacity: 0.75; max-width: 900px; }
.ownership-positive { color: #22c55e; }
.ownership-negative { color: #ef4444; }
.ownership-neutral { color: #94a3b8; }
.ownership-table td:nth-child(n+3),
.ownership-table th:nth-child(n+3) { text-align: right; }
@media (max-width: 900px) {
  .ownership-headline-grid,
  .ownership-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ownership-headline-grid,
  .ownership-summary-grid { grid-template-columns: 1fr; }
}

/* ECHO_WIDE_FINANCIAL_TABLES_V2_START */

#security-tab-content,
.financial-statements-panel,
.financial-statements-panel .panel-body {
  min-width: 0 !important;
  max-width: 100% !important;
}

.financial-statements-panel .financial-table-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: scroll !important;
  overflow-y: visible !important;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable both-edges;
  padding-bottom: 12px !important;
}

.financial-statements-panel .financial-table {
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
  border-collapse: separate;
  border-spacing: 0;
}

.financial-statements-panel .financial-table th,
.financial-statements-panel .financial-table td {
  box-sizing: border-box;
}

.financial-statements-panel .financial-table th:not(:first-child),
.financial-statements-panel .financial-table td:not(:first-child) {
  width: auto !important;
  min-width: 10.5rem !important;
  max-width: none !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-variant-numeric: tabular-nums;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.financial-statements-panel .financial-table td:not(:first-child) > span {
  display: inline-block !important;
  width: max-content !important;
  min-width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.financial-statements-panel .financial-table th:first-child,
.financial-statements-panel .financial-table td:first-child {
  position: sticky !important;
  left: 0 !important;
  width: 22rem !important;
  min-width: 22rem !important;
  max-width: 32rem !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.financial-statements-panel .financial-table th:first-child {
  z-index: 5 !important;
  background: var(--panel-bg, #ffffff) !important;
}

.financial-statements-panel .financial-table td:first-child {
  z-index: 2 !important;
  background: var(--panel-bg, #ffffff) !important;
}

.financial-statements-panel .financial-table thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  white-space: nowrap !important;
}

.financial-statements-panel .financial-table-wrap::-webkit-scrollbar {
  height: 14px;
}

.financial-statements-panel .financial-table-wrap::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
  background-color: rgba(100, 116, 139, 0.75);
}

.financial-statements-panel .financial-table-wrap::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.18);
}

/* ECHO_WIDE_FINANCIAL_TABLES_V2_END */
