:root {
  --bg1: #fff9ef;
  --bg2: #eef7ff;
  --bg3: #f5efff;
  --ink: #182338;
  --muted: #62708c;
  --line: rgba(148, 163, 184, 0.22);
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.94);
  --brand: #ff7a18;
  --brand2: #2563eb;
  --brand3: #14b8a6;
  --brand-soft: rgba(37, 99, 235, 0.12);
  --ok: #116149;
  --err: #b42318;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(900px 500px at 5% 0%, rgba(255, 190, 92, 0.30) 0%, transparent 55%),
    radial-gradient(800px 480px at 100% 0%, rgba(96, 165, 250, 0.24) 0%, transparent 50%),
    radial-gradient(900px 520px at 50% 100%, rgba(45, 212, 191, 0.16) 0%, transparent 52%),
    linear-gradient(165deg, var(--bg1), var(--bg2) 54%, var(--bg3));
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: 90px;
  right: -70px;
  background: rgba(59, 130, 246, 0.20);
}

body::after {
  left: -80px;
  bottom: 80px;
  background: rgba(251, 146, 60, 0.18);
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 18px 48px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.candidate-shell {
  overflow: hidden;
}

.portal-nav {
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.portal-nav-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.portal-nav-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.portal-nav-meta strong {
  font-size: 16px;
  line-height: 1.2;
  color: #0f2743;
}

.portal-nav-meta span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4c6482;
}

.portal-nav-logout {
  margin-left: auto;
}

.portal-nav-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.portal-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #20476e;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.20);
}

.portal-nav-link:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: rgba(239, 246, 255, 0.94);
}

.portal-nav-link.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb, #0ea5a4);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
}

.portal-zones-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-zone-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.portal-zone-card h3 {
  margin: 0;
  font-size: 16px;
  color: #0f2743;
}

.portal-zone-card p {
  margin-top: 6px;
  font-size: 14px;
}

.survey-page .candidate-shell {
  overflow: visible;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.hero-slots {
  position: relative;
  margin-bottom: 20px;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    linear-gradient(120deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-slots::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  max-width: 640px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f3b66;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.55);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.stack { display: grid; gap: 12px; }
label { color: var(--muted); font-size: 14px; display: grid; gap: 6px; }

input, select {
  width: 100%;
  border: 1px solid #c8d4e5;
  border-radius: 14px;
  padding: 12px;
  font-size: 15px;
  background: #fff;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.link {
  color: var(--brand2);
  text-decoration: none;
  font-weight: 700;
}

.cta-secondary {
  display: inline-block;
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #0b3a66;
  background: linear-gradient(135deg, #a5f3fc, #bfdbfe);
  border: 1px solid #7dd3fc;
  box-shadow: 0 10px 20px rgba(96, 165, 250, 0.18);
}

.note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin: 10px 0 16px;
  font-size: 14px;
  font-weight: 700;
}

.ok { background: #e9f8ef; border: 1px solid #b9ebcb; color: var(--ok); }
.err { background: #ffe9ec; border: 1px solid #ffc7cf; color: var(--err); }

.top-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  position: relative;
  z-index: 1;
}

.profile-avatar-link {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.32);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.16);
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-placeholder {
  text-align: center;
  line-height: 1.15;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #3d5575;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-chip-ok {
  color: #0f5132;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.status-chip-wait {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.28);
}

.status-chip-choice {
  color: #1d4ed8;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.status-chip-change {
  color: #8a4b0f;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.30);
}

.logout-form { margin: 0; }

.logout-btn {
  border: 0;
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 800;
  color: #16304f;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.26);
}

.logout-btn:hover {
  background: #fff;
}

.profile-photo-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(280px, 1fr);
  gap: 18px;
  margin-top: 14px;
}

.profile-photo-preview,
.profile-photo-form-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.profile-photo-full {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  display: block;
}

.profile-photo-empty {
  min-height: 220px;
  border-radius: 16px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
}

.survey-sticky-meta {
  position: sticky;
  top: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.survey-candidate-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.survey-candidate-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #486282;
}

.survey-candidate-value {
  font-size: 16px;
  color: #0f2743;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 64vw;
}

.survey-timer {
  display: grid;
  gap: 4px;
  min-width: 132px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.26);
}

