:root {
  color-scheme: light;
}

html {
  background:
    radial-gradient(circle at 10% -8%, rgba(15, 118, 110, .18), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(183, 121, 31, .16), transparent 28rem),
    linear-gradient(135deg, #f7f8f4 0%, #eef1f4 42%, #e7efe9 100%);
}

body.tlbb-integrated {
  min-width: 320px;
  color: var(--suite-ink);
  background:
    radial-gradient(circle at 10% -8%, rgba(15, 118, 110, .18), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(183, 121, 31, .16), transparent 28rem),
    linear-gradient(135deg, #f7f8f4 0%, #eef1f4 42%, #e7efe9 100%);
}

body.tlbb-integrated::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, .03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .84), transparent 88%);
}

.tlbb-suite-nav {
  margin: 24px auto 0;
  width: min(1120px, calc(100% - 32px));
}

.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 52px;
}

.site-backdrop {
  display: none;
}

.site-header,
.hero-panel,
.hero-strip,
.feature-hero,
.panel-card,
.feature-card,
.section-tile {
  border-color: rgba(255, 255, 255, .72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .86)),
    linear-gradient(135deg, rgba(15, 118, 110, .05), rgba(183, 121, 31, .05));
  box-shadow: var(--suite-shadow);
  color: var(--suite-ink);
  backdrop-filter: blur(14px);
}

.site-header {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 20px;
  border-radius: 28px;
}

.brand-kicker,
.panel-eyebrow {
  color: var(--suite-accent-strong);
  font-weight: 900;
}

.brand-title,
.hero-panel__content h2,
.hero-strip h2,
.feature-hero h2,
.section-title h2,
.panel-card h3,
.feature-card h3,
.section-tile h3 {
  color: var(--suite-ink);
  font-family: var(--suite-font);
  letter-spacing: -.03em;
}

.brand-title {
  font-size: clamp(30px, 4vw, 48px);
}

.brand-subtitle,
.hero-panel__content p,
.hero-strip p,
.feature-hero p,
.section-title p,
.feature-card p,
.panel-card p,
.site-footer {
  color: var(--suite-sub);
}

.site-nav {
  gap: 8px;
}

.nav-pill,
.hero-button,
.ghost-button,
.search-launcher,
.search-result {
  border-color: var(--suite-line);
  background: rgba(255, 255, 255, .78);
  color: var(--suite-sub);
  box-shadow: none;
}

.nav-pill:hover,
.hero-button:hover,
.ghost-button:hover,
.search-launcher:hover,
.search-result:hover,
.feature-card:hover,
.section-tile:hover {
  border-color: rgba(15, 118, 110, .34);
  background: rgba(231, 247, 244, .92);
  color: var(--suite-accent-strong);
}

.nav-pill--active,
.hero-button--primary {
  border-color: rgba(15, 118, 110, .42);
  background: linear-gradient(135deg, #e7f7f4, #ffffff);
  color: var(--suite-accent-strong);
}

.hotkey-chip,
.feature-badge,
.stat-card,
.metric-card {
  border: 1px solid var(--suite-line);
  background: rgba(231, 247, 244, .74);
  color: var(--suite-accent-strong);
}

.stat-card strong,
.metric-card strong,
.result-card h3 {
  color: var(--suite-ink);
}

.feature-card__meta,
.section-tile__kicker,
.detail-list,
.formula-note,
.note-block,
.database-card__stats,
.profile-badges,
.site-footer {
  color: var(--suite-sub);
}

.field-card,
.database-card,
.result-card {
  border-color: var(--suite-line);
  background: rgba(255, 255, 255, .78);
  color: var(--suite-ink);
}

input,
select,
textarea {
  border-color: var(--suite-line);
  background: #fff;
  color: var(--suite-ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--suite-accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}

.data-table {
  color: var(--suite-ink);
}

.data-table th {
  background: rgba(231, 247, 244, .88);
  color: var(--suite-accent-strong);
}

.data-table td {
  border-color: var(--suite-line);
}

.data-table__row--highlight,
.cell-highlight {
  background: rgba(231, 247, 244, .9);
  color: var(--suite-accent-strong);
}

.modal-backdrop {
  background: rgba(15, 23, 42, .22);
}

.search-dialog {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .96);
  color: var(--suite-ink);
  box-shadow: var(--suite-shadow);
}

.reference-image {
  background: rgba(255, 255, 255, .8);
}

@media (max-width: 780px) {
  .tlbb-suite-nav,
  .site-shell {
    width: min(100% - 20px, 1120px);
  }

  .tlbb-suite-nav {
    margin-top: 12px;
  }
}
