/* Tank capacity reference pages */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.capacity-section {
  margin-top: 2rem;
}

.capacity-filter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  max-width: 26rem;
}

.capacity-filter label {
  font-weight: 600;
  color: var(--muted);
}

.capacity-filter input {
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
}

.capacity-filter input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.capacity-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--panel);
}

.capacity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.capacity-table th,
.capacity-table td {
  padding: 0.6rem 0.9rem;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.capacity-table thead th {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: sticky;
  top: 0;
  background: var(--panel-strong);
}

.capacity-table tbody tr:last-child td {
  border-bottom: none;
}

.capacity-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.capacity-table a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}

.capacity-table a:hover,
.capacity-table a:focus {
  text-decoration: underline;
}

.capacity-empty {
  padding: 1.25rem;
  color: var(--muted);
}

.capacity-back {
  margin-top: 1.5rem;
}

.capacity-back a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: none;
}

.capacity-back a:hover,
.capacity-back a:focus {
  text-decoration: underline;
}
