.survey-main {
  background: #f5f7f9;
  min-height: calc(100vh - 80px);
  padding: 2rem 1rem 3rem;
}

.survey-container {
  max-width: 980px;
  margin: 0 auto;
}

.survey-head {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1rem;
  margin-bottom: 1rem;
}

.survey-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1a4d3e;
}

.survey-head h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.45rem;
  color: #0f3328;
}

.survey-lead {
  margin: 0;
  color: #4b5563;
  font-size: 0.95rem;
}

.survey-scale-box {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.86rem;
  color: #334155;
  background: #f0f9f5;
  border: 1px solid #cfe8dc;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.survey-status {
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.survey-status.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.survey-status.is-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.survey-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 0.9rem;
}

.survey-section h2 {
  margin: 0 0 0.2rem;
  font-size: 1.08rem;
  color: #1a4d3e;
}

.survey-section .survey-section-sub {
  margin: 0 0 0.7rem;
  font-size: 0.83rem;
  color: #64748b;
}

.survey-q {
  border-top: 1px dashed #e5e7eb;
  padding: 0.75rem 0 0.65rem;
}

.survey-q:first-of-type {
  border-top: none;
  padding-top: 0;
}

.survey-q-title {
  margin: 0 0 0.45rem;
  font-size: 0.93rem;
  color: #1f2937;
  font-weight: 600;
}

.survey-q-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.survey-score-select {
  min-width: 220px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0.5rem 0.55rem;
  font-size: 0.9rem;
  background: #fff;
}

.survey-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
}

.survey-star-btn {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #9ca3af;
  border-radius: 8px;
  min-width: 38px;
  height: 34px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.survey-star-btn.is-active {
  border-color: #f59e0b;
  color: #f59e0b;
  background: #fff7ed;
}

.survey-star-btn.survey-star-btn--zero {
  min-width: 34px;
  font-size: 0.82rem;
}

.survey-q-note {
  font-size: 0.8rem;
  color: #6b7280;
}

.survey-actions {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.survey-saving-state {
  font-size: 0.86rem;
  color: #4b5563;
}

.survey-summary {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem;
}

.survey-summary h2 {
  margin: 0;
  font-size: 1.1rem;
}

.survey-summary-sub {
  margin: 0.25rem 0 0.8rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.survey-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
}

.survey-stat {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #fafafa;
}

.survey-stat .k {
  font-size: 0.8rem;
  color: #6b7280;
  display: block;
}

.survey-stat .v {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}
