:root {
  --blue: #0057c2;
  --blue-2: #0066cc;
  --blue-3: #eaf3ff;
  --ink: #122033;
  --muted: #5d6b7d;
  --line: #dce5ef;
  --soft: #f4f8fd;
  --white: #ffffff;
  --danger: #cf2f2f;
  --shadow: 0 22px 55px rgba(18, 32, 51, 0.14);
  --radius: 22px;
  font-family: Inter, Arial, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Roboto, sans-serif;
  background: var(--soft);
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.survey-hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(34px, 6vw, 82px) 22px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 250, 255, 0.94), rgba(244, 250, 255, 0.72)),
    url("https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=2200&q=80") center / cover;
  filter: saturate(0.9);
  transform: scale(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 102, 204, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(235, 245, 255, 0.52));
}

.home-shell {
  position: relative;
  width: min(1360px, 100%);
  margin: 0 auto;
}

.home-heading {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 44px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.survey-grid-single {
  width: min(460px, 100%);
  grid-template-columns: 1fr;
}

.survey-card {
  min-height: 306px;
  display: grid;
  grid-template-columns: 82px 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.survey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 62px rgba(18, 32, 51, 0.18);
}

.card-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: var(--white);
}

.card-accent svg {
  width: 42px;
  height: 42px;
}

.card-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
}

.card-content h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  line-height: 1.16;
}

.card-content p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.pill-button,
.outline-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.pill-button {
  margin-top: auto;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(0, 87, 194, 0.24);
}

.pill-button:hover {
  background: var(--blue-2);
  transform: translateY(-1px);
}

.pill-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.pill-button:focus-visible,
.outline-button:focus-visible,
.icon-button:focus-visible,
.eye-button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.22);
  outline-offset: 3px;
}

.outline-button {
  background: var(--white);
  color: var(--blue);
  border-color: rgba(0, 87, 194, 0.28);
}

.outline-button:hover {
  background: var(--blue-3);
  border-color: rgba(0, 87, 194, 0.48);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-layer.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 28, 43, 0.45);
  backdrop-filter: blur(8px);
}

.password-modal {
  position: relative;
  width: min(520px, 100%);
  border-radius: 24px;
  background: var(--white);
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0, 20, 48, 0.24);
  animation: modal-in 180ms ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.password-modal h2 {
  max-width: 380px;
  margin: 0 0 10px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.password-modal p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.icon-button,
.eye-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: transparent;
  color: #536276;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.modal-close:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.icon-button svg,
.eye-button svg {
  width: 22px;
  height: 22px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  width: 100%;
  height: 54px;
  padding: 0 54px 0 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fbfdff;
}

.password-field input.has-error {
  border-color: var(--danger);
  background: #fffafa;
}

.eye-button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.eye-button:hover {
  background: #eef5ff;
  color: var(--blue);
}

.eye-closed,
.eye-button.is-visible .eye-open {
  display: none;
}

.eye-button.is-visible .eye-closed {
  display: block;
}

.field-error {
  display: none;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 600;
}

.field-error.is-visible {
  display: block;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.modal-submit {
  margin-top: 0;
}

.form-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at -5% 5%, rgba(255, 255, 255, 0.9), transparent 34%),
    radial-gradient(circle at 102% 8%, rgba(219, 238, 255, 0.85), transparent 38%),
    linear-gradient(135deg, #f7fbff 0%, #edf6ff 48%, #ffffff 100%);
}

.form-shell {
  min-height: 100vh;
  padding: clamp(18px, 2.5vw, 28px) 18px;
}

.back-link {
  width: min(1280px, 100%);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 12px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--blue-2);
}

.form-container {
  width: min(1280px, 100%);
  margin: 0 auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 52px rgba(27, 55, 92, 0.13);
  border: 1px solid rgba(216, 229, 244, 0.9);
  overflow: hidden;
}

.form-header {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(24px, 3.4vw, 36px) clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.form-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.document-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(0, 87, 194, 0.22);
}

.document-icon svg {
  width: 28px;
  height: 28px;
}

.form-title-group h1 {
  margin: 0 0 4px;
  font-size: clamp(1.42rem, 2.1vw, 1.75rem);
  line-height: 1.1;
}

