/* ============================================================
   SUBPAGES — Bundesland / Stadt / Vergleich / Erfahrung
   Ergänzt profile.css um template-spezifische Features.
   ============================================================ */

/* === Gemeinsame Komponenten === */

.sp-cta-box {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.sp-cta-sub {
  color: rgba(255,255,255,.72);
  margin: 16px auto 32px;
  font-size: 1.0625rem; line-height: 1.6;
  max-width: 52ch;
}
.sp-cta-btns {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

.sp-table-note {
  margin-top: 16px; font-size: 0.8125rem;
  color: var(--ink-500); max-width: 780px;
}

.sp-xref-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sp-xref-card {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none; color: inherit;
  transition: all .15s;
  display: flex; flex-direction: column; gap: 8px;
}
.sp-xref-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
}
.sp-xref-card .hp-eyebrow { margin-bottom: 6px; }
.sp-xref-title {
  font-family: var(--fs-display); font-size: 1.125rem;
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.sp-xref-card p {
  font-size: 0.875rem; line-height: 1.55;
  color: var(--ink-700); margin: 0;
}
.sp-xref-card-accent {
  background: var(--navy-900); color: #fff;
  border-color: var(--navy-800);
}
.sp-xref-card-accent .sp-xref-title { color: #fff; }
.sp-xref-card-accent p { color: rgba(255,255,255,.72); }
.sp-xref-card-accent:hover { border-color: var(--accent-light); color: #fff; }

/* === BUNDESLAND-SPECIFIC === */

.sp-market-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; max-width: 960px; margin: 0 auto;
}
.sp-market-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 32px;
}
.sp-market-card h3 { margin: 0 0 16px; }
.sp-market-list {
  list-style: none; padding: 0; margin: 0;
}
.sp-market-list li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-size: 0.9375rem; color: var(--ink-700);
  border-bottom: 1px solid var(--ink-100);
  line-height: 1.55;
}
.sp-market-list li:last-child { border-bottom: none; }
.sp-market-list li::before {
  content: ''; position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 2px; background: var(--accent);
}

/* Bundesland overview card (legacy .overview-card support) */
.overview-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
  max-width: 820px;
}
.overview-title {
  font-family: var(--fs-display);
  font-size: 1.25rem; font-weight: 500;
  color: var(--ink-900); margin-bottom: 20px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
.overview-item { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; }
.overview-label { font-size: 0.75rem; color: var(--ink-500); }
.overview-value {
  font-family: var(--fs-display); font-size: 1.0625rem;
  font-weight: 500; color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.overview-value.highlight { color: var(--accent); font-size: 1.25rem; }
.overview-value.positive { color: var(--emerald-700); }
.overview-value.negative { color: #B4864A; }
.overview-source {
  font-size: 0.75rem; color: var(--ink-500);
  padding-top: 14px; border-top: 1px solid var(--line);
  line-height: 1.5;
}

/* Salary table (for build-script generated tables) */
.salary-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto; background: #fff;
}
.salary-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.9375rem;
}
.salary-table thead { background: var(--ink-50); }
.salary-table th {
  padding: 14px 20px; text-align: left;
  font-size: 0.6875rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-500); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.salary-table td {
  padding: 14px 20px; color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.salary-table tr:last-child td { border-bottom: none; }
.salary-table tbody tr:hover { background: var(--ink-50); }
.salary-table .salary-highlight {
  font-family: var(--fs-display); font-weight: 600;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.table-note { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-500); }

/* Bundesland grid (16 Bundesländer - reuses hp-bl-grid styles; extra .bl-grid compat) */
.bl-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.bl-grid > * {
  background: #fff; padding: 20px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 6px;
  transition: background .12s;
}
.bl-grid > *:hover { background: var(--ink-50); text-decoration: none; }
@media (max-width: 960px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .bl-grid { grid-template-columns: 1fr; }
}

/* City-list section inside bundesland (cities within the bundesland) */
.city-section {
  padding: 96px 0;
}

/* === STADT-SPECIFIC === */

.sp-arbeitgeber-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.arbeitgeber-cards > * {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
}

/* Content-block (legacy) */
.content-block {
  max-width: 780px;
  font-size: 1rem; line-height: 1.75;
  color: var(--ink-700);
}
.content-block h2 {
  font-family: var(--fs-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink-900); margin: 0 0 16px;
}
.content-block p { margin: 0 0 16px; }

/* Kaufkraft box */
.kaufkraft-box {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.kaufkraft-box h2 { font-family: var(--fs-display); font-size: 1.25rem; font-weight: 500; color: var(--ink-900); margin: 0 0 8px; }
.kaufkraft-box p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-700); }

.sp-cross-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.sp-cross-grid > a {
  display: block; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.875rem; color: var(--ink-700);
  text-decoration: none;
  transition: all .12s;
}
.sp-cross-grid > a:hover {
  border-color: var(--accent); color: var(--accent-dark);
  text-decoration: none;
}

/* === VERGLEICH-SPECIFIC === */

.sp-hero-badges {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.sp-hero-badges .hp-chip { font-size: 0.8125rem; padding: 6px 14px; }

.sp-profile-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sp-profile-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 28px;
  text-decoration: none; color: inherit;
  transition: all .15s;
  display: flex; flex-direction: column; gap: 6px;
}
.sp-profile-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.sp-profile-name {
  font-family: var(--fs-display); font-size: 1.25rem;
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-900);
}
.sp-profile-link {
  font-size: 0.8125rem; color: var(--accent); font-weight: 500;
  margin-top: 4px;
}