.survey-timer-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #486282;
}

.survey-timer-value {
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #0f2743;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .portal-nav {
    padding: 12px;
  }

  .portal-nav-head {
    flex-wrap: wrap;
  }

  .portal-nav-logout {
    margin-left: 0;
  }

  .portal-nav-links {
    grid-template-columns: 1fr 1fr;
  }

  .portal-zones-grid {
    grid-template-columns: 1fr;
  }

  .profile-photo-layout {
    grid-template-columns: 1fr;
  }

  .top-actions {
    align-items: stretch;
  }

  .profile-avatar-link {
    width: 64px;
    height: 64px;
    align-self: flex-end;
  }

  .survey-sticky-meta {
    top: 8px;
    flex-wrap: wrap;
  }

  .survey-candidate-value {
    max-width: 100%;
    white-space: normal;
  }
}

.waiting-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.waiting-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 70%);
}

.waiting-badge,
.slot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.waiting-badge {
  margin-bottom: 14px;
  color: #124b65;
  background: rgba(125, 211, 252, 0.18);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.34);
}

.waiting-card h2 {
  margin-bottom: 14px;
}

.waiting-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.waiting-point {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.waiting-point strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.waiting-point span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.waiting-note {
  margin-top: 20px;
  font-weight: 700;
  color: #194c74;
}

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

.summary-card {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.summary-label,
.slot-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #45607f;
}

.summary-card strong,
.slot-detail strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.summary-card p {
  margin-top: 8px;
  font-size: 14px;
}

.response-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 4px 0 20px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.90), rgba(239, 246, 255, 0.78));
  border: 1px solid rgba(147, 197, 253, 0.34);
}

.response-copy h2,
.change-head h2 {
  font-size: 24px;
  letter-spacing: 0;
}

.response-copy p,
.change-head p,
.response-hint {
  font-size: 14px;
}

.response-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.response-form {
  margin: 0;
}

.response-button {
  border: 0;
  border-radius: 14px;
  min-height: 44px;
  padding: 12px 16px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.response-button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand2), var(--brand3));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.response-button.secondary {
  color: #16304f;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.30);
}

.response-button:disabled {
  cursor: default;
  opacity: 0.58;
  box-shadow: none;
}

.response-hint {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 700;
  color: #1f4d79;
}

.change-options {
  margin-top: 20px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.20);
}

.change-head {
  margin-bottom: 16px;
}

.available-slots {
  display: grid;
  gap: 12px;
}

.available-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.available-slot-main {
  display: grid;
  gap: 5px;
}

.available-slot-main strong {
  font-size: 20px;
  line-height: 1.2;
  color: #183b6b;
}

.available-slot-day,
.available-slot-location {
  color: var(--muted);
  font-size: 14px;
}

.available-slot-form {
  margin: 0;
}

.slots {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.slots-assigned {
  grid-template-columns: minmax(0, 1fr);
}

.slot {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  background: var(--card-strong);
  overflow: hidden;
}

.slot-featured {
  border-color: rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.10);
}

.slot-glow {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
  pointer-events: none;
}

.slot-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.slot-badge {
  margin-bottom: 12px;
  color: #0b4d66;
  background: rgba(45, 212, 191, 0.18);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.28);
}

.slot-timebox {
  min-width: 160px;
  padding: 14px 16px;
  border-radius: 20px;
  text-align: right;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

.slot-time,
.slot-date {
  display: block;
}

.slot-time {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #183b6b;
}

.slot-date {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.slot-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.slot-detail {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

.slot-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(20, 184, 166, 0.10));
}

.slot-note p {
  margin: 0;
  font-size: 14px;
  color: #20476e;
}

.slot-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: 0 0 28px;
  background: #fff;
  color: #1d4ed8;
  font-weight: 900;
}

