.section {
  padding: 72px 0;
}

.section.compact {
  padding: 42px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.035);
  padding: 24px;
}

.card.soft {
  background: #fbfcfd;
  box-shadow: none;
}

.card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 154, 34, 0.12);
}

.price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
}

.feature-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border-bottom: 1px solid var(--line);
  color: #475467;
  padding: 9px 0;
}

.feature-list li:last-child {
  border-bottom: 0;
}

.notice {
  margin: 16px 0;
  border-radius: 12px;
  background: #f2f4f7;
  color: #344054;
  padding: 12px 14px;
}

.notice.success {
  background: #ecfdf3;
  color: var(--success);
}

.notice.error {
  background: #fef3f2;
  color: var(--danger);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.toolbar .actions {
  margin: 0;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--color-white);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f9fafb;
  color: #475467;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  background: #f2f4f7;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 720;
  padding: 5px 9px;
}

.badge.success {
  background: #ecfdf3;
  color: var(--success);
}

.badge.warn {
  background: #fffaeb;
  color: var(--color-warning);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 30px 0;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #d0d5dd;
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }
}
