<style>
/* ── Reset inside scope ── */
#aqt-cmp *,
#aqt-cmp *::before,
#aqt-cmp *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Wrapper ── */
#aqt-cmp {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

/* ── Header block ── */
.aqt-cmp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a5fa8;
  margin-bottom: 10px;
}

.aqt-cmp-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #0d1f3c;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.aqt-cmp-lead {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 28px;
}

/* ── Scroll wrapper (handles overflow on mobile) ── */
.aqt-cmp-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(13, 31, 60, 0.10), 0 1px 4px rgba(13, 31, 60, 0.06);
  border: 1px solid #e4eaf3;
}

/* ── Table base ── */
.aqt-cmp-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: #ffffff;
  min-width: 560px; /* prevents collapse on narrow screens before scroll kicks in */
}

/* ── Header row ── */
.aqt-cmp-table thead tr {
  background: #0d1f3c;
}

.aqt-cmp-table thead th {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.80);
  text-align: center;
  vertical-align: bottom;
  line-height: 1.35;
  border: none;
  white-space: normal;
}

.aqt-cmp-table thead th.aqt-cmp-col-platform {
  text-align: left;
  width: 32%;
}

/* ── Body rows ── */
.aqt-cmp-table tbody tr {
  border-bottom: 1px solid #edf0f7;
  transition: background 0.15s ease;
}

.aqt-cmp-table tbody tr:last-child {
  border-bottom: none;
}

.aqt-cmp-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.aqt-cmp-table tbody tr:hover {
  background: #edf4fb;
}

/* ── AQT highlighted row ── */
.aqt-cmp-table tbody tr.aqt-cmp-aq {
  background: #e8f2fc;
  border-bottom: 1px solid #c8dcf5;
}

.aqt-cmp-table tbody tr.aqt-cmp-aq:hover {
  background: #daeaf9;
}

/* ── Cells ── */
.aqt-cmp-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #4a5568;
  text-align: center;
  vertical-align: middle;
  border: none;
  line-height: 1.4;
}

/* ── Platform name cell (left col) ── */
.aqt-cmp-platform-name {
  text-align: left !important;
  font-weight: 600;
  color: #1a2035;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aqt-cmp-aq .aqt-cmp-platform-name {
  color: #1a5fa8;
  font-weight: 700;
}

/* Example sub-label under competitor names */
.aqt-cmp-eg {
  font-size: 11px;
  font-weight: 400;
  color: #8a95a8;
  display: block;
  margin-top: 2px;
}

/* ── Check mark (SVG-based, no icon font needed) ── */
.aqt-cmp-check {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #50a684;
  position: relative;
  flex-shrink: 0;
}

.aqt-cmp-check::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

/* ── Cross mark ── */
.aqt-cmp-cross {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e8eaf0;
  position: relative;
  flex-shrink: 0;
}

.aqt-cmp-cross::before,
.aqt-cmp-cross::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: #b0b8cc;
  border-radius: 1px;
}

.aqt-cmp-cross::before { transform: translate(-50%, -50%) rotate(45deg); }
.aqt-cmp-cross::after  { transform: translate(-50%, -50%) rotate(-45deg); }

/* ── Partial / text cells (e.g. "Indirect") ── */
.aqt-cmp-partial {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fef3e2;
  color: #b45309;
  letter-spacing: 0.03em;
}

/* ── Footer row ── */
.aqt-cmp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding: 0 2px;
}

.aqt-cmp-footnote {
  font-size: 12px;
  color: #8a95a8;
  line-height: 1.5;
}

.aqt-cmp-link {
  font-size: 13px;
  font-weight: 700;
  color: #1a5fa8;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.aqt-cmp-link:hover {
  color: #0d3d6e;
  text-decoration: underline;
}

/* ── Mobile: stack platform name + hide sub-examples ── */
@media (max-width: 600px) {
  .aqt-cmp-eg { display: none; }

  .aqt-cmp-table thead th {
    font-size: 10px;
    padding: 10px 10px;
  }

  .aqt-cmp-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .aqt-cmp-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
</style>

