/* Shared view styles */
.view {
  padding: 24px 28px 40px;
  max-width: 1160px;
}

.view-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.view-header {
  margin-bottom: 20px;
}

.view-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1;
}

.subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 700px;
  margin: 0;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.table-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  justify-content: flex-end;
}

.export-btn {
  padding: 6px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.export-btn:hover { background: var(--bg); }
.export-btn.primary {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}
.export-btn.primary:hover { opacity: 0.85; }

.table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead th {
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: #fcfcfb;
  white-space: nowrap;
}

.data-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: #fcfcfb; }

.data-table tbody td {
  padding: 15px 14px;
  color: var(--text-primary);
  vertical-align: middle;
}

.rank {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  text-align: center;
}

.review-pill {
  display: inline-block;
  padding: 3px 9px;
  background: #f4f4f3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.aspect-cell {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.4;
}

.loading {
  padding: 48px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.empty {
  padding: 64px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
