:root {
  --ncdt-blue: #0033ff;
  --ncdt-navy: #07143b;
  --ncdt-ink: #102033;
  --ncdt-muted: #61708a;
  --ncdt-border: #e3e9f4;
  --ncdt-soft: #f5f7fb;
  --ncdt-card: #ffffff;
  --ncdt-gold: #d6a02b;
  --ncdt-green: #0f8a5f;
  --ncdt-shadow: 0 18px 45px rgba(7, 20, 59, 0.10);
}

.netcap-dividend-tracker {
  display: block;
  clear: both;
  width: 100%;
  max-width: 1180px !important;
  margin: 0 auto 30px !important;
  padding: 0;
  color: var(--ncdt-ink);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  container-type: inline-size;
}

.netcap-dividend-tracker * {
  box-sizing: border-box;
}

.entry-content .netcap-dividend-tracker,
.wp-block-post-content .netcap-dividend-tracker,
.site-main .netcap-dividend-tracker,
.wp-site-blocks .netcap-dividend-tracker {
  width: 100%;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.netcap-dividend-tracker table,
.netcap-dividend-tracker th,
.netcap-dividend-tracker td {
  border-left: 0;
  border-right: 0;
}

.ncdt-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 190px;
  padding: 30px;
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(214, 160, 43, 0.36), transparent 30%),
    linear-gradient(135deg, var(--ncdt-navy), var(--ncdt-blue));
  box-shadow: var(--ncdt-shadow);
  overflow: hidden;
}

.ncdt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.ncdt-hero h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  font-weight: 850;
}

.ncdt-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.6;
}

.ncdt-hero-badge {
  align-self: center;
  flex: 0 0 auto;
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  text-align: center;
}

.ncdt-hero-badge span,
.ncdt-kpi span,
.ncdt-year-select-wrap span,
.ncdt-filter-grid span {
  display: block;
  color: var(--ncdt-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ncdt-hero-badge span {
  color: rgba(255, 255, 255, 0.72);
}

.ncdt-hero-badge strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.ncdt-kpis {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.ncdt-kpi {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ncdt-border);
  border-radius: 18px;
  background: var(--ncdt-card);
  box-shadow: 0 8px 22px rgba(7, 20, 59, 0.06);
}

.ncdt-kpi strong {
  display: block;
  margin-top: 6px;
  color: var(--ncdt-navy);
  font-size: 26px;
  line-height: 1.15;
}

.ncdt-controls {
  width: 100%;
  padding: 18px;
  margin: 16px 0;
  border: 1px solid var(--ncdt-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  box-shadow: 0 10px 30px rgba(7, 20, 59, 0.06);
}

.ncdt-year-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.ncdt-year-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ncdt-year-select-wrap {
  display: grid;
  gap: 6px;
  min-width: 150px;
  margin: 0;
}

.ncdt-pill,
.ncdt-reset,
.ncdt-pagination button,
.ncdt-details-toggle,
.ncdt-card-toggle {
  min-height: 38px;
  border: 1px solid var(--ncdt-border);
  border-radius: 10px;
  background: #eef2f8;
  color: var(--ncdt-navy);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ncdt-pill {
  padding: 0 18px;
}

.ncdt-pill:hover,
.ncdt-reset:hover,
.ncdt-pagination button:hover,
.ncdt-details-toggle:hover,
.ncdt-card-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 51, 255, 0.35);
}


.ncdt-pill:focus-visible,
.ncdt-reset:focus-visible,
.ncdt-pagination button:focus-visible,
.ncdt-details-toggle:focus-visible,
.ncdt-card-toggle:focus-visible {
  outline: 2px solid var(--ncdt-blue);
  outline-offset: 2px;
  border-color: var(--ncdt-blue);
}

.ncdt-pill.is-active,
.ncdt-pagination button.is-active {
  background: var(--ncdt-blue);
  border-color: var(--ncdt-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 51, 255, 0.22);
}

.ncdt-filter-grid {
  display: grid;
  gap: 12px;
  align-items: end;
}

.ncdt-filter-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.ncdt-filter-grid input,
.ncdt-filter-grid select,
.ncdt-year-select-wrap select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--ncdt-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ncdt-ink);
  box-shadow: inset 0 1px 0 rgba(7, 20, 59, 0.03);
}

.ncdt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ncdt-reset {
  padding: 0 15px;
  background: #fff;
}

.ncdt-status {
  margin: 12px 0;
  color: var(--ncdt-muted);
  font-size: 12.8px;
  font-weight: 800;
}

.ncdt-table-wrap {
  width: 100%;
  border: 1px solid var(--ncdt-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--ncdt-shadow);
  overflow: hidden;
}

.ncdt-table {
  width: 100%;
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
}

.ncdt-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 13px 11px;
  background: #f0f4fa;
  color: var(--ncdt-navy);
  border-bottom: 1px solid var(--ncdt-border);
  font-size: 11px;
  line-height: 1.16;
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  user-select: none;
  vertical-align: bottom;
}

.ncdt-table thead th:last-child {
  cursor: default;
  text-align: center;
}