.sp-chart-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.sp-chart-col {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.sp-chart-col h3 {
  margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.sp-chart-title-a { color: var(--accent-dark); }
.sp-chart-title-b { color: var(--emerald-700); }
.sp-bar-group { margin-bottom: 18px; }
.sp-bar-group:last-child { margin-bottom: 0; }
.sp-bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.8125rem; color: var(--ink-500); margin-bottom: 6px;
}
.sp-bar-label span:last-child {
  font-family: var(--fs-mono); color: var(--ink-900); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.sp-bar-track {
  height: 28px; background: var(--ink-100);
  border-radius: var(--radius-sm); overflow: hidden;
}
.sp-bar-fill {
  height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 10px;
  font-family: var(--fs-mono); font-size: 0.75rem; font-weight: 600;
  color: #fff;
  border-radius: var(--radius-sm);
  transition: width .4s ease;
  white-space: nowrap;
}
.sp-bar-fill-a { background: var(--accent); }
.sp-bar-fill-b { background: var(--emerald-600); }
.sp-bar-fill span { display: block; }

.sp-diff-list {
  list-style: none; padding: 0; margin: 0;
  max-width: 820px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.diff-list > * {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem; line-height: 1.6;
  color: var(--ink-700);
}
.diff-list > *:last-child { border-bottom: none; }
.diff-list strong { color: var(--ink-900); }

.sp-decision-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 32px;
}
.sp-decision-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 32px;
}
.sp-decision-card-a { border-top: 4px solid var(--accent); }
.sp-decision-card-b { border-top: 4px solid var(--emerald-600); }
.sp-decision-card h3 { margin: 6px 0 12px; }
.sp-decision-card p {
  font-size: 0.9375rem; line-height: 1.6;
  color: var(--ink-700); margin: 0 0 16px;
}
.sp-decision-card a {
  color: var(--accent-dark); font-weight: 500; font-size: 0.875rem;
  text-decoration: none;
}
.sp-decision-card a:hover { text-decoration: underline; }

.sp-decision-summary {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  max-width: 820px; margin: 0 auto;
}
.sp-decision-summary p {
  font-size: 1rem; line-height: 1.7;
  color: var(--ink-700); margin: 8px 0 0;
}

.sp-other-comparisons {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.other-comparisons > a {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  text-decoration: none; color: inherit;
  transition: all .12s;
  display: flex; flex-direction: column; gap: 4px;
}
.other-comparisons > a:hover {
  border-color: var(--accent); text-decoration: none; color: inherit;
}

/* Legacy comparison chart styles (for backward compat with build.js output) */
.comp-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
}
.comp-table thead { background: var(--ink-50); }
.comp-table th {
  padding: 14px 20px; text-align: left;
  font-size: 0.6875rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-500); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.comp-table td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink-700); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table .val-a, .comp-table .val-b {
  font-family: var(--fs-display); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.comp-table .val-a { color: var(--accent); }
.comp-table .val-b { color: var(--emerald-700); }
.comp-table .diff { font-family: var(--fs-mono); color: var(--ink-500); }

.chart-container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.chart-profile {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
}
.chart-profile h3 {
  margin: 0 0 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.chart-profile.profile-a h3 { color: var(--accent-dark); }
.chart-profile.profile-b h3 { color: var(--emerald-700); }
.bar-group { margin-bottom: 18px; }
.bar-label {
  display: flex; justify-content: space-between;
  font-size: 0.8125rem; color: var(--ink-500); margin-bottom: 6px;
}
.bar-label span:last-child { font-family: var(--fs-mono); color: var(--ink-900); font-weight: 600; }
.bar-track { height: 28px; background: var(--ink-100); border-radius: var(--radius-sm); overflow: hidden; }
.bar-fill {
  height: 100%;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 10px;
  font-family: var(--fs-mono); font-size: 0.75rem; font-weight: 600;
  color: #fff; transition: width .4s ease;
}
.bar-fill-a { background: var(--accent); }
.bar-fill-b { background: var(--emerald-600); }

.decision-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 32px;
}
.decision-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px 32px;
}
.decision-card.card-a { border-top: 4px solid var(--accent); }
.decision-card.card-b { border-top: 4px solid var(--emerald-600); }
.decision-card h3 { margin: 6px 0 12px; }
.decision-card p {
  font-size: 0.9375rem; line-height: 1.6; color: var(--ink-700);
  margin: 0 0 16px;
}
.decision-card .profile-link {
  color: var(--accent-dark); font-weight: 500; font-size: 0.875rem;
  text-decoration: none;
}
.decision-card .profile-link:hover { text-decoration: underline; }
.decision-summary {
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px; max-width: 820px; margin: 0 auto;
}
.decision-summary h3 { margin: 0 0 8px; }
.decision-summary p { font-size: 1rem; line-height: 1.7; color: var(--ink-700); margin: 0; }