.meta { color: var(--muted); font-size: 13px; }
.slot h3 { margin: 0 0 8px; font-size: 17px; }

@media (max-width: 860px) {
  .hero,
  .slot-head {
    flex-direction: column;
  }

  .top-actions {
    align-items: flex-start;
  }

  .slot-timebox {
    width: 100%;
    text-align: left;
  }

  .slot-summary,
  .waiting-points,
  .slot-grid,
  .response-panel,
  .available-slot {
    grid-template-columns: 1fr;
  }

  .response-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 18px 14px 30px;
  }

  .card {
    padding: 16px;
    border-radius: 24px;
  }

  .hero-slots,
  .waiting-card,
  .slot,
  .summary-card {
    border-radius: 22px;
  }

  .response-panel,
  .change-options {
    padding: 16px;
    border-radius: 20px;
  }

  .response-actions,
  .response-button,
  .available-slot-form {
    width: 100%;
  }

  .hero-slots {
    padding: 18px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 15px;
  }

  .slots {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .slot {
    padding: 18px;
  }

  .slot-time {
    font-size: 20px;
  }
}

  .survey-form {
    display: grid;
    gap: 16px;
  }

  .survey-section {
    border: 1px solid rgba(148, 163, 184, 0.20);
    border-radius: 20px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.66);
  }

  .survey-section h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.02em;
  }

  .section-intro {
    margin: 10px 0 0;
    font-size: 14px;
  }

  .survey-question {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(148, 163, 184, 0.36);
  }

  .survey-question:first-of-type {
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
  }

  .survey-label {
    color: #0b4f77;
    font-weight: 800;
    font-size: clamp(17px, 2.1vw, 21px);
    line-height: 1.4;
    letter-spacing: -0.01em;
  }

  .required-mark {
    color: #c81e1e;
    margin-left: 4px;
  }

  .survey-hint {
    margin: 8px 0 8px;
    font-size: 14px;
    color: var(--muted);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 12px;
    padding: 10px 12px;
  }

  .survey-hint p {
    margin: 0 0 6px;
  }

  .survey-hint p:last-child {
    margin-bottom: 0;
  }

  .survey-hint ul,
  .survey-hint ol {
    margin: 6px 0 6px 20px;
    padding: 0;
  }

  .survey-question textarea {
    width: 100%;
    border: 1px solid #c8d4e5;
    border-radius: 14px;
    padding: 12px;
    font-size: 15px;
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
  }

  .multi-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px;
  }

  .multi-option {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
  }

  .multi-option input {
    width: auto;
    margin-top: 2px;
  }

  .survey-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .survey-max-points {
    font-weight: 700;
    color: #114b75;
  }

  .survey-score-block {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
  }

  .survey-score-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f4a7a;
  }

  .survey-score-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .survey-score-option {
    display: inline-flex;
  }

  .survey-score-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .survey-score-chip {
    min-width: 34px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    text-align: center;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    transition: all 120ms ease;
  }

  .survey-score-option:hover .survey-score-chip {
    background: #f8fafc;
    border-color: #94a3b8;
  }

  .survey-score-input:checked + .survey-score-chip {
    background: #dbeafe;
    border-color: #1d4ed8;
    color: #1e3a8a;
  }

  .survey-score-input:focus-visible + .survey-score-chip {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }

  .survey-score-readonly {
    margin: 8px 0 0;
    font-size: 13px;
    color: #0f4a7a;
    font-weight: 600;
  }

  .survey-errors {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
  }

  .survey-submitted-box {
    margin-top: 10px;
    margin-bottom: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #b9ebcb;
    background: #e9f8ef;
  }

  .survey-submitted-box h2 {
    font-size: 28px;
  }

  .survey-question-readonly {
    border-top-style: solid;
  }

  .survey-answer-display {
    margin-top: 8px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.84);
    white-space: pre-wrap;
  }

  @media (max-width: 960px) {
    .survey-section {
      padding: 14px;
    }

    .multi-options {
      grid-template-columns: 1fr;
    }
  }