.ncdt-table tbody td {
  padding: 14px 11px;
  border-bottom: 1px solid #edf1f7;
  color: #26364e;
  line-height: 1.35;
  vertical-align: middle;
  overflow-wrap: anywhere;
  word-break: normal;
}

.ncdt-table tbody td {
  overflow: hidden;
}

.ncdt-table tbody td:nth-child(4) {
  overflow: visible;
}

.ncdt-table tbody td:nth-child(5),
.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7) {
  white-space: normal;
}


.ncdt-table tbody tr.ncdt-main-row:nth-of-type(4n + 1) td {
  background: #fbfcff;
}

.ncdt-table tbody tr.ncdt-main-row:hover td,
.ncdt-table tbody tr.ncdt-main-row.is-open td {
  background: #f6f8ff;
}

.ncdt-year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef3ff;
  color: var(--ncdt-navy);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.ncdt-company-td {
  min-width: 0;
}

.ncdt-company-cell,
.ncdt-card-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ncdt-company-stack,
.ncdt-card-title-area {
  min-width: 0;
}

.ncdt-logo-wrap {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f3;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(7, 20, 59, 0.08);
  overflow: hidden;
}

.ncdt-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ncdt-logo-fallback {
  position: relative;
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 43, 91, 0.10), rgba(214, 160, 43, 0.16));
}

.ncdt-logo-fallback::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--ncdt-navy);
  border-radius: 4px;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.ncdt-logo-fallback::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ncdt-gold);
}

.ncdt-table .ncdt-ticker {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 51, 255, 0.08);
  color: var(--ncdt-blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ncdt-table .ncdt-dividend {
  color: var(--ncdt-green);
  font-weight: 850;
  white-space: nowrap;
}

.ncdt-table .ncdt-bonus {
  display: inline-block;
  max-width: 100%;
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(214, 160, 43, 0.12);
  color: #8a5f00;
  font-weight: 850;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: center;
  line-height: 1.25;
}

.ncdt-table .ncdt-company {
  display: block;
  color: var(--ncdt-navy);
  font-weight: 850;
  line-height: 1.25;
}

.ncdt-cell-meta {
  display: block;
  margin-top: 4px;
  color: var(--ncdt-muted);
  font-size: 11.5px;
  line-height: 1.25;
}

.ncdt-table .ncdt-muted-cell {
  color: #7a8699;
}

.ncdt-details-cell {
  text-align: center;
}

.ncdt-details-toggle,
.ncdt-card-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 96px;
  padding: 0 12px;
  background: #fff;
  color: var(--ncdt-blue);
  border-color: rgba(0, 51, 255, 0.25);
  white-space: nowrap;
  line-height: 1;
}

.ncdt-detail-row td {
  padding: 0 !important;
  background: #fff !important;
  border-bottom: 1px solid #dde6f4;
}

.ncdt-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f8faff);
}

.ncdt-detail-field {
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  background: #fff;
}

.ncdt-detail-field span,
.ncdt-card-grid span {
  display: block;
  color: var(--ncdt-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ncdt-detail-field strong,
.ncdt-card-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--ncdt-ink);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ncdt-detail-field.is-empty strong {
  color: #8792a5;
}

.ncdt-cards {
  display: none;
}

.ncdt-card {
  padding: 16px;
  border: 1px solid var(--ncdt-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(7, 20, 59, 0.07);
}

.ncdt-card + .ncdt-card {
  margin-top: 12px;
}

.ncdt-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ncdt-card-title-area {
  flex: 1 1 auto;
}

.ncdt-card-title {
  margin: 0;
  color: var(--ncdt-navy);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 850;
}

.ncdt-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ncdt-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f0f4ff;
  color: var(--ncdt-blue);
  font-size: 12px;
  font-weight: 850;
}

.ncdt-card-payout {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.ncdt-chip-strong {
  color: var(--ncdt-green);
  background: rgba(15, 138, 95, 0.08);
  white-space: nowrap;
}

.ncdt-chip-bonus {
  color: #8a5f00;
  background: rgba(214, 160, 43, 0.13);
  white-space: normal;
  text-align: right;
}

.ncdt-card-summary {
  margin-bottom: 12px;
}

.ncdt-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ncdt-card-grid div {
  padding: 9px;
  border-radius: 12px;
  background: #f8faff;
}

.ncdt-card-toggle {
  width: 100%;
  margin-top: 12px;
}

.ncdt-card-details[hidden] {
  display: none;
}

.ncdt-card-details {
  margin-top: 12px;
}

.ncdt-empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--ncdt-muted);
  font-weight: 800;
}

.ncdt-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
}

.ncdt-pagination button {
  min-width: 38px;
  padding: 0 10px;
  background: #fff;
}

.ncdt-pagination button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.ncdt-admin .ncdt-admin-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.ncdt-admin-card,
.ncdt-admin-panel {
  padding: 18px;
  border: 1px solid #dce4f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 20, 59, 0.06);
}

.ncdt-admin-card strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  color: #07143b;
}

