.section {
  padding: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

.sectionSpaced {
  margin-top: 16px;
}

.sectionHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.sectionTitleRow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sectionTitleRow svg {
  margin-top: 2px;
  color: var(--primary);
  flex-shrink: 0;
}

.sectionTitle {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.sectionSubtitle {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.itemTitle {
  font-weight: 600;
}

.topTextPreview {
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.emptyState {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.hint a {
  color: var(--primary);
  font-weight: 600;
}

.alertError {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.span2 {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .sectionHeader {
    flex-direction: column;
  }

  .formGrid {
    grid-template-columns: 1fr;
  }

  .span2 {
    grid-column: span 1;
  }
}
