/* ── IPO GMP Hub ─────────────────────────────────────────────────────────────
   Reuses global tokens from main.css (--color-primary, --color-success,
   --color-danger, --text-base-color). Light + dark mode (body.ipoji-dark-mode).
   Responsive: table on desktop, stacked cards on mobile (via data-label). */

.gmp-hero { margin-top: 0.25rem; }
.gmp-hero-main { min-width: 0; }
.gmp-h1 {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.3rem);
  font-weight: 700;
  color: var(--text-base-color, #000d50);
  margin-bottom: 0.2rem;
  line-height: 1.18;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.gmp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid #d7f0d2;
  border-radius: 999px;
  background: #f0faee;
  color: #267a17;
  padding: 0.26rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.gmp-live-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success, #179200);
  box-shadow: 0 0 0 4px rgba(23, 146, 0, 0.1);
}
.gmp-subtitle {
  margin: 0 0 0.55rem;
  color: var(--color-primary, #6055cd);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  font-weight: 700;
}
.gmp-intro {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4b5563;
  max-width: 72ch;
  margin-bottom: 0;
}

/* Snapshot card (right of hero on desktop) — freshness + scope, no ranking */
.gmp-snapshot {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
  border: 1px solid #e6e8f5;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: none;
}
.gmp-snapshot-head {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary, #6055cd);
  margin-bottom: 0.7rem;
}
.gmp-snapshot-head i { color: var(--color-success, #179200); font-size: 0.6rem; vertical-align: middle; }
.gmp-snapshot-stats { margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.gmp-snapshot-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.gmp-snapshot-stats dt { font-size: 0.82rem; color: #6b7280; margin: 0; }
.gmp-snapshot-stats dd { font-size: 0.95rem; font-weight: 700; color: var(--text-base-color, #000d50); margin: 0; font-variant-numeric: tabular-nums; }
.gmp-snapshot-updated dd { font-size: 0.82rem; font-weight: 600; }
.gmp-snapshot-note {
  margin: 0.75rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid #eef0f6;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #9098a8;
}

@media (min-width: 992px) {
  .gmp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #e2e5f4;
    border-radius: 18px;
    background:
      radial-gradient(circle at 88% 8%, rgba(96, 85, 205, 0.12), transparent 26%),
      linear-gradient(135deg, #ffffff 0%, #f7f7ff 100%);
    box-shadow: 0 10px 28px rgba(28, 37, 76, 0.06);
  }
  .gmp-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.2rem 0.35rem;
  }
  .gmp-snapshot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(96, 85, 205, 0.16);
  }
  .gmp-snapshot-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .gmp-snapshot-stats > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.12rem;
    border-radius: 9px;
    background: #f8f8ff;
    padding: 0.55rem 0.65rem;
  }
  .gmp-snapshot-stats .gmp-snapshot-updated {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .gmp-snapshot-note { margin-top: 0.6rem; }
}

/* GMP-not-available marker */
.gmp-na { color: #aab0c0; font-weight: 500; }

/* Disclaimer card — prominent, sits directly above the data */
.gmp-disclaimer {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #fff8e6;
  border: 1px solid #f5d98b;
  border-left: 4px solid #e6a700;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.1rem;
}
.gmp-disclaimer-icon { color: #c98a00; font-size: 1.05rem; line-height: 1.5; flex-shrink: 0; }
.gmp-disclaimer-body { font-size: 0.85rem; line-height: 1.55; color: #5b4a1a; }
.gmp-disclaimer-body strong { color: #4a3c11; }
.gmp-disclaimer-body a { color: var(--color-primary, #6055cd); font-weight: 600; text-decoration: none; }
.gmp-disclaimer-body a:hover { text-decoration: underline; }
.gmp-disclaimer-more { display: inline; margin-left: 0.25rem; }
.gmp-disclaimer-more summary {
  display: inline;
  cursor: pointer;
  color: var(--color-primary, #6055cd);
  font-weight: 700;
  list-style: none;
}
.gmp-disclaimer-more summary::-webkit-details-marker { display: none; }
.gmp-disclaimer-more summary::after { content: " +"; }
.gmp-disclaimer-more[open] summary::after { content: " −"; }
.gmp-disclaimer-more[open] { display: block; margin: 0.45rem 0 0; }
.gmp-disclaimer-more div { margin-top: 0.35rem; }

/* Controls: source/freshness + filters */
.gmp-controls { margin-bottom: 0.9rem; }
.gmp-search-wrap {
  position: relative;
  width: min(100%, 340px);
  margin-bottom: 0.65rem;
}
.gmp-search-wrap i {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  color: #7b8495;
  pointer-events: none;
}
.gmp-search {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d9ddf0;
  border-radius: 10px;
  background: #fff;
  color: var(--text-base-color, #000d50);
  padding: 0.55rem 0.8rem 0.55rem 2.35rem;
  font-size: 0.88rem;
  outline: 0;
}
.gmp-search:focus {
  border-color: var(--color-primary, #6055cd);
  box-shadow: 0 0 0 3px rgba(96, 85, 205, 0.14);
}
.gmp-result-count {
  min-height: 1.1rem;
  margin: 0.55rem 0 0;
  color: #6b7280;
  font-size: 0.78rem;
}
.gmp-source-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}
.gmp-source { font-size: 0.82rem; color: #6b7280; }
.gmp-source i { color: var(--color-success, #179200); font-size: 0.6rem; vertical-align: middle; }
.gmp-updated { font-size: 0.82rem; color: #374151; font-weight: 600; }

.gmp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
  justify-content: space-between;
}

/* Segmented type filter (reuses the look of .seg-filter elsewhere) */
.gmp-seg {
  position: relative;
  display: inline-flex;
  background: #eef0fb;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.gmp-seg .seg-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 0;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(96, 85, 205, 0.18);
  transition: left 0.22s ease, width 0.22s ease;
  z-index: 0;
}
.gmp-seg .seg-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.gmp-seg .seg-btn.active { color: var(--color-primary, #6055cd); }
.gmp-seg .seg-count { font-weight: 500; opacity: 0.75; }

/* Status pills */
.gmp-status-pills { display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }
.gmp-pill {
  border: 1px solid #d9ddf7;
  background: #fff;
  color: #4b5563;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.gmp-pill:hover { border-color: var(--color-primary, #6055cd); color: var(--color-primary, #6055cd); }
.gmp-pill.active { background: var(--color-primary, #6055cd); border-color: var(--color-primary, #6055cd); color: #fff; }
.gmp-pill-toggle { margin-left: 0.35rem; }
.gmp-pill-toggle i { font-size: 0.62rem; opacity: 0.45; transition: opacity 0.15s ease; }
.gmp-pill-toggle.active i { opacity: 1; }
@media (min-width: 576px) {
  .gmp-pill-toggle { margin-left: 0.6rem; border-left-width: 1px; position: relative; }
}

/* Table */
.gmp-table-wrap {
  border: 1px solid #e6e8f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  background: #fff;
}
.gmp-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.gmp-table thead th {
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #6b7280;
  background: #f7f8fd;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #e6e8f5;
  white-space: nowrap;
}
.gmp-table td { padding: 0.7rem 0.85rem; border-bottom: 1px solid #eef0f6; color: var(--text-base-color, #000d50); vertical-align: middle; }
.gmp-table tbody tr:last-child td { border-bottom: 0; }
.gmp-table tbody tr:hover { background: #fafbff; }
.gmp-num { text-align: right; font-variant-numeric: tabular-nums; }
.gmp-table thead th.gmp-num { text-align: right; }
.gmp-col-name { text-align: left; min-width: 160px; }

.gmp-ipo-link { color: var(--text-base-color, #000d50); font-weight: 600; text-decoration: none; }
.gmp-ipo-link:hover { color: var(--color-primary, #6055cd); text-decoration: underline; }

/* Sortable headers */
.gmp-sortable { user-select: none; }
.gmp-sortable i { font-size: 0.7rem; opacity: 0.5; margin-left: 0.15rem; }
.gmp-sortable[aria-sort="ascending"] i,
.gmp-sortable[aria-sort="descending"] i { opacity: 1; color: var(--color-primary, #6055cd); }
.gmp-sort-btn {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  padding: 0.2rem;
  text-transform: inherit;
}
.gmp-sort-btn:focus-visible,
.gmp-pill:focus-visible,
.gmp-seg .seg-btn:focus-visible,
.gmp-disclaimer-more summary:focus-visible {
  outline: 3px solid rgba(96, 85, 205, 0.3);
  outline-offset: 2px;
}

/* Indicative-listing info tooltip */
.gmp-info { position: relative; display: inline-block; cursor: help; margin-left: 0.1rem; }
.gmp-info i { opacity: 0.7; }
.gmp-tip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: #1f2937;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease;
  z-index: 5;
  white-space: normal;
}
.gmp-info:hover .gmp-tip, .gmp-info:focus .gmp-tip { opacity: 1; visibility: visible; }

/* +/-/flat color coding (scoped to td so it beats the base `.gmp-table td` color) */
.gmp-table td.gmp-pos { color: var(--color-success, #179200); font-weight: 600; }
.gmp-table td.gmp-neg { color: var(--color-danger, #ec434a); font-weight: 600; }
.gmp-table td.gmp-flat { color: #6b7280; font-weight: 600; }
.gmp-muted { color: #9098a8; font-size: 0.82rem; }
.gmp-dates { font-size: 0.82rem; color: #4b5563; white-space: nowrap; }
.gmp-updated-time { display: block; color: #667085; font-size: 0.78rem; line-height: 1.35; }
.gmp-updated-time.is-stale { color: #8a5b00; }
.gmp-stale-badge {
  display: inline-block;
  margin-top: 0.18rem;
  border-radius: 999px;
  background: #fff2cc;
  color: #8a5b00;
  padding: 0.12rem 0.38rem;
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
}
.gmp-mobile-meta, .gmp-mobile-pct { display: none; }

/* Type badges */
.gmp-type-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.gmp-type-mainboard { background: #e7eefb; color: #1b387a; }
.gmp-type-bse-sme { background: #d1fae5; color: #047857; }
.gmp-type-nse-sme { background: #fef3c7; color: #b45309; }
.gmp-type-sme { background: #efe7fb; color: #5a1d9c; }

/* Status badges */
.gmp-status { font-size: 0.7rem; font-weight: 700; padding: 0.22rem 0.55rem; border-radius: 999px; white-space: nowrap; display: inline-flex; align-items: center; gap: 0.3rem; }
.gmp-status-open { background: #ffe4e4; color: #d12f36; }
.gmp-status-closed { background: #fff0d6; color: #b8770a; }
.gmp-status-upcoming { background: #e6efff; color: #2353c4; }

.gmp-empty-filter { text-align: center; color: #6b7280; padding: 1.4rem 0; margin: 0; }

/* Subtle app note */
.gmp-app-note {
  display: flex; align-items: center; gap: 0.55rem;
  margin: 1rem 0;
  font-size: 0.85rem;
  color: #4b5563;
}
.gmp-app-note i { color: var(--color-primary, #6055cd); }
.gmp-app-note a { color: var(--color-primary, #6055cd); font-weight: 600; text-decoration: none; }
.gmp-app-note a:hover { text-decoration: underline; }

/* Lower section: reading content + broker rail */
.gmp-lower { display: block; }
.gmp-lower-main { min-width: 0; }
.gmp-rail { margin-top: 1.6rem; }
.gmp-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}
.gmp-rail-head > span:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-base-color, #000d50);
}
.gmp-ad-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #9098a8;
  border: 1px solid #d9ddf7;
  border-radius: 4px;
  padding: 0.1rem 0.32rem;
}
.gmp-rail .addsList { display: flex; flex-direction: column; gap: 0.55rem; }
.gmp-rail .addsList .sideBox { max-width: 100% !important; margin-bottom: 0; }

@media (min-width: 992px) {
  .gmp-lower { display: flex; gap: 1.75rem; align-items: flex-start; }
  .gmp-lower-main { flex: 1 1 auto; }
  .gmp-rail { flex: 0 0 300px; width: 300px; margin-top: 0; position: sticky; top: 90px; }
}

/* Explainer */
.gmp-explainer { margin-top: 1.6rem; }
.gmp-explainer h2 { font-size: 1.1rem; font-weight: 700; color: var(--text-base-color, #000d50); margin: 1.1rem 0 0.4rem; }
.gmp-explainer p { font-size: 0.92rem; line-height: 1.65; color: #4b5563; max-width: 75ch; }
.gmp-explainer a { color: var(--color-primary, #6055cd); font-weight: 600; }
.gmp-terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
.gmp-terms-grid article {
  border: 1px solid #e6e8f5;
  border-radius: 10px;
  background: #fff;
  padding: 0.8rem;
}
.gmp-terms-grid h3 { margin: 0 0 0.3rem; font-size: 0.9rem; color: var(--text-base-color, #000d50); }
.gmp-terms-grid p { margin: 0; font-size: 0.82rem; line-height: 1.5; }
.gmp-terms-note { margin-top: 0.7rem; }
.gmp-methodology {
  margin-top: 1.4rem;
  border: 1px solid #dfe3f4;
  border-radius: 12px;
  background: #f8f9ff;
  padding: 0.9rem 1rem;
}
.gmp-methodology h2 { margin-top: 0; }
.gmp-methodology ul { margin: 0.4rem 0 0.7rem; padding-left: 1.2rem; }
.gmp-methodology li { margin-bottom: 0.35rem; color: #4b5563; font-size: 0.86rem; line-height: 1.55; }
.gmp-methodology p { margin-bottom: 0; font-size: 0.82rem; }

/* FAQ */
.gmp-faq { margin-top: 1.4rem; }
.gmp-faq-item {
  border: 1px solid #e6e8f5;
  border-radius: 10px;
  margin-bottom: 0.55rem;
  background: #fff;
  overflow: hidden;
}
.gmp-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-base-color, #000d50);
  position: relative;
  padding-right: 2.2rem;
}
.gmp-faq-item summary::-webkit-details-marker { display: none; }
.gmp-faq-item summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.78rem;
  color: var(--color-primary, #6055cd);
  transition: transform 0.2s ease;
}
.gmp-faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.gmp-faq-ans { padding: 0 1rem 0.9rem; }
.gmp-faq-ans .description, .gmp-faq-ans p { font-size: 0.88rem; line-height: 1.6; color: #4b5563; margin: 0; }

/* ── Mobile: collapse table into stacked cards ─────────────────────────────── */
@media (max-width: 768px) {
  .gmp-disclaimer { padding: 0.72rem 0.8rem; gap: 0.55rem; }
  .gmp-disclaimer-body { font-size: 0.8rem; line-height: 1.45; }
  .gmp-search-wrap { width: 100%; margin-bottom: 0.55rem; }
  .gmp-filter-row { display: block; overflow: hidden; }
  .gmp-seg,
  .gmp-status-pills {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
  }
  .gmp-seg .seg-btn,
  .gmp-status-pills .gmp-pill { flex: 0 0 auto; }
  .gmp-seg::-webkit-scrollbar,
  .gmp-status-pills::-webkit-scrollbar { display: none; }
  .gmp-status-pills { margin-top: 0.45rem; }
  .gmp-pill-toggle { margin-left: 0; }
  .gmp-table-wrap { border: 0; box-shadow: none; background: transparent; overflow: visible; }
  .gmp-table, .gmp-table tbody, .gmp-table tr, .gmp-table td { display: block; width: 100%; }
  .gmp-table thead { display: none; }
  .gmp-table tr.gmp-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
    border: 1px solid #e6e8f5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    margin-bottom: 0.7rem;
    padding: 0;
    overflow: hidden;
  }
  .gmp-table tr.gmp-row:hover { background: #fff; }
  .gmp-table td {
    display: flex;
    width: auto;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    border-bottom: 1px solid #f1f2f8;
    border-right: 1px solid #f1f2f8;
    padding: 0.55rem 0.65rem;
  }
  .gmp-table td:last-child { border-bottom: 0; border-right: 0; }
  .gmp-table td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #9098a8;
    text-align: left;
    margin: 0 0 0.28rem;
  }
  .gmp-table td.gmp-col-name {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
    border-bottom: 1px solid #eef0f6;
    border-right: 0;
    padding: 0.72rem 0.85rem;
  }
  .gmp-table td.gmp-col-name::before { display: none; }
  .gmp-table td.gmp-col-name .gmp-ipo-link { flex: 1 1 100%; font-size: 0.94rem; }
  .gmp-mobile-meta { display: inline-flex; width: 100%; align-items: center; gap: 0.3rem; margin-top: 0.35rem; }
  .gmp-mobile-pct { display: inline; font-size: 0.72rem; }
  .gmp-table td[data-label="Type"],
  .gmp-table td[data-label="Status"],
  .gmp-table td[data-label="GMP %"] { display: none; }
  .gmp-table td[data-label="Indicative Listing"] { border-right: 0; }
  .gmp-table td.gmp-secondary {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
    border-right: 0;
    padding: 0.48rem 0.85rem;
  }
  .gmp-table td.gmp-secondary::before { flex: 0 0 92px; margin: 0; }
  .gmp-updated-time { display: inline; }
  .gmp-stale-badge { margin: 0 0 0 auto; }
  .gmp-dates { white-space: normal; }
  .gmp-terms-grid { grid-template-columns: 1fr; }
}

/* ── Dark mode ─────────────────────────────────────────────────────────────── */
body.ipoji-dark-mode { background-color: #121212 !important; color: #e8eaed; }
body.ipoji-dark-mode .gmp-hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(124, 105, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #191927 0%, #161621 100%);
  border-color: #2f2f45;
  box-shadow: none;
}
body.ipoji-dark-mode .gmp-h1 { color: #e8eaed; }
body.ipoji-dark-mode .gmp-subtitle { color: #b9b1ff; }
body.ipoji-dark-mode .gmp-live-badge { background: #173018; border-color: #28592b; color: #9be08d; }
body.ipoji-dark-mode .gmp-snapshot { background: #1e1e2e; border-color: #2f2f45; box-shadow: none; }
body.ipoji-dark-mode .gmp-snapshot-head { color: #c4b5fd; }
body.ipoji-dark-mode .gmp-snapshot-stats > div { background: #232336; }
body.ipoji-dark-mode .gmp-snapshot-stats dt { color: #9098a8; }
body.ipoji-dark-mode .gmp-snapshot-stats dd { color: #e8eaed; }
body.ipoji-dark-mode .gmp-snapshot-note { color: #777e90; border-top-color: #2a2a3d; }
body.ipoji-dark-mode .gmp-na { color: #6b7280; }
body.ipoji-dark-mode .gmp-intro,
body.ipoji-dark-mode .gmp-explainer p,
body.ipoji-dark-mode .gmp-faq-ans .description,
body.ipoji-dark-mode .gmp-faq-ans p,
body.ipoji-dark-mode .gmp-app-note { color: #b6bccb; }

body.ipoji-dark-mode .gmp-disclaimer { background: #2e2600; border-color: #5a4a12; border-left-color: #e6a700; }
body.ipoji-dark-mode .gmp-disclaimer-body { color: #e6d9a8; }
body.ipoji-dark-mode .gmp-disclaimer-body strong { color: #fff0c2; }
body.ipoji-dark-mode .gmp-disclaimer-icon { color: #ffce4d; }
body.ipoji-dark-mode .gmp-search { background: #1e1e2e; border-color: #2f2f45; color: #e8eaed; }

body.ipoji-dark-mode .gmp-seg { background: #232336; }
body.ipoji-dark-mode .gmp-seg .seg-indicator { background: #3a3a55; box-shadow: none; }
body.ipoji-dark-mode .gmp-seg .seg-btn { color: #9aa0b3; }
body.ipoji-dark-mode .gmp-seg .seg-btn.active { color: #c4b5fd; }
body.ipoji-dark-mode .gmp-pill { background: #1e1e2e; border-color: #2f2f45; color: #b6bccb; }
body.ipoji-dark-mode .gmp-pill.active { background: #6055cd; border-color: #6055cd; color: #fff; }
body.ipoji-dark-mode .gmp-source { color: #9098a8; }
body.ipoji-dark-mode .gmp-updated { color: #d4d8e2; }

body.ipoji-dark-mode .gmp-table-wrap { background: #1e1e2e; border-color: #2f2f45; }
body.ipoji-dark-mode .gmp-table thead th { background: #232336; color: #9aa0b3; border-bottom-color: #2f2f45; }
body.ipoji-dark-mode .gmp-table td { color: #e8eaed; border-bottom-color: #2a2a3d; }
body.ipoji-dark-mode .gmp-table tbody tr:hover { background: #26263a; }
body.ipoji-dark-mode .gmp-ipo-link { color: #e8eaed; }
body.ipoji-dark-mode .gmp-ipo-link:hover { color: #c4b5fd; }
body.ipoji-dark-mode .gmp-pos { color: #6fcf97; }
body.ipoji-dark-mode .gmp-neg { color: #ff8a80; }
body.ipoji-dark-mode .gmp-flat,
body.ipoji-dark-mode .gmp-muted,
body.ipoji-dark-mode .gmp-dates { color: #9098a8; }
body.ipoji-dark-mode .gmp-updated-time { color: #aeb4c3; }
body.ipoji-dark-mode .gmp-updated-time.is-stale { color: #ffd77a; }
body.ipoji-dark-mode .gmp-stale-badge { background: #3d3008; color: #ffd77a; }
body.ipoji-dark-mode .gmp-type-mainboard { background: #14213f; color: #9fc0ff; }
body.ipoji-dark-mode .gmp-type-bse-sme { background: color-mix(in srgb, #10b981 20%, #1e1e2e); color: #6ee7b7; }
body.ipoji-dark-mode .gmp-type-nse-sme { background: color-mix(in srgb, #f59e0b 20%, #1e1e2e); color: #fcd34d; }
body.ipoji-dark-mode .gmp-type-sme { background: #2a1640; color: #d4b3ff; }
body.ipoji-dark-mode .gmp-status-open { background: #3a1212; color: #ff8a80; }
body.ipoji-dark-mode .gmp-status-closed { background: #2e2200; color: #ffd77a; }
body.ipoji-dark-mode .gmp-status-upcoming { background: #0d1f3a; color: #90caf9; }
body.ipoji-dark-mode .gmp-rail-head > span:first-child { color: #e8eaed; }
body.ipoji-dark-mode .gmp-ad-tag { color: #9098a8; border-color: #2f2f45; }
body.ipoji-dark-mode .gmp-explainer h2 { color: #e8eaed; }
body.ipoji-dark-mode .gmp-terms-grid article { background: #1e1e2e; border-color: #2f2f45; }
body.ipoji-dark-mode .gmp-terms-grid h3 { color: #e8eaed; }
body.ipoji-dark-mode .gmp-methodology { background: #191927; border-color: #2f2f45; }
body.ipoji-dark-mode .gmp-methodology li { color: #b6bccb; }
body.ipoji-dark-mode .gmp-faq-item { background: #1e1e2e; border-color: #2f2f45; }
body.ipoji-dark-mode .gmp-faq-item summary { color: #e8eaed; }

body.ipoji-dark-mode .gmp-table tr.gmp-row { background: #1e1e2e; border-color: #2f2f45; }
@media (max-width: 768px) {
  body.ipoji-dark-mode .gmp-table tr.gmp-row:hover { background: #1e1e2e; }
  body.ipoji-dark-mode .gmp-table td { border-bottom-color: #2a2a3d; }
  body.ipoji-dark-mode .gmp-table td::before { color: #777e90; }
}