.ncdt-admin-label {
  color: #61708a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ncdt-admin-panel {
  margin-top: 16px;
}

.ncdt-admin-panel pre {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
  background: #07143b;
  color: #fff;
}

@container (max-width: 980px) {
  .ncdt-table-wrap {
    display: none;
  }

  .ncdt-cards {
    display: block;
  }

  .ncdt-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .netcap-dividend-tracker {
    width: min(100%, calc(100vw - 24px));
  }

  .ncdt-table {
    font-size: 12.5px;
  }

  .ncdt-table thead th,
  .ncdt-table tbody td {
    padding-left: 8px;
    padding-right: 8px;
  }

  .ncdt-details-toggle {
    min-width: 104px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 980px) {
  .netcap-dividend-tracker {
    width: min(100%, calc(100vw - 24px));
    max-width: 760px !important;
  }

  .ncdt-hero,
  .ncdt-year-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ncdt-hero-badge {
    align-self: stretch;
  }

  .ncdt-kpis,
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ncdt-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ncdt-table-wrap {
    display: none;
  }

  .ncdt-cards {
    display: block;
  }
}

@media (max-width: 620px) {
  .netcap-dividend-tracker {
    width: calc(100vw - 20px);
  }

  .ncdt-hero {
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .ncdt-kpis,
  .ncdt-filter-grid,
  .ncdt-card-grid,
  .ncdt-detail-grid,
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: 1fr;
  }

  .ncdt-controls {
    padding: 14px;
  }

  .ncdt-pill {
    flex: 1 1 auto;
  }

  .ncdt-card-head {
    align-items: flex-start;
  }

  .ncdt-card-payout {
    align-items: flex-start;
  }
}

/* v1.4.0 forensic-clean data layout refinements */
.ncdt-kpi {
  text-align: left;
  font-family: inherit;
}

button.ncdt-kpi {
  cursor: pointer;
  appearance: none;
}

.ncdt-kpi-action {
  position: relative;
}

.ncdt-kpi-action em {
  display: inline-flex;
  margin-top: 6px;
  color: var(--ncdt-blue);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ncdt-kpi-action.is-active {
  border-color: rgba(0, 51, 255, 0.45);
  box-shadow: 0 12px 30px rgba(0, 51, 255, 0.14);
}

.ncdt-kpi-action:focus-visible {
  outline: 2px solid var(--ncdt-blue);
  outline-offset: 2px;
  border-color: var(--ncdt-blue);
}

.ncdt-filter-grid {
  grid-template-columns: minmax(250px, 1.35fr) minmax(160px, 0.85fr) minmax(145px, 0.65fr) minmax(140px, 0.65fr) minmax(96px, 0.35fr);
}

.ncdt-table thead th:nth-child(5),
.ncdt-table tbody td.ncdt-bonus-cell {
  text-align: center;
  vertical-align: middle;
}

.ncdt-table tbody td.ncdt-bonus-cell {
  overflow: visible;
  padding-left: 8px;
  padding-right: 8px;
}

.ncdt-table .ncdt-bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  min-width: 54px;
  line-height: 1.2;
}

.ncdt-detail-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #fff, #f8faff);
}

