.author-rank-body {
  --author-ink: #172033;
  --author-muted: #667085;
  --author-line: #d9e1ec;
  --author-soft: #f4f7fa;
  --author-teal: #0f766e;
  --author-blue: #2457a6;
  --author-berry: #9f2548;
  background: #f6f8fb;
  color: var(--author-ink);
}

.author-rank-body .author-rank-shell {
  width: min(1480px, calc(100% - 40px));
  padding-top: 16px;
}

.author-rank-body .topbar {
  position: sticky;
  top: 10px;
  z-index: 30;
  min-height: 66px;
  border: 1px solid rgba(217, 225, 236, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.author-rank-body .brand-title {
  display: block;
  color: var(--author-ink);
  font-size: 19px;
  font-weight: 800;
}

.author-rank-main,
.author-rank-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.author-intelligence-hero {
  display: grid;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #27384d;
  border-radius: 8px;
  background: #172033;
  color: #fff;
}

.author-hero-copy {
  display: grid;
  max-width: 940px;
  align-content: center;
  padding: 34px 40px;
}

.author-hero-copy .eyebrow {
  margin: 0 0 12px;
  color: #7dd3c7;
}

.author-hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: 0;
}

.author-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: #c9d4e2;
  font-size: 16px;
  line-height: 1.65;
}

.author-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.author-hero-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  padding: 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.author-hero-actions a:first-child {
  border-color: #7dd3c7;
  background: var(--author-teal);
}

.author-level-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--author-line);
  border-radius: 8px;
  background: #fff;
}

.author-level-row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 72px;
  gap: 12px;
  align-items: center;
  border-left: 1px solid var(--author-line);
  padding: 14px 18px;
}

.author-level-row:first-child { border-left: 0; }
.author-level-row strong { font-size: 12px; text-transform: uppercase; }
.author-level-row span { color: var(--author-muted); font-size: 12px; line-height: 1.5; }
.author-level-row.core strong { color: var(--author-teal); }
.author-level-row.index strong { color: var(--author-blue); }
.author-level-row.record strong { color: #475569; }

.author-data-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
  background: #172033;
  padding: 11px 14px;
  color: #d8e2ee;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.author-data-status strong { color: #7dd3c7; }
.author-status-separator { color: #8492a6; }

.author-rank-body .author-summary-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.author-rank-body .author-summary-panel .index-chip {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--author-line);
  border-radius: 8px;
  background: #fff;
  padding: 14px 18px;
}

.author-rank-body .author-summary-panel .index-chip strong {
  font-size: 27px;
  font-variant-numeric: tabular-nums;
}

.author-rank-body .author-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  scroll-margin-top: 96px;
}

.author-rank-body .table-tabs {
  position: sticky;
  top: 88px;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 4px;
  overflow-x: auto;
  border: 1px solid var(--author-line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #eef2f6;
  padding: 5px;
}

.author-rank-body .tab-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #526173;
  font-size: 13px;
  font-weight: 750;
}

.author-rank-body .tab-button.active {
  background: #fff;
  color: var(--author-teal);
  box-shadow: 0 1px 3px rgba(23, 32, 51, 0.12);
}

.author-rank-body .table-area {
  border: 1px solid var(--author-line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.05);
}

.author-rank-body .table-header {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: end;
  border-bottom: 1px solid var(--author-line);
  padding: 20px;
}

.author-rank-body .table-header h2 { margin: 0; font-size: 22px; }
.author-rank-body .table-header p { margin: 6px 0 0; color: var(--author-muted); font-size: 13px; }

.author-rank-body .table-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) minmax(170px, 0.8fr) minmax(110px, 0.45fr) auto;
  gap: 8px;
}

.author-rank-body .table-tools input,
.author-rank-body .table-tools select,
.author-rank-body .table-tools button {
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--author-ink);
}

.author-rank-body .table-tools button {
  padding: 0 14px;
  color: #475569;
  font-weight: 700;
}

.author-rank-body .table-tools input:focus,
.author-rank-body .table-tools select:focus {
  border-color: var(--author-teal);
  outline: 3px solid rgba(15, 118, 110, 0.12);
}

.author-rank-body .table-wrap { max-height: 72vh; overflow: auto; }
.author-rank-body thead th { position: sticky; top: 0; z-index: 2; background: #eef2f6; }
.author-rank-body tbody tr:hover { background: #f1f8f7; }
.author-rank-body td[data-key="name"] { min-width: 190px; }
.author-rank-body td[data-key="affiliation"] { min-width: 240px; }
.author-rank-body td[data-key="orcid"] { min-width: 150px; }

.author-method-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid #c6d8ea;
  border-left: 4px solid var(--author-blue);
  border-radius: 8px;
  background: #f6f9fd;
  padding: 22px 24px;
}

.author-method-note h2 { margin: 0; font-size: 17px; }
.author-method-note p { margin: 7px 0 0; color: var(--author-muted); font-size: 13px; line-height: 1.6; }
.author-method-note a { color: var(--author-blue); font-weight: 750; white-space: nowrap; }

.author-rank-body .author-rank-intro .dergipark-intro-close.is-close-ready {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1100px) {
  .author-rank-body .table-header { grid-template-columns: 1fr; }
  .author-rank-body .table-tools { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .author-rank-body .author-rank-shell { width: min(100% - 20px, 1480px); }
  .author-rank-body .topbar { position: static; }
  .author-hero-copy { padding: 28px 22px; }
  .author-hero-copy h1 { font-size: 34px; }
  .author-level-strip,
  .author-rank-body .author-summary-panel { grid-template-columns: 1fr; }
  .author-level-row { border-top: 1px solid var(--author-line); border-left: 0; }
  .author-level-row:first-child { border-top: 0; }
  .author-rank-body .table-tabs { position: static; grid-template-columns: repeat(4, minmax(150px, 1fr)); }
  .author-rank-body .table-tools { grid-template-columns: 1fr; }
  .author-rank-body .table-header { padding: 16px; }
  .author-method-note { grid-template-columns: 1fr; }
  .author-data-status { align-items: flex-start; flex-direction: column; }
  .author-status-separator { display: none; }
}
