.strong-mayor-table-wrap {
  overflow-x: auto;
  margin: var(--space-4) 0 var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.strong-mayor-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.94rem;
  line-height: 1.45;
}

.strong-mayor-table caption {
  padding: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-soft);
}

.strong-mayor-table th,
.strong-mayor-table td {
  padding: 0.8rem 0.75rem;
  vertical-align: top;
  border-top: 1px solid var(--border);
  text-align: left;
}

.strong-mayor-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #e8f0ea;
  color: var(--text);
  font-size: 0.86rem;
}

.strong-mayor-table tbody th {
  width: 18%;
  background: #fbfcfb;
}

.strong-mayor-table tbody td {
  width: 27.33%;
}

.strong-mayor-powers-table tbody th {
  width: 36%;
}

.strong-mayor-powers-table tbody td {
  width: 64%;
}

.strong-mayor-table tbody tr:nth-child(even) th,
.strong-mayor-table tbody tr:nth-child(even) td {
  background: #f7faf7;
}

.strong-mayor-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
  counter-reset: flow-step;
}

.strong-mayor-flow li {
  position: relative;
  min-height: 6.25rem;
  padding: 2.2rem 0.8rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  font-size: 0.93rem;
}

.strong-mayor-flow li::before {
  position: absolute;
  top: 0.65rem;
  left: 0.8rem;
  counter-increment: flow-step;
  content: counter(flow-step);
  color: var(--accent-strong);
  font-size: 1.15rem;
  font-weight: 800;
}

.strong-mayor-sources .source-notes {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .strong-mayor-table {
    min-width: 700px;
    table-layout: auto;
  }

  .strong-mayor-table th,
  .strong-mayor-table td {
    padding: 0.7rem 0.6rem;
  }

  .strong-mayor-flow {
    grid-template-columns: 1fr;
  }

  .strong-mayor-flow li {
    min-height: auto;
  }
}

@media print {
  .strong-mayor-table-wrap {
    overflow: visible;
    box-shadow: none;
  }

  .strong-mayor-table {
    min-width: 0;
    font-size: 0.78rem;
  }

  .strong-mayor-flow {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
