.ctcars-body {
  margin: 0;
  min-width: 320px;
  color: #f5f7fa;
  font-family: "Onest", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.1), transparent 28%),
    linear-gradient(180deg, #0b0b0f, #101017);
}

.ctcars-body * {
  box-sizing: border-box;
}

.ctcars-body a {
  color: inherit;
  text-decoration: none;
}

.ct-app-shell {
  min-height: 100vh;
  padding: 16px 12px 36px;
}

.ct-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.ct-topnav,
.ct-surface,
.ct-accordion,
.ct-metric-tile,
.ct-table-shell,
.ct-chart-shell,
.ct-empty-state {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(24, 24, 33, 0.94);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.ct-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 16px;
}

.ct-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.ct-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.12);
  font-weight: 700;
  letter-spacing: 0.24em;
}

.ct-brand-copy {
  display: grid;
  gap: 4px;
}

.ct-brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ct-brand-copy span,
.ct-copy,
.ct-panel-copy p,
.ct-card-meta,
.ct-note,
.ct-score-meter-detail,
.ct-chart-subtitle,
.ct-empty-state p,
.ct-accordion-summary {
  color: #b6bac5;
}

.ct-display-title,
.ct-section-title,
.ct-card-title {
  margin: 0;
  font-family: "Manrope", "Onest", sans-serif;
  line-height: 1;
}

.ct-display-title {
  margin-top: 18px;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.ct-section-title {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.ct-card-title {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.ct-eyebrow,
.ct-badge,
.ct-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ct-badge {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #b6bac5;
}

.ct-badge-accent {
  border-color: rgba(124, 58, 237, 0.26);
  background: rgba(124, 58, 237, 0.14);
  color: #ece7ff;
}

.ct-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ct-button-primary {
  border-color: rgba(124, 58, 237, 0.32);
  background: #7c3aed;
  color: #fff;
}

.ct-button-secondary {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ct-button-ghost {
  background: transparent;
  color: #b6bac5;
}

.ct-button-block {
  width: 100%;
}

.ct-hero,
.ct-dashboard-grid,
.ct-card-top,
.ct-card-body-grid,
.ct-model-summary-grid,
.ct-detail-grid,
.ct-results-head-grid,
.ct-method-grid {
  display: grid;
  gap: 16px;
}

.ct-hero,
.ct-filter-shell,
.ct-results-shell,
.ct-model-shell,
.ct-model-card,
.ct-listing-card {
  padding: 20px;
}

.ct-hero,
.ct-dashboard-grid,
.ct-model-summary-grid,
.ct-card-body-grid {
  grid-template-columns: 1fr;
}

.ct-results-grid,
.ct-filter-sections,
.ct-score-list,
.ct-brief-list,
.ct-listings-stack {
  display: grid;
  gap: 14px;
}

.ct-dashboard-grid,
.ct-results-grid {
  margin-top: 24px;
}

.ct-panel-header,
.ct-action-strip,
.ct-score-meter-head,
.ct-chart-head,
.ct-topnav-main {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.ct-topnav-main {
  align-items: center;
}

.ct-panel-header,
.ct-action-strip,
.ct-score-meter-head {
  align-items: flex-start;
}

.ct-metric-grid,
.ct-detail-grid,
.ct-results-head-grid,
.ct-method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-metric-tile,
.ct-note-card,
.ct-method-card,
.ct-coming-soon {
  padding: 16px;
  border-radius: 16px;
}

.ct-metric-label,
.ct-score-label,
.ct-field-label {
  margin: 0;
  color: #7c8190;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ct-metric-value,
.ct-score-value {
  margin: 8px 0 0;
  font-family: "Manrope", "Onest", sans-serif;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

.ct-score-meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.ct-score-meter-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.ct-field-grid,
.ct-field {
  display: grid;
  gap: 12px;
}

.ct-input,
.ct-select,
.ct-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid #2a2a35;
  background: #13131a;
  color: #f5f7fa;
}

.ct-textarea {
  min-height: 120px;
  padding: 14px 16px;
}

.ct-chip-grid,
.ct-badge-row,
.ct-topnav-links,
.ct-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ct-chip {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #b6bac5;
}

.ct-chip.is-selected {
  border-color: rgba(124, 58, 237, 0.28);
  background: rgba(124, 58, 237, 0.16);
  color: #f5f7fa;
}

.ct-table {
  width: 100%;
  border-collapse: collapse;
}

.ct-table th,
.ct-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.ct-table th {
  width: 36%;
  color: #7c8190;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ct-empty-state {
  padding: 28px;
}

@media (max-width: 720px) {
  .ct-topnav,
  .ct-topnav-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .ct-topnav-actions,
  .ct-topnav-actions > *,
  .ct-topnav-links {
    width: 100%;
  }

  .ct-metric-grid,
  .ct-detail-grid,
  .ct-results-head-grid,
  .ct-method-grid {
    grid-template-columns: 1fr;
  }
}