.form-title-group p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.progress-wrap {
  min-width: min(330px, 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.9rem;
  text-align: right;
}

.progress-bar {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e4edf8;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.employee-form {
  padding: clamp(24px, 3vw, 32px) clamp(28px, 4vw, 40px) 0;
}

.question-card {
  margin-bottom: 30px;
  padding: clamp(20px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.intro-card {
  border-color: #cfe0f4;
  background: #f7fbff;
}

.intro-card p {
  margin: 0;
  color: #314257;
  font-weight: 600;
  line-height: 1.6;
}

.intro-card p + p {
  margin-top: 8px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.text-question {
  display: block;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 800;
  line-height: 1.35;
}

legend span,
.text-question span {
  color: var(--blue);
}

.option-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.option-list.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-list.single-column {
  grid-template-columns: 1fr;
}

.radio-option,
.checkbox-option,
.rating-tile {
  position: relative;
  cursor: pointer;
}

.radio-option input,
.checkbox-option input,
.rating-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option span,
.checkbox-option span,
.rating-tile {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  border: 1px solid #d9e3ee;
  border-radius: 5px;
  background: #fbfdff;
  color: #23344a;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.radio-option span,
.checkbox-option span {
  position: relative;
  padding: 0 16px 0 48px;
}

.radio-option span::before,
.checkbox-option span::before {
  content: "";
  position: absolute;
  left: 17px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #9aabba;
  background: #fff;
}

.radio-option span::before {
  border-radius: 50%;
}

.checkbox-option span::before {
  border-radius: 5px;
}

.radio-option span::after {
  content: "";
  position: absolute;
  left: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.checkbox-option span::after {
  content: "";
  position: absolute;
  left: 22px;
  width: 8px;
  height: 12px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  opacity: 0;
  transform: rotate(42deg) scale(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.radio-option input:checked + span::before,
.checkbox-option input:checked + span::before {
  border-color: var(--blue);
}

.radio-option input:checked + span::after,
.checkbox-option input:checked + span::after {
  opacity: 1;
}

.radio-option input:checked + span::after {
  transform: scale(1);
}

.checkbox-option input:checked + span::after {
  transform: rotate(42deg) scale(1);
}

.rating-tile {
  justify-content: center;
  text-align: center;
}

.radio-option:hover span,
.checkbox-option:hover span,
.rating-tile:hover {
  border-color: rgba(0, 87, 194, 0.42);
  background: #f4f9ff;
  transform: translateY(-1px);
}

.radio-option input:checked + span,
.checkbox-option input:checked + span,
.rating-tile:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-3);
  box-shadow: 0 0 0 3px rgba(0, 87, 194, 0.1);
  color: var(--blue);
}

.radio-option input:focus-visible + span,
.checkbox-option input:focus-visible + span,
.rating-tile:has(input:focus-visible) {
  outline: 3px solid rgba(0, 102, 204, 0.22);
  outline-offset: 3px;
}

.rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.rating-tile {
  min-height: 118px;
  flex-direction: column;
  gap: 10px;
  padding: 14px 10px;
}

.rating-face {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.rating-tile.green .rating-face {
  color: #39a957;
}

.rating-tile.lime .rating-face {
  color: #65b64a;
}

.rating-tile.yellow .rating-face {
  color: #f2b600;
}

.rating-tile.orange .rating-face {
  color: #ff7a00;
}

.rating-tile.red .rating-face {
  color: #e02020;
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 126px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  color: var(--ink);
  background: #fbfdff;
  line-height: 1.55;
}

fieldset textarea {
  margin-top: 14px;
}

textarea:hover,
textarea:focus {
  border-color: rgba(0, 87, 194, 0.46);
}

.form-footer {
  position: sticky;
  bottom: 0;
  margin: 0 clamp(-40px, -4vw, -28px);
  padding: 18px clamp(28px, 4vw, 40px) 22px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.form-status {
  min-height: 20px;
  margin-bottom: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status[data-tone="success"] {
  color: #1f8a4c;
}

.form-status[data-tone="error"] {
  color: var(--danger);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.wide {
  min-width: 258px;
}

.pill-button svg,
.privacy-note svg {
  width: 18px;
  height: 18px;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.93rem;
  font-weight: 600;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 5% 0%, rgba(0, 102, 204, 0.12), transparent 32%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 48%, #ffffff 100%);
}

.admin-login-shell,
.admin-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.admin-login-card {
  width: min(480px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(27, 55, 92, 0.16);
}

.admin-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.admin-mark svg {
  width: 30px;
  height: 30px;
}

.admin-login-card h1 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.1;
}

.admin-login-copy {
  margin: 0 0 26px;
  color: var(--muted);
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  gap: 12px;
}

.admin-login-form label,
.admin-filters label span {
  color: #314257;
  font-size: 0.84rem;
  font-weight: 800;
}

.admin-login-form input,
.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fbfdff;
  color: var(--ink);
}

.admin-shell {
  padding: 28px 0 44px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.admin-topbar h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.admin-topbar p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.admin-top-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-card,
.admin-panel,
.admin-filters {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 36px rgba(27, 55, 92, 0.09);
}

.metric-card {
  padding: 20px;
}

.metric-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-card strong {
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.admin-filters {
  display: grid;
  grid-template-columns: 180px 190px minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
  padding: 18px;
}

.admin-filters label {
  display: grid;
  gap: 7px;
}

.admin-filters .pill-button {
  margin-top: 0;
}

.admin-panel {
  margin-bottom: 18px;
  padding: 22px;
}

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

.panel-heading h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

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

.chart-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #e3ebf4;
  border-radius: 10px;
  background: #fbfdff;
}

.chart-card h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.bar-list {
  display: grid;
  gap: 11px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 180px) 1fr 34px;
  gap: 10px;
  align-items: center;
  color: #314257;
  font-size: 0.9rem;
  font-weight: 700;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4edf8;
}

.bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.table-wrap {
  max-height: 680px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.table-actions,
.bulk-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bulk-actions {
  justify-content: space-between;
  margin-bottom: 12px;
}

.select-all-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #314257;
  font-size: 0.9rem;
  font-weight: 800;
}

.select-all-control input,
.select-col input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.danger-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(207, 47, 47, 0.34);
  border-radius: 999px;
  padding: 0 18px;
  background: #fff7f7;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.danger-button:hover {
  border-color: rgba(207, 47, 47, 0.6);
  background: #ffecec;
}

.admin-notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #cfe0f4;
  border-radius: 10px;
  background: #f7fbff;
  color: #314257;
  font-weight: 800;
}

.results-table {
  width: 100%;
  min-width: 1240px;
  border-collapse: collapse;
  background: #fff;
}

.results-table th,
.results-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e5edf5;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.results-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f5f9fe;
  color: #314257;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.results-table tr:hover td {
  background: #f8fbff;
}

.select-col {
  width: 92px;
  text-align: center !important;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.submitted {
  background: #e9f8f0;
  color: #197441;
}

.status-pill.draft {
  background: #fff6df;
  color: #9a6200;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.thank-you-card {
  width: min(620px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(27, 55, 92, 0.13);
  text-align: center;
}

.thank-you-icon {
  margin: 0 auto 18px;
}

.thank-you-card h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.08;
}

.thank-you-card p:not(.eyebrow) {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 600;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1080px) {
  .survey-grid {
    grid-template-columns: 1fr;
  }

  .survey-card {
    min-height: 220px;
  }

  .option-list,
  .rating-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar,
  .panel-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-metrics,
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .admin-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .survey-hero {
    align-items: flex-start;
  }

  .survey-card {
    grid-template-columns: 64px 1fr;
    min-height: auto;
    border-radius: 18px;
  }

  .card-content {
    padding: 24px 20px;
  }

  .form-header,
  .form-title-group,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .progress-wrap {
    text-align: left;
  }

  .option-list,
  .option-list.compact,
  .rating-grid {
    grid-template-columns: 1fr;
  }

  .wide {
    width: 100%;
    min-width: 0;
  }

  .form-footer {
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: -18px;
  }

  .password-modal {
    padding: 28px 22px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .admin-login-shell,
  .admin-shell {
    width: min(100% - 24px, 1280px);
  }

  .admin-login-card,
  .admin-panel,
  .admin-filters {
    border-radius: 12px;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .admin-top-actions {
    justify-content: stretch;
  }

  .admin-top-actions .pill-button,
  .admin-top-actions .outline-button {
    width: 100%;
  }

  .bar-row {
    grid-template-columns: 1fr 32px;
  }

  .bar-row span {
    grid-column: 1 / -1;
  }
}
