:root {
  --th-ink: #1f2f46;
  --th-muted: #5e728c;
  --th-accent: #0f766e;
  --th-card-top: #f8fbff;
  --th-card-bottom: #eef4fb;
  --th-card-border: #d7e2f0;
  --th-search-top: #f7fafc;
  --th-search-bottom: #edf3f8;
  --th-search-border: #c8d5e6;
}

.th-page h1,
.th-page h2,
.th-page h3,
.th-page h6,
.th-page .text-primary {
  color: var(--th-ink) !important;
}

.th-page p,
.th-page .text-textDim {
  color: var(--th-muted) !important;
}

.th-page .bg-white.border,
.th-page details.bg-white,
.th-page article.bg-white {
  background: linear-gradient(180deg, var(--th-card-top) 0%, var(--th-card-bottom) 100%);
  border-color: var(--th-card-border) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.th-page .text-accent {
  color: var(--th-accent) !important;
}

.th-page .bg-accent {
  background: linear-gradient(180deg, #147c73 0%, #0f766e 100%) !important;
}

.th-page .bg-accent:hover {
  background: linear-gradient(180deg, #0f766e 0%, #0c655e 100%) !important;
}

.th-home .home-soft-blue-card {
  background: linear-gradient(180deg, var(--th-card-top) 0%, var(--th-card-bottom) 100%);
  border: 1px solid var(--th-card-border);
  box-shadow: 0 0 0 1px rgba(31, 47, 70, 0.04), 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.th-home .home-soft-blue-card:hover {
  border-color: #c7d6e8;
  box-shadow: 0 0 0 1px rgba(31, 47, 70, 0.08), 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.th-home .home-search-shell {
  background: linear-gradient(180deg, var(--th-search-top) 0%, var(--th-search-bottom) 100%);
  border: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.th-home .home-search-input {
  background: #ffffff !important;
  border-color: var(--th-search-border) !important;
  color: var(--th-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.th-home .home-search-input.text-slate-400 {
  color: #8ba0bb !important;
}

.th-home .home-search-input.text-primary {
  color: var(--th-ink) !important;
}

.th-home .home-search-input:focus {
  border-color: #7f97b7 !important;
  box-shadow: 0 0 0 4px rgba(126, 154, 191, 0.24) !important;
}

.th-home .home-search-dropdown {
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fb 100%) !important;
  border-color: #c2d2e6 !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1) !important;
}

.th-home .home-search-option {
  color: var(--th-ink);
  background: transparent;
}

.th-home .home-search-option:hover,
.th-home .home-search-option:focus {
  background: #e7eef8 !important;
  color: #15263d !important;
}

.th-home .home-search-option--active {
  background: #d8e5f5 !important;
  color: #15263d !important;
  font-weight: 600;
}

.th-home .search-select option {
  background: #edf3fb;
  color: #1f2f46;
}
