/* ==========================================================================
   AboveF SEC EDGAR 4-Module Enterprise Due Diligence Styles
   ========================================================================== */
.sec-exp-wrap [hidden] {
  display: none;
}

.sec-exp-wrap {
  width: 100%;
  padding: 28px 20px 60px;
  font-family: inherit;
  color: #18181b;
  box-sizing: border-box;
}

.sec-exp-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.sec-exp-topbar {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sec-exp-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e4e4e7;
}

.sec-exp-hero-text h1 {
  margin: 10px 0 8px 0;
  font-size: 28px;
  font-weight: 800;
  color: #18181b;
  line-height: 1.2;
}

.sec-exp-hero-text p {
  margin: 0;
  font-size: 15px;
  color: #52525b;
  max-width: 680px;
}

.sec-exp-wallet {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
}

.sec-exp-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 24px 0 0 0;
}

@media (max-width: 768px) {
  .sec-exp-intro-grid {
    grid-template-columns: 1fr;
  }
}

.sec-intro-card {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 20px;
}

.sec-intro-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.sec-intro-card h3 {
  margin: 0 0 8px 0;
  font-size: 17px;
  font-weight: 700;
  color: #18181b;
}

.sec-intro-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #52525b;
}

.sec-exp-badge {
  background: #18181b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 10px;
}

.sec-exp-tagline {
  font-size: 13px;
  color: #52525b;
}

.sec-exp-wallet {
  font-size: 13px;
  color: #3f3f46;
}

.sec-exp-trial {
  color: #059669;
  font-weight: 600;
  margin-left: 4px;
}

.sec-exp-reg-link {
  color: #059669;
  font-weight: 700;
  text-decoration: none;
}

.sec-exp-search-card {
  max-width: 900px;
  margin: 0 0 24px 0;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 22px;
  box-sizing: border-box;
}

.sec-exp-search-row {
  display: flex;
  gap: 12px;
}

.sec-exp-search-row input {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid #d4d4d8;
  border-radius: 8px;
  color: #18181b;
  background: #ffffff;
}

.sec-exp-search-row input:focus {
  outline: none;
  border-color: #18181b;
}

.sec-exp-search-row button {
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.sec-exp-search-row button:hover {
  background: #3f3f46;
}

.sec-exp-quick {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #71717a;
}

.sec-quick-btn {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  color: #18181b;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
}

.sec-quick-btn:hover {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
}

.sec-exp-status {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  background: #fafafa;
  border: 1px solid #e4e4e7;
  color: #3f3f46;
  margin-bottom: 20px;
}

.sec-exp-status.is-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.sec-exp-matches {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.sec-matches-head {
  background: #fafafa;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #52525b;
  border-bottom: 1px solid #e4e4e7;
}

.sec-match-row {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f4f4f5;
  cursor: pointer;
}

.sec-match-row:hover {
  background: #fafafa;
}

.sec-match-ticker {
  background: #f4f4f5;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 8px;
}

.sec-match-cik {
  font-family: monospace;
  font-size: 13px;
  color: #52525b;
}

.sec-exp-entity-bar {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.sec-exp-entity-bar h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  font-weight: 800;
  color: #18181b;
}

.sec-exp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: #52525b;
  align-items: center;
}

.sec-d-status-pill {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.sec-exp-export-btn {
  background: #18181b;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.sec-exp-export-btn:hover {
  background: #3f3f46;
}

.sec-exp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.sec-tab-btn {
  background: #f4f4f5;
  color: #3f3f46;
  border: 1px solid #e4e4e7;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.sec-tab-btn.active,
.sec-tab-btn:hover {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
}

.sec-risk-pill {
  background: #e4e4e7;
  color: #18181b;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
}

.sec-risk-pill.has-alerts {
  background: #fee2e2;
  color: #b91c1c;
}

.sec-exp-panel {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 24px;
}

.sec-exp-panel:empty {
  display: none;
}

.sec-mod-title {
  margin: 0 0 18px 0;
  font-size: 18px;
  font-weight: 700;
  color: #18181b;
}

.sec-kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.sec-kv-item {
  background: #fafafa;
  border: 1px solid #f4f4f5;
  border-radius: 8px;
  padding: 12px 16px;
}

.sec-kv-label {
  font-size: 12px;
  color: #71717a;
  margin-bottom: 4px;
}

.sec-kv-val {
  font-size: 14px;
  font-weight: 600;
  color: #18181b;
  word-break: break-word;
}

.sec-filings-bar,
.sec-fin-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.sec-filings-bar h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.sec-f-tabs,
.sec-fin-switch {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sec-f-btn,
.sec-fin-mode {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  color: #3f3f46;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.sec-f-btn.active,
.sec-fin-mode.active {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
}

.sec-table-box {
  overflow-x: auto;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  margin-bottom: 22px;
}

.sec-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sec-data-table th {
  background: #fafafa;
  padding: 11px 14px;
  text-align: left;
  color: #52525b;
  font-weight: 600;
  border-bottom: 1px solid #e4e4e7;
  white-space: nowrap;
}

.sec-data-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f4f4f5;
  color: #27272a;
  white-space: nowrap;
}

.sec-form-tag {
  background: #f4f4f5;
  color: #18181b;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.sec-mono {
  font-family: monospace;
  color: #71717a;
}

.sec-data-table a {
  color: #18181b;
  font-weight: 600;
  text-decoration: none;
}

.sec-data-table a:hover {
  text-decoration: underline;
}

.sec-pos {
  color: #059669;
  font-weight: 700;
}

.sec-neg {
  color: #dc2626;
  font-weight: 700;
}

.sec-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.sec-stat-card {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 14px 16px;
}

.sec-stat-card span {
  display: block;
  font-size: 12px;
  color: #71717a;
  margin-bottom: 4px;
}

.sec-stat-card strong {
  font-size: 18px;
  color: #18181b;
}

.sec-link-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.sec-link-card {
  background: #fafafa;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.sec-link-card a {
  color: #18181b;
  font-weight: 600;
  text-decoration: none;
}

.sec-alerts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sec-alert-card {
  border: 1px solid #e4e4e7;
  border-left-width: 4px;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.sec-alert-card.sev-high {
  border-left-color: #dc2626;
  background: #fef2f2;
}

.sec-alert-card.sev-medium {
  border-left-color: #d97706;
  background: #fffbeb;
}

.sec-alert-card.sev-info {
  border-left-color: #2563eb;
  background: #eff6ff;
}

.sec-alert-card.sev-low {
  border-left-color: #059669;
  background: #ecfdf5;
}

.sec-alert-head {
  font-size: 12px;
  margin-bottom: 6px;
}

.sec-sev-tag {
  font-weight: 800;
  text-transform: uppercase;
  margin-right: 6px;
}

.sec-alert-title {
  font-size: 15px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 4px;
}

.sec-alert-desc {
  font-size: 13px;
  color: #52525b;
}

.sec-muted-note,
.sec-empty-box {
  font-size: 13px;
  color: #71717a;
  background: #fafafa;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.sec-exp-foot {
  margin-top: 28px;
  font-size: 12px;
  color: #71717a;
  text-align: center;
}