.crsr-rr-app {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.crsr-rr-card {
  background: #fff;
  border: 1px solid #d9dee7;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.crsr-rr-card h2,
.crsr-rr-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.crsr-rr-intro {
  margin-top: 0;
  color: #4b5563;
}

.crsr-rr-grid {
  display: grid;
  gap: 16px;
}

.crsr-rr-grid-meta {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 16px;
}

.crsr-rr-grid-scores {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.crsr-rr-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

.crsr-rr-form input,
.crsr-rr-form select {
  border: 1px solid #c8d0db;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}

.crsr-rr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.crsr-rr-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #1f5fbf;
  color: #fff;
}

.crsr-rr-button-secondary {
  background: #eef2f7;
  color: #1f2937;
}

.crsr-rr-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.crsr-rr-summary-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
  background: #f9fbfd;
}

.crsr-rr-summary-item .label {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 13px;
}

.crsr-rr-summary-item strong {
  font-size: 22px;
}

.crsr-rr-card canvas {
  width: 100% !important;
  height: 340px !important;
}

.crsr-rr-table-wrap {
  overflow-x: auto;
}

.crsr-rr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.crsr-rr-table th,
.crsr-rr-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  white-space: nowrap;
}

.crsr-rr-table th {
  background: #f4f7fb;
}

.crsr-rr-empty {
  text-align: center;
  color: #6b7280;
}

@media (max-width: 768px) {
  .crsr-rr-card {
    padding: 16px;
  }

  .crsr-rr-card canvas {
    height: 280px !important;
  }
}