/* === ERFAHRUNG-SPECIFIC === */

.sp-ranking-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.ranking-grid > * {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all .15s;
}
.ranking-grid > *:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }

.sp-titles-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  max-width: 960px;
}
.titles-grid > * {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--ink-700);
}

.sp-skills-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.skills-grid > * {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: 0.9375rem; color: var(--ink-700);
  line-height: 1.5;
}
.skills-grid > * strong { color: var(--ink-900); display: block; margin-bottom: 2px; }

.sp-advice-list {
  list-style: none; padding: 0; margin: 0;
  max-width: 820px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.advice-list > * {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem; line-height: 1.6;
  color: var(--ink-700);
  position: relative;
  padding-left: 52px;
}
.advice-list > *:last-child { border-bottom: none; }
.advice-list > *::before {
  content: counter(advice-counter);
  counter-increment: advice-counter;
  position: absolute; left: 24px; top: 18px;
  width: 22px; height: 22px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fs-mono); font-size: 0.75rem; font-weight: 600;
}
.advice-list { counter-reset: advice-counter; }

.sp-level-nav {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.level-nav > * {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px;
  text-decoration: none; color: inherit;
  transition: all .12s;
  display: flex; flex-direction: column; gap: 4px;
  text-align: center;
}
.level-nav > *:hover { border-color: var(--accent); transform: translateY(-2px); }

/* Erfahrung overview dl (legacy compat) */
.overview-dl {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 16px; margin: 0 0 16px;
}
.overview-dl dt { font-size: 0.875rem; color: var(--ink-500); font-weight: 500; }
.overview-dl dd {
  margin: 0;
  font-family: var(--fs-sans); font-size: 0.9375rem;
  font-weight: 500; color: var(--ink-900);
}
.overview-dl dd.highlight {
  color: var(--accent); font-family: var(--fs-display); font-weight: 600;
  font-variant-numeric: tabular-nums; font-size: 1.0625rem;
}
.overview-card-title {
  font-family: var(--fs-display);
  font-size: 1.25rem; font-weight: 500;
  color: var(--ink-900); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}

/* === METHODIK === */
.mk-sources {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.mk-source {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px 28px;
}
.mk-source-internal {
  background: var(--paper-warm);
  border-color: var(--accent);
  border-width: 1px;
  border-left-width: 4px;
}
.mk-source-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 12px;
}
.mk-source-head h3 {
  font-family: var(--fs-display); font-size: 1.0625rem;
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-900); margin: 0; line-height: 1.3;
}
.mk-source p {
  font-size: 0.875rem; line-height: 1.6;
  color: var(--ink-700); margin: 0 0 10px;
}
.mk-source .mk-limit { color: var(--ink-700); font-size: 0.8125rem; }
.mk-source-link {
  font-size: 0.8125rem; color: var(--accent-dark); font-weight: 500;
  display: inline-block; margin-top: 4px;
}
.mk-badge {
  font-family: var(--fs-mono); font-size: 0.625rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; flex-shrink: 0;
  white-space: nowrap;
}
.mk-badge-official { background: rgba(16,185,129,.12); color: var(--emerald-700); }
.mk-badge-commercial { background: rgba(74,158,255,.12); color: var(--accent-dark); }
.mk-badge-internal { background: var(--accent); color: #fff; }

.mk-formula {
  background: var(--navy-900); color: rgba(255,255,255,.85);
  border-radius: var(--radius-lg); padding: 28px;
  font-family: var(--fs-mono); font-size: 0.9375rem; line-height: 1.8;
  max-width: 860px;
}
.mk-formula-c { color: rgba(255,255,255,.45); margin-bottom: 8px; }
.mk-formula-h { color: var(--accent-light); font-weight: 600; }

.mk-weights {
  list-style: none; padding: 0; margin: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  max-width: 720px;
}
.mk-weights li {
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px 16px; align-items: baseline;
}
.mk-weights li:last-child { border-bottom: none; }
.mk-weights li strong { color: var(--ink-900); font-size: 0.9375rem; }
.mk-weights li span {
  font-family: var(--fs-mono); font-size: 1rem;
  color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums;
}
.mk-weights li small {
  grid-column: 1 / -1;
  font-size: 0.8125rem; color: var(--ink-500);
}

.mk-big-list {
  list-style: none; padding: 0; margin: 0;
  max-width: 860px;
}
.mk-big-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 0.9375rem; line-height: 1.65;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.mk-big-list li:last-child { border-bottom: none; }
.mk-big-list li::before {
  content: ''; position: absolute;
  left: 0; top: 22px;
  width: 16px; height: 2px; background: var(--accent);
}
.mk-list-negative li::before { background: #DC2626; }
.mk-big-list strong { color: var(--ink-900); }
.mk-big-list a { color: var(--accent-dark); text-decoration: underline; }

.mk-ol-big {
  list-style: none; padding: 0; margin: 0;
  counter-reset: mk-counter;
  max-width: 860px;
}
.mk-ol-big li {
  padding: 16px 0 16px 56px;
  position: relative;
  font-size: 0.9375rem; line-height: 1.65;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line);
}
.mk-ol-big li:last-child { border-bottom: none; }
.mk-ol-big li::before {
  content: counter(mk-counter);
  counter-increment: mk-counter;
  position: absolute; left: 0; top: 16px;
  width: 32px; height: 32px;
  background: var(--accent); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fs-mono); font-size: 0.8125rem; font-weight: 600;
}
.mk-ol-big strong { color: var(--ink-900); }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .mk-sources { grid-template-columns: 1fr; }
  .sp-market-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-dl { grid-template-columns: 1fr; gap: 4px; }
  .sp-xref-grid { grid-template-columns: 1fr; }
  .sp-profile-row { grid-template-columns: 1fr; }
  .sp-chart-grid, .chart-container { grid-template-columns: 1fr; }
  .sp-decision-grid, .decision-grid { grid-template-columns: 1fr; }
  .sp-level-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .salary-table th, .salary-table td,
  .comp-table th, .comp-table td { padding: 10px 12px; font-size: 0.8125rem; }
  .sp-level-nav { grid-template-columns: 1fr; }
  .sp-chart-col, .chart-profile { padding: 20px; }
  body.profile-page .footer { padding-bottom: 80px; }
}
