body:not(.search-first-home) {
  background:
    radial-gradient(circle at 94% 4%, rgba(22, 124, 128, 0.15), transparent 30%),
    radial-gradient(circle at 8% 18%, rgba(173, 52, 52, 0.09), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef4f7 52%, #f8fafc 100%);
  color: #18212b;
}

body:not(.search-first-home) .app-shell {
  width: min(1500px, calc(100% - 36px));
}

body:not(.search-first-home) .info-page,
body.journal-profile-body .journal-page {
  width: min(1180px, calc(100% - 36px));
}

body:not(.search-first-home) .app-shell,
body:not(.search-first-home) .info-page {
  padding-top: 18px;
}

body:not(.search-first-home) .topbar,
body:not(.search-first-home) .info-page-header,
body.journal-profile-body .profile-topbar {
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

body:not(.search-first-home) .topbar {
  position: sticky;
  top: 12px;
  z-index: 18;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  padding: 14px 18px;
}

body:not(.search-first-home) .brand-block h1,
body:not(.search-first-home) .info-page-header h1,
body.journal-profile-body .journal-identity h1 {
  letter-spacing: 0;
}

body:not(.search-first-home) .brand-block .eyebrow,
body:not(.search-first-home) .info-page-header .eyebrow {
  color: #9f2548;
}

body:not(.search-first-home) .audience-nav,
body:not(.search-first-home) .info-nav {
  flex: initial;
  min-width: 0;
}

body:not(.search-first-home) .audience-nav a,
body:not(.search-first-home) .info-nav a,
body:not(.search-first-home) .nav-dropdown > summary,
body.journal-profile-body .profile-section-nav a,
body.journal-profile-body .back-link {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
}

body:not(.search-first-home) .audience-nav a:hover,
body:not(.search-first-home) .info-nav a:hover,
body:not(.search-first-home) .nav-dropdown > summary:hover,
body.journal-profile-body .profile-section-nav a:hover {
  border-color: #0f766e;
  color: #0b4f4a;
}

.rank-page-intro,
.profile-hero,
body:not(.search-first-home) .info-page-header,
body.journal-profile-body .journal-identity {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
    #fff;
  box-shadow: 0 22px 60px rgba(23, 32, 51, 0.11);
  padding: clamp(22px, 4vw, 38px);
}

.rank-page-intro::before,
.profile-hero::before,
body:not(.search-first-home) .info-page-header::before,
body.journal-profile-body .journal-identity::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #0f766e, #2457a6, #9f2548, #c47d16);
}

.rank-page-intro h2,
.profile-hero h2,
body:not(.search-first-home) .info-page-header h1 {
  max-width: 850px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.rank-page-intro p,
.profile-hero p,
body:not(.search-first-home) .info-page-header p {
  max-width: 760px;
  color: #526071;
  font-size: 1rem;
}

.index-summary-panel,
.author-summary-panel .index-chip,
.profile-metric-grid .index-chip,
.overview-card,
.table-area,
.admin-panel,
.distribution-panel,
.info-section,
body.journal-profile-body .profile-section,
body.journal-profile-body .profile-kpi-strip > *,
body.journal-profile-body .profile-chart-card,
body.journal-profile-body .journal-facts {
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(23, 32, 51, 0.08);
}

.index-summary-panel {
  width: min(520px, 100%);
  padding: 18px;
}

.index-counts,
.author-summary-panel,
.profile-metric-grid {
  gap: 12px;
}

.index-chip {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9)),
    #fff;
}

.index-chip strong {
  color: #172033;
}

.overview-grid {
  gap: 14px;
}

.overview-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.overview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0f766e, #2457a6);
}

.overview-card h2 {
  font-size: 15px;
}

.workspace,
.author-workspace {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.table-tabs {
  position: sticky;
  top: 104px;
  align-self: start;
}

.tab-button {
  min-height: 52px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(23, 32, 51, 0.05);
}

.tab-button.active {
  border-color: rgba(15, 118, 110, 0.45);
  background: #e7f7f1;
  box-shadow: inset 4px 0 0 #0f766e, 0 12px 28px rgba(15, 118, 110, 0.1);
}

.table-area {
  overflow: hidden;
}

.table-header {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(231, 247, 241, 0.72), rgba(255, 255, 255, 0.96)),
    #fff;
}

.table-header h2 {
  font-size: 22px;
}

.table-tools input,
.table-tools select,
.admin-table-tools input,
.request-form-grid input,
.request-form-grid select,
.request-form-grid textarea {
  border-radius: 8px;
  background: #fbfdfe;
}

th {
  background: #edf4f6;
  color: #2f3b4a;
}

tbody tr:hover {
  background: #f4faf8;
}

.primary-button,
button.primary-button,
.mail-action {
  border-color: #0f766e;
  background: linear-gradient(135deg, #0f766e, #173241);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
}

.ghost-button,
a.ghost-button,
button.ghost-button {
  border-radius: 8px;
}

.seo-intro,
.profile-ad-row,
.dashboard-ad-row {
  border-radius: 8px;
}

body.journal-profile-body .profile-topbar {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto;
  padding: 14px 18px;
}

body.journal-profile-body .journal-page {
  margin: 0 auto;
}

body.journal-profile-body .journal-identity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 22px;
  margin-bottom: 18px;
}

body.journal-profile-body .profile-kpi-strip {
  gap: 12px;
}

body.journal-profile-body .profile-section-nav {
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
  padding: 8px;
}

body.journal-profile-body .profile-section {
  padding: clamp(18px, 3vw, 26px);
}

body.journal-profile-body canvas {
  border-radius: 8px;
}

.info-page {
  display: grid;
  gap: 14px;
}

.info-section {
  padding: clamp(18px, 3vw, 26px);
}

.info-section h2 {
  color: #172033;
}

.topic-card {
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbfc);
}

.site-footer {
  width: min(1180px, calc(100% - 36px));
  border: 1px solid rgba(217, 225, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.06);
  padding: 16px 18px;
}

@media (max-width: 1300px) {
  .workspace,
  .author-workspace {
    grid-template-columns: 1fr;
  }

  .table-tabs {
    position: static;
  }
}

@media (max-width: 1100px) {
  body:not(.search-first-home) .topbar,
  .rank-page-intro,
  .profile-hero,
  body.journal-profile-body .journal-identity {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body:not(.search-first-home) .app-shell,
  body:not(.search-first-home) .info-page,
  body.journal-profile-body .profile-topbar,
  body.journal-profile-body .journal-page,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  body:not(.search-first-home) .topbar {
    top: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px;
  }

  .rank-page-intro h2,
  .profile-hero h2,
  body:not(.search-first-home) .info-page-header h1 {
    font-size: 2.2rem;
  }

  .table-header {
    padding: 14px;
  }
}