.ncdt-detail-section {
  min-width: 0;
  border: 1px solid #e3e9f4;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.ncdt-detail-section h4 {
  margin: 0;
  padding: 11px 13px;
  background: #f0f4fa;
  color: var(--ncdt-navy);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ncdt-detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ncdt-detail-table th,
.ncdt-detail-table td {
  padding: 9px 12px;
  border-top: 1px solid #edf1f7;
  vertical-align: top;
  font-size: 12.5px;
  line-height: 1.35;
}

.ncdt-detail-table th {
  width: 42%;
  color: var(--ncdt-muted);
  font-weight: 850;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ncdt-detail-table td {
  color: var(--ncdt-ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.ncdt-detail-table a {
  color: var(--ncdt-blue);
  text-decoration: none;
  font-weight: 800;
}

.ncdt-detail-table a:hover {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .ncdt-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ncdt-detail-sections {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .ncdt-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ncdt-filter-grid,
  .ncdt-detail-sections {
    grid-template-columns: 1fr;
  }
}


/* v1.4.1 table edge and source-link refinements */
.ncdt-table-wrap {
  overflow: hidden;
}

.ncdt-details-cell {
  padding-left: 8px !important;
  padding-right: 8px !important;
  overflow: visible !important;
}

.ncdt-details-toggle {
  width: 100%;
  min-width: 0;
  max-width: 126px;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  white-space: nowrap;
}

.ncdt-table thead th:last-child {
  padding-left: 8px;
  padding-right: 8px;
}

.ncdt-detail-table td a {
  word-break: break-word;
}

@media (max-width: 1180px) {
  .ncdt-details-toggle {
    min-width: 0;
    max-width: 118px;
    font-size: 12.5px;
  }
}

/* v1.4.2 branded expanded-details headers */
.ncdt-detail-sections {
  padding: 18px;
  gap: 16px;
  background:
    radial-gradient(circle at top left, rgba(0, 51, 255, 0.075), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.ncdt-detail-section {
  border-color: rgba(0, 51, 255, 0.12);
  box-shadow: 0 10px 28px rgba(11, 31, 68, 0.055);
}

.ncdt-detail-section h4 {
  padding: 12px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #08235f 0%, #0033ff 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}

.ncdt-detail-section:nth-child(2) h4 {
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
}

.ncdt-detail-section:nth-child(3) h4 {
  background: linear-gradient(135deg, #7c2d12 0%, #f59e0b 100%);
}

.ncdt-detail-table tr:first-child th,
.ncdt-detail-table tr:first-child td {
  border-top: 0;
}

@media (max-width: 620px) {
  .ncdt-detail-sections {
    padding: 12px;
    gap: 12px;
  }

  .ncdt-detail-section h4 {
    padding: 11px 12px;
    font-size: 11.5px;
  }
}


/* v1.4.4 KPI drill-down panels */
.ncdt-insight-panel {
  margin: 14px 0 16px;
  padding: 16px;
  border: 1px solid rgba(0, 51, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 12px 32px rgba(7, 20, 59, 0.07);
}

.ncdt-insight-panel[hidden] {
  display: none !important;
}

.ncdt-insight-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  align-items: start;
  margin-bottom: 14px;
}

.ncdt-insight-head h3 {
  margin: 0;
  color: var(--ncdt-navy);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
}

.ncdt-insight-head p {
  grid-column: 1 / 2;
  margin: 0;
  color: var(--ncdt-muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 650;
}

.ncdt-insight-close {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--ncdt-border);
  border-radius: 10px;
  background: #fff;
  color: var(--ncdt-navy);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.ncdt-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  max-height: 420px;
  overflow: auto;
  padding-right: 2px;
}

.ncdt-insight-card {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--ncdt-border);
  border-radius: 14px;
  background: #fff;
  color: var(--ncdt-ink);
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ncdt-insight-card:hover,
.ncdt-insight-close:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 51, 255, 0.34);
  box-shadow: 0 10px 24px rgba(0, 51, 255, 0.11);
}

.ncdt-insight-card:focus-visible,
.ncdt-insight-close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--ncdt-blue);
  box-shadow: 0 10px 24px rgba(0, 51, 255, 0.11);
  outline: 2px solid var(--ncdt-blue);
  outline-offset: 2px;
}

.ncdt-insight-card strong {
  color: var(--ncdt-navy);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 850;
}

.ncdt-insight-card span {
  color: var(--ncdt-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.ncdt-insight-card em {
  color: var(--ncdt-green);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.ncdt-year-insight strong {
  font-size: 22px;
}

@media (max-width: 640px) {
  .ncdt-insight-head {
    grid-template-columns: 1fr;
  }

  .ncdt-insight-head p,
  .ncdt-insight-close {
    grid-column: auto;
    grid-row: auto;
  }

  .ncdt-insight-grid {
    grid-template-columns: 1fr;
    max-height: 360px;
  }
}


/* v1.4.7/v1.4.8 KPI row, upcoming qualification filter and mobile refinements */
.ncdt-kpis {
  grid-template-columns: repeat(6, minmax(118px, 1fr));
  gap: 10px;
}

.ncdt-admin .ncdt-admin-grid {
}

.ncdt-sector-insight strong {
  font-size: 15px;
}

@media (max-width: 1100px) {
  .ncdt-kpis,
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ncdt-kpis,
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .ncdt-kpis,
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.4.7/v1.4.8 compact six-KPI desktop row */
.ncdt-kpis {
  grid-template-columns: repeat(6, minmax(118px, 1fr));
  gap: 10px;
}

.ncdt-kpi {
  padding: 14px 12px;
}

.ncdt-kpi span {
  white-space: nowrap;
  font-size: 10.5px;
  letter-spacing: 0.035em;
}

.ncdt-kpi strong {
  font-size: 23px;
}

.ncdt-kpi-action em {
  min-height: 1.2em;
  line-height: 1.2;
}

@media (max-width: 980px) {
  .ncdt-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ncdt-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ncdt-kpi span {
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .ncdt-kpis {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .ncdt-kpis {
    grid-template-columns: repeat(6, minmax(118px, 1fr));
  }
}

/* v1.5.0 mobile expanded-details contrast and compact details sections */
.ncdt-card-details.ncdt-detail-sections {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(0, 51, 255, 0.10);
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(0, 51, 255, 0.06), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.ncdt-card-details.ncdt-detail-sections[hidden] {
  display: none !important;
}

.ncdt-card-details .ncdt-detail-section {
  box-shadow: 0 8px 22px rgba(7, 20, 59, 0.055);
}

.ncdt-card-details .ncdt-detail-section h4 {
  color: #ffffff !important;
  background: linear-gradient(135deg, #08235f 0%, #0033ff 100%) !important;
}

.ncdt-card-details .ncdt-detail-section:nth-child(2) h4 {
  background: linear-gradient(135deg, #064e3b 0%, #059669 100%) !important;
}

.ncdt-card-details .ncdt-detail-section:nth-child(3) h4 {
  background: linear-gradient(135deg, #7c2d12 0%, #f59e0b 100%) !important;
}

@media (max-width: 620px) {
  .ncdt-card-details.ncdt-detail-sections {
    gap: 12px;
    padding: 10px;
  }

  .ncdt-card-details .ncdt-detail-table th,
  .ncdt-card-details .ncdt-detail-table td {
    display: block;
    width: 100%;
    padding: 8px 10px;
  }

  .ncdt-card-details .ncdt-detail-table th {
    padding-bottom: 2px;
    border-top: 1px solid #edf1f7;
  }

  .ncdt-card-details .ncdt-detail-table td {
    padding-top: 2px;
    border-top: 0;
  }
}


/* Dividend table and disclaimer refinements */
.ncdt-col-company { width: 27%; }
.ncdt-col-period { width: 10%; }
.ncdt-col-dividend { width: 8%; }
.ncdt-col-bonus { width: 15%; }
.ncdt-col-type { width: 10%; }
.ncdt-col-date { width: 11%; }
.ncdt-col-details { width: 8%; }


.ncdt-disclaimer {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 51, 255, 0.14);
  border-radius: 16px;
  background: #f8faff;
  color: var(--ncdt-muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.ncdt-disclaimer strong {
  color: var(--ncdt-navy);
}

/* Correct column-specific wrapping for the public table. */
.ncdt-table tbody td:nth-child(5) {
  overflow: visible;
}

.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7),
.ncdt-table tbody td:nth-child(8) {
  white-space: normal;
}


/* v1.5.9 admin record editor */
.ncdt-admin-record-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}
.ncdt-admin-record-filter input[type="search"] {
  min-width: 260px;
}
.ncdt-admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe6f3;
  border-radius: 12px;
  background: #fff;
}
.ncdt-admin-records th,
.ncdt-admin-records td {
  vertical-align: middle;
  white-space: nowrap;
}
.ncdt-admin-edit-form {
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0 18px;
  background: #f8fbff;
}


/* v1.5.20 frontend polish: remove edge clipping on the details action column. */
.ncdt-table,
.ncdt-table *,
.ncdt-details-toggle {
  box-sizing: border-box;
}

.ncdt-table thead th:last-child,
.ncdt-table tbody td.ncdt-details-cell {
  padding-left: 10px !important;
  padding-right: 12px !important;
}

.ncdt-details-cell {
  overflow: visible !important;
}

.ncdt-details-toggle {
  width: 100%;
  min-width: 92px;
  max-width: 132px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 12.5px;
}

.ncdt-col-company { width: 25%; }
.ncdt-col-period { width: 10%; }
.ncdt-col-dividend { width: 8%; }
.ncdt-col-bonus { width: 12%; }
.ncdt-col-type { width: 9%; }
.ncdt-col-date { width: 10%; }
.ncdt-col-details { width: 16%; }

@media (max-width: 1180px) {
  .ncdt-details-toggle {
    min-width: 88px;
    max-width: 124px;
    font-size: 12px;
  }
}

/* v1.5.21 backend dashboard, paginated editor and table alignment refinements. */
.ncdt-admin {
  max-width: 1240px;
}

.ncdt-admin h1 {
  margin: 12px 0 16px;
  color: #07143b;
  font-weight: 850;
}

.ncdt-admin .ncdt-admin-grid {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
}

.ncdt-admin-card {
  min-height: 92px;
  padding: 18px 20px;
  border-color: #dfe7f3;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.ncdt-admin-card strong {
  font-size: 30px;
  line-height: 1.05;
}

.ncdt-admin-panel {
  padding: 22px;
  border-radius: 16px;
}

.ncdt-admin-panel h2 {
  margin-top: 0;
  color: #07143b;
  font-size: 18px;
  font-weight: 850;
}

.ncdt-admin-record-filter {
  align-items: flex-end;
  gap: 12px;
}

.ncdt-admin-record-filter label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.ncdt-admin-record-filter label span {
  color: #61708a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ncdt-admin-record-filter input[type="search"],
.ncdt-admin-record-filter select {
  min-height: 34px;
}

.ncdt-admin-record-filter input[type="search"] {
  min-width: 280px;
}

.ncdt-admin-result-summary {
  margin: 10px 0 12px;
  color: #61708a;
  font-weight: 650;
}

.ncdt-admin-table-wrap {
  border-radius: 14px;
}

.ncdt-admin-records th {
  color: #07143b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.ncdt-admin-records td:first-child,
.ncdt-admin-audit-log td:nth-child(4) {
  white-space: normal;
}

.ncdt-admin-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}

.ncdt-admin-pagination .button.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ncdt-admin-audit-log td,
.ncdt-admin-audit-log th {
  vertical-align: top;
}

.ncdt-admin-edit-form {
  border-color: rgba(0, 51, 255, 0.16);
  background: linear-gradient(180deg, #f8fbff, #fff);
}

/* Correct desktop column widths after simplifying the public table. */
.ncdt-col-company { width: 26%; }
.ncdt-col-period { width: 10%; }
.ncdt-col-dividend { width: 8%; }
.ncdt-col-bonus { width: 10%; }
.ncdt-col-type { width: 9%; }
.ncdt-col-date { width: 12%; }
.ncdt-col-details { width: 13%; }

.ncdt-table thead th:nth-child(4),
.ncdt-table tbody td.ncdt-bonus-cell {
  text-align: center !important;
  vertical-align: middle;
}

.ncdt-table tbody td.ncdt-bonus-cell {
  overflow: visible !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.ncdt-table .ncdt-bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  min-width: 54px;
  text-align: center;
  white-space: nowrap;
}

.ncdt-table thead th:nth-child(6),
.ncdt-table thead th:nth-child(7),
.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7) {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.ncdt-table thead th:nth-child(6),
.ncdt-table thead th:nth-child(7) {
  line-height: 1.15;
}

.ncdt-details-toggle {
  max-width: 128px;
}

@media (max-width: 1100px) {
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ncdt-admin-record-filter input[type="search"] {
    min-width: 220px;
  }
}

@media (max-width: 520px) {
  .ncdt-admin .ncdt-admin-grid,
  .ncdt-admin-record-filter label,
  .ncdt-admin-record-filter input[type="search"],
  .ncdt-admin-record-filter select {
    width: 100%;
  }
  .ncdt-admin .ncdt-admin-grid {
    grid-template-columns: 1fr;
  }
}

/* v1.5.22 public table column balance.
   Reduce short Type/Bonus columns and reallocate space to the date columns so
   Qualification Date and Payment Date stay on one line without manual offsets. */
.ncdt-col-company { width: 25%; }
.ncdt-col-period { width: 10%; }
.ncdt-col-dividend { width: 8%; }
.ncdt-col-bonus { width: 8%; }
.ncdt-col-type { width: 8%; }
.ncdt-col-date { width: 14%; }
.ncdt-col-details { width: 13%; }

.ncdt-table thead th:nth-child(5),
.ncdt-table tbody td:nth-child(5) {
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.ncdt-table thead th:nth-child(6),
.ncdt-table thead th:nth-child(7),
.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7) {
  text-align: left;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.ncdt-table thead th:nth-child(6),
.ncdt-table thead th:nth-child(7) {
  line-height: 1.05;
  letter-spacing: 0.012em;
}

.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7) {
  padding-left: 9px;
  padding-right: 9px;
}


/* v1.5.28 public-table integrity fix.
   Long distribution labels may wrap inside Type, but must never spill into the
   qualification-date column. Date cells retain their full value and cannot be
   visually clipped by an adjacent cell. */
.ncdt-col-company { width: 24%; }
.ncdt-col-period { width: 9%; }
.ncdt-col-dividend { width: 8%; }
.ncdt-col-bonus { width: 7%; }
.ncdt-col-type { width: 12%; }
.ncdt-col-date { width: 13%; }
.ncdt-col-details { width: 14%; }

.ncdt-table thead th:nth-child(5),
.ncdt-table tbody td:nth-child(5) {
  white-space: normal !important;
  overflow: hidden !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.25;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.ncdt-table thead th:nth-child(6),
.ncdt-table thead th:nth-child(7),
.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7) {
  white-space: nowrap !important;
  overflow: hidden !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-overflow: clip;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.ncdt-table tbody td:nth-child(6),
.ncdt-table tbody td:nth-child(7) {
  min-width: 0;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .ncdt-col-company { width: 23%; }
  .ncdt-col-period { width: 9%; }
  .ncdt-col-dividend { width: 8%; }
  .ncdt-col-bonus { width: 7%; }
  .ncdt-col-type { width: 13%; }
  .ncdt-col-date { width: 13%; }
  .ncdt-col-details { width: 14%; }

  .ncdt-table thead th,
  .ncdt-table tbody td {
    font-size: 12px;
  }
}


/* v1.5.29 institutional dashboard header and summary strip */
.netcap-dividend-tracker .ncdt-hero {
  align-items: center;
  min-height: 0;
  padding: 24px 28px;
  gap: 32px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.13), transparent 27%),
    linear-gradient(118deg, #071743 0%, #102e95 56%, #3156d8 100%);
  box-shadow: 0 15px 34px rgba(7, 23, 67, 0.15);
}

.netcap-dividend-tracker .ncdt-hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.netcap-dividend-tracker .ncdt-eyebrow {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.70);
}

.netcap-dividend-tracker .ncdt-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(36px, 4.15vw, 52px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.netcap-dividend-tracker .ncdt-hero p {
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.90);
}

.netcap-dividend-tracker .ncdt-hero-badge {
  align-self: center;
  min-width: 176px;
  padding: 15px 17px 14px;
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  text-align: left;
}

.netcap-dividend-tracker .ncdt-hero-badge span {
  font-size: 10.5px;
  letter-spacing: 0.075em;
}

.netcap-dividend-tracker .ncdt-hero-badge strong {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 5px;
  font-size: 36px;
  letter-spacing: -0.035em;
}

.netcap-dividend-tracker .ncdt-hero-badge strong small {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.netcap-dividend-tracker .ncdt-hero-badge em {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.netcap-dividend-tracker .ncdt-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 1px;
  margin: 14px 0 16px;
  padding: 1px;
  overflow: hidden;
  border: 1px solid #dfe6f1;
  border-radius: 20px;
  background: #dfe6f1;
  box-shadow: 0 10px 28px rgba(7, 23, 67, 0.075);
}

.netcap-dividend-tracker .ncdt-kpi {
  position: relative;
  min-height: 118px;
  padding: 18px 16px 15px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  text-align: left;
  transition: background-color 160ms ease, transform 160ms ease;
}

.netcap-dividend-tracker .ncdt-kpi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #0f2b5b;
}

.netcap-dividend-tracker .ncdt-kpi--companies::before { background: #1e4e8c; }
.netcap-dividend-tracker .ncdt-kpi--years::before { background: #3156d8; }
.netcap-dividend-tracker .ncdt-kpi--sectors::before { background: #64748b; }
.netcap-dividend-tracker .ncdt-kpi--qualifications::before { background: #c18a17; }
.netcap-dividend-tracker .ncdt-kpi--payments::before { background: #0f8a5f; }

.netcap-dividend-tracker .ncdt-kpi:hover {
  z-index: 1;
  background: #f8faff;
  transform: translateY(-1px);
}

.netcap-dividend-tracker .ncdt-kpi span {
  white-space: normal;
  color: #60708b;
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: 0.055em;
}

.netcap-dividend-tracker .ncdt-kpi strong {
  margin-top: 9px;
  color: #071743;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.netcap-dividend-tracker .ncdt-kpi-action em {
  display: block;
  min-height: 0;
  margin-top: 10px;
  color: #36506f;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.netcap-dividend-tracker .ncdt-kpi-action em::after {
  content: "  →";
  color: #1747d1;
  font-weight: 900;
}

.netcap-dividend-tracker .ncdt-kpi-action.is-active {
  background: #f3f7ff;
  box-shadow: inset 0 0 0 2px rgba(0, 51, 255, 0.28);
}

@media (max-width: 980px) {
  .netcap-dividend-tracker .ncdt-hero {
    gap: 18px;
    padding: 23px 24px;
  }

  .netcap-dividend-tracker .ncdt-hero-badge {
    align-self: stretch;
    min-width: 0;
    text-align: left;
  }

  .netcap-dividend-tracker .ncdt-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .netcap-dividend-tracker .ncdt-hero {
    padding: 20px;
    border-radius: 18px;
  }

  .netcap-dividend-tracker .ncdt-hero h2 {
    font-size: clamp(32px, 11vw, 42px);
  }

  .netcap-dividend-tracker .ncdt-hero p {
    font-size: 14.5px;
  }

  .netcap-dividend-tracker .ncdt-hero-badge strong {
    font-size: 32px;
  }

  .netcap-dividend-tracker .ncdt-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 17px;
  }

  .netcap-dividend-tracker .ncdt-kpi {
    min-height: 108px;
    padding: 16px 14px 14px;
  }
}

@media (max-width: 390px) {
  .netcap-dividend-tracker .ncdt-kpis {
    grid-template-columns: 1fr;
  }
}


/* v1.5.30 compact institutional hero and narrow-container hardening */
.netcap-dividend-tracker .ncdt-hero {
  padding: 19px 28px;
  gap: 26px;
  border-radius: 21px;
  min-height: 0;
}

.netcap-dividend-tracker .ncdt-hero h2 {
  margin: 0 0 7px;
  font-size: clamp(42px, 4.45vw, 58px);
  line-height: 0.98;
}

.netcap-dividend-tracker .ncdt-hero p {
  max-width: 820px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.42;
}

.netcap-dividend-tracker .ncdt-hero-badge {
  min-width: 174px;
  padding: 13px 16px 12px;
  border-radius: 17px;
}

.netcap-dividend-tracker .ncdt-hero-badge strong {
  margin-top: 3px;
  font-size: 35px;
}

.netcap-dividend-tracker .ncdt-hero-badge em {
  margin-top: 3px;
}

.netcap-dividend-tracker .ncdt-kpis {
  margin-top: 12px;
}

/* Dates must never collide; ellipsis signals constrained-width truncation. */
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(6),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(7) {
  text-overflow: ellipsis !important;
}

@media (max-width: 980px) {
  .netcap-dividend-tracker .ncdt-hero {
    padding: 19px 22px;
  }
}

@media (max-width: 620px) {
  .netcap-dividend-tracker .ncdt-hero {
    padding: 18px;
  }
  .netcap-dividend-tracker .ncdt-hero h2 {
    font-size: clamp(36px, 12vw, 46px);
  }
}




@media (forced-colors: active) {
  .netcap-dividend-tracker .ncdt-insight-card:focus-visible,
  .netcap-dividend-tracker .ncdt-insight-close:focus-visible,
  .netcap-dividend-tracker .ncdt-pill:focus-visible,
  .netcap-dividend-tracker .ncdt-reset:focus-visible,
  .netcap-dividend-tracker .ncdt-pagination button:focus-visible,
  .netcap-dividend-tracker .ncdt-details-toggle:focus-visible,
  .netcap-dividend-tracker .ncdt-card-toggle:focus-visible,
  .netcap-dividend-tracker .ncdt-kpi-action:focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: 2px;
    forced-color-adjust: auto;
  }
}


/* v1.5.32 accessibility: respect the operating-system reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  .netcap-dividend-tracker *,
  .netcap-dividend-tracker *::before,
  .netcap-dividend-tracker *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .netcap-dividend-tracker .ncdt-pill:hover,
  .netcap-dividend-tracker .ncdt-reset:hover,
  .netcap-dividend-tracker .ncdt-pagination button:hover,
  .netcap-dividend-tracker .ncdt-details-toggle:hover,
  .netcap-dividend-tracker .ncdt-card-toggle:hover,
  .netcap-dividend-tracker .ncdt-insight-card:hover,
  .netcap-dividend-tracker .ncdt-insight-card:focus-visible,
  .netcap-dividend-tracker .ncdt-insight-close:hover,
  .netcap-dividend-tracker .ncdt-insight-close:focus-visible,
  .netcap-dividend-tracker .ncdt-kpi:hover {
    transform: none !important;
  }
}

/* v1.5.33-v1.5.34 public filter and table alignment refinement.
   Bonus is exposed as a virtual Type filter option by PHP/REST. The table
   uses explicit stacked date headings and centred data columns so Elementor and
   OceanWP containers retain a balanced institutional layout without collisions. */
.netcap-dividend-tracker .ncdt-th-stack {
  display: inline-block;
  text-align: center;
  line-height: 1.05;
  white-space: normal;
}

.netcap-dividend-tracker .ncdt-col-company { width: 25%; }
.netcap-dividend-tracker .ncdt-col-period { width: 9%; }
.netcap-dividend-tracker .ncdt-col-dividend { width: 8%; }
.netcap-dividend-tracker .ncdt-col-bonus { width: 7%; }
.netcap-dividend-tracker .ncdt-col-type { width: 11%; }
.netcap-dividend-tracker .ncdt-col-date { width: 13%; }
.netcap-dividend-tracker .ncdt-col-details { width: 14%; }

.netcap-dividend-tracker .ncdt-table thead th:nth-child(n + 2),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(n + 2) {
  text-align: center !important;
}

.netcap-dividend-tracker .ncdt-table thead th:nth-child(2),
.netcap-dividend-tracker .ncdt-table thead th:nth-child(6),
.netcap-dividend-tracker .ncdt-table thead th:nth-child(7) {
  vertical-align: middle;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: initial !important;
  line-height: 1.05;
}

.netcap-dividend-tracker .ncdt-table tbody td:nth-child(2),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(3),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(4),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(5),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(6),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(7) {
  vertical-align: middle;
}

.netcap-dividend-tracker .ncdt-table tbody td:nth-child(6),
.netcap-dividend-tracker .ncdt-table tbody td:nth-child(7) {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: initial !important;
}

.netcap-dividend-tracker .ncdt-table tbody td:nth-child(5) {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.25;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .netcap-dividend-tracker .ncdt-col-company { width: 23%; }
  .netcap-dividend-tracker .ncdt-col-period { width: 9%; }
  .netcap-dividend-tracker .ncdt-col-dividend { width: 8%; }
  .netcap-dividend-tracker .ncdt-col-bonus { width: 7%; }
  .netcap-dividend-tracker .ncdt-col-type { width: 12%; }
  .netcap-dividend-tracker .ncdt-col-date { width: 13%; }
  .netcap-dividend-tracker .ncdt-col-details { width: 15%; }
}


/* v1.5.39 production-theme compatibility hardening.
 * Some WordPress themes declare all buttons as inline-flex. KPI cards are
 * buttons, so that global rule can place their label, value and action on one
 * horizontal line. The component owns its internal layout explicitly here. */
.netcap-dividend-tracker .ncdt-kpis > button.ncdt-kpi {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  align-content: start !important;
  align-items: start !important;
  justify-content: stretch !important;
  justify-items: start !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: normal !important;
  font: inherit !important;
  line-height: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.netcap-dividend-tracker .ncdt-kpis > button.ncdt-kpi > span,
.netcap-dividend-tracker .ncdt-kpis > button.ncdt-kpi > strong,
.netcap-dividend-tracker .ncdt-kpis > button.ncdt-kpi > em {
  display: block !important;
  flex: none !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  align-self: start !important;
}

/* Keep native selects visually stable when a production theme globally
 * removes their browser appearance. */
.netcap-dividend-tracker .ncdt-year-select-wrap select,
.netcap-dividend-tracker .ncdt-filter-grid select {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  font: inherit !important;
  line-height: 1.25 !important;
}
