.link-list {
  width: min(840px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-card {
  min-height: 116px;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  padding: 1.25rem 1.65rem;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.025)
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(206, 14, 14, 0.42);
  background: linear-gradient(
    180deg,
    rgba(206, 14, 14, 0.09),
    rgba(255, 255, 255, 0.025)
  );
}

.link-icon {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(206, 14, 14, 0.2);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--accent);
}

.link-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-icon svg circle {
  fill: none;
}

.link-icon svg .icon-dot {
  fill: currentColor;
}

.link-icon svg .icon-cutout {
  fill: none;
  stroke: var(--bg);
}

.link-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2rem;
}

.link-copy strong {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.link-copy small {
  color: var(--muted);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.link-arrow {
  flex: 0 0 auto;
  color: var(--accent);
}

.link-arrow svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[data-theme="light"] .link-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.035),
    rgba(0, 0, 0, 0.015)
  );
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .link-card:hover {
  background: linear-gradient(
    180deg,
    rgba(206, 14, 14, 0.09),
    rgba(0, 0, 0, 0.015)
  );
}

[data-theme="light"] .link-icon {
  background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
  .link-card {
    min-height: 96px;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
  }

  .link-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .link-icon svg {
    width: 26px;
    height: 26px;
  }

  .link-copy strong {
    font-size: 1.05rem;
  }

  .link-copy small {
    font-size: 0.87rem;
  }

  .link-arrow svg {
    width: 23px;
    height: 23px;
  }
}

.feedback-section {
  scroll-margin-top: 2rem;
}

.feedback-shell,
.admin-card {
  width: min(840px, 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.025)
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .feedback-shell,
[data-theme="light"] .admin-card {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.035),
    rgba(0, 0, 0, 0.015)
  );
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.08);
}

.feedback-shell h1,
.feedback-shell h2,
.admin-card h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
}

.feedback-intro,
.admin-intro {
  margin: 0.5rem auto 1.8rem;
  max-width: 62ch;
  color: var(--muted);
  text-align: center;
}

.feedback-close {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.feedback-close:hover {
  color: var(--accent);
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.team-field {
  display: grid;
  min-width: 0;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.team-field[hidden] {
  display: none !important;
}

.team-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.team-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  outline: 0;
}

.team-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(206, 14, 14, 0.12);
}

.team-textarea {
  min-height: 170px;
  resize: vertical;
}

[data-theme="light"] .team-input {
  background: rgba(0, 0, 0, 0.025);
}

.team-options {
  display: grid;
  gap: 0.65rem;
}

.team-options-inline {
  display: flex;
  flex-wrap: wrap;
}

.team-option {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
}

.team-option:has(input:checked) {
  border-color: rgba(206, 14, 14, 0.5);
  background: rgba(206, 14, 14, 0.08);
  color: var(--text);
}

.team-option input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
}

.team-char-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.team-char-row .is-complete {
  color: #76e4b1;
}

.team-info {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(206, 14, 14, 0.07);
  color: var(--muted);
  font-size: 0.9rem;
}

.feedback-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-question legend,
.feedback-label {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.feedback-rating {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 0.45rem;
}

.feedback-rating button,
.feedback-choice,
.feedback-submit,
.admin-button {
  min-height: 46px;
  border: 1px solid rgba(206, 14, 14, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.feedback-rating button:hover,
.feedback-choice:hover,
.admin-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.feedback-rating button[aria-pressed="true"],
.feedback-choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(206, 14, 14, 0.18);
  color: var(--text);
  box-shadow: 0 0 0 2px rgba(206, 14, 14, 0.12);
}

.feedback-rating-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.feedback-choices {
  display: flex;
  gap: 0.75rem;
}

.feedback-choice {
  min-width: 108px;
  padding: 0.6rem 1.1rem;
}

.feedback-label {
  display: block;
}

.feedback-textarea,
.admin-input {
  width: 100%;
  min-height: 120px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  outline: 0;
}

.feedback-textarea:focus,
.admin-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(206, 14, 14, 0.12);
}

[data-theme="light"] .feedback-textarea,
[data-theme="light"] .admin-input {
  background: rgba(0, 0, 0, 0.025);
}

.feedback-textarea {
  resize: vertical;
}

.feedback-privacy,
.team-privacy,
.feedback-status,
.admin-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feedback-status:empty,
.admin-status:empty {
  display: none;
}

.feedback-status.is-error,
.admin-status.is-error {
  color: #ff9a9a;
}

.feedback-status.is-success {
  color: #76e4b1;
}

.feedback-submit,
.admin-button {
  min-height: 54px;
  padding: 0.75rem 1.25rem;
  border-color: rgba(206, 14, 14, 0.4);
  background: var(--accent);
  color: #111111;
  cursor: pointer;
}

.feedback-submit:disabled,
.admin-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.admin-page {
  min-height: 100vh;
  padding: 1.5rem 0;
}

.admin-container {
  width: min(96%, 1600px);
  max-width: 1600px;
  margin: 0 auto;
}

.admin-back,
.admin-link {
  display: inline-block;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-back {
  margin: 0 0 1rem;
}

.admin-card {
  margin-bottom: 1.25rem;
}

.admin-card h1 {
  margin-bottom: 0.6rem;
}

.admin-login-form {
  display: grid;
  gap: 1rem;
  width: min(460px, 100%);
  margin: 0 auto;
}

.admin-login-form[hidden] {
  display: none !important;
}

.admin-login-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-weight: 700;
}

.admin-field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.admin-input {
  min-height: 48px;
}

.admin-dashboard[hidden],
.admin-login[hidden] {
  display: none;
}

.admin-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-dashboard-actions {
  display: flex;
  gap: 0.6rem;
}

.admin-dashboard-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.admin-dashboard-head .admin-button {
  min-height: 42px;
  background: transparent;
  color: var(--text);
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.admin-metric {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-metric strong {
  display: block;
  color: var(--accent);
  font-size: 1.5rem;
}

.admin-metric span {
  color: var(--muted);
  font-size: 0.85rem;
}

.response-list {
  display: grid;
  gap: 0.8rem;
}

.response-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.response-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.response-rating {
  color: var(--accent);
  font-weight: 900;
}

.response-date,
.response-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.response-comment {
  margin: 0.5rem 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.response-meta {
  margin: 0;
}

.admin-empty {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 680px) {
  .feedback-rating {
    gap: 0.25rem;
  }

  .feedback-rating button {
    min-height: 40px;
    border-radius: 10px;
    font-size: 0.88rem;
  }

  .feedback-rating-labels {
    font-size: 0.74rem;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-head {
    align-items: flex-start;
  }

  .admin-dashboard-actions .admin-button {
    padding: 0.5rem 0.7rem;
  }
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.admin-tab {
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.admin-tab[aria-pressed="true"] {
  border-color: rgba(206, 14, 14, 0.45);
  background: rgba(206, 14, 14, 0.12);
  color: var(--text);
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.application-list,
.referral-list {
  display: grid;
  gap: 0.8rem;
}

.application-card,
.referral-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.application-card h2,
.referral-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  text-align: left;
}

.application-meta {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.application-description {
  margin: 0.8rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

[data-theme="light"] .team-option,
[data-theme="light"] .application-card,
[data-theme="light"] .referral-card {
  background: rgba(0, 0, 0, 0.025);
}

@media (max-width: 600px) {
  .team-options-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.success-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(1rem, 4vw, 2rem);
  border: 0;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(206, 14, 14, 0.18),
      transparent 32rem
    ),
    rgba(7, 9, 13, 0.97);
  color: var(--text);
  animation: successScreenIn 0.45s ease-out both;
}

.success-screen::backdrop {
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(8px);
}

.success-card {
  width: min(100%, 540px);
  margin: auto;
  padding: clamp(1.5rem, 6vw, 3rem);
  border: 1px solid rgba(206, 14, 14, 0.3);
  border-radius: 28px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(206, 14, 14, 0.08);
  text-align: center;
  backdrop-filter: blur(16px);
  animation: successCardIn 0.65s var(--ease) both;
}

.success-icon {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  margin: 0 auto 1.3rem;
  border: 1px solid rgba(206, 14, 14, 0.55);
  border-radius: 50%;
  background: rgba(206, 14, 14, 0.12);
  box-shadow: 0 0 30px rgba(206, 14, 14, 0.18);
  color: var(--accent);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  animation: successPulse 1.8s ease-in-out infinite;
}

.success-card h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 7vw, 2.7rem);
  font-weight: 800;
}

.success-card h1:focus {
  outline: none;
}

.success-message {
  max-width: 42ch;
  margin: 0.75rem auto 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.success-countdown {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.success-countdown strong {
  color: var(--accent);
}

.success-home-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border: 1px solid rgba(206, 14, 14, 0.5);
  border-radius: 14px;
  background: var(--accent);
  color: #111111;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.success-home-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(206, 14, 14, 0.22);
}

@keyframes successScreenIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes successCardIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes successPulse {
  0%,
  100% {
    box-shadow: 0 0 18px rgba(206, 14, 14, 0.14);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 36px rgba(206, 14, 14, 0.32);
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-screen,
  .success-card,
  .success-icon {
    animation: none;
    transition: none;
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
}

.admin-sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  min-height: calc(100vh - 3rem);
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(
    160deg,
    rgba(20, 25, 34, 0.96),
    rgba(9, 12, 18, 0.96)
  );
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.admin-sidebar-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.admin-sidebar-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav-label {
  margin: 0.75rem 0.55rem 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.admin-nav-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.admin-nav-button:hover {
  border-color: rgba(206, 14, 14, 0.2);
  background: rgba(206, 14, 14, 0.06);
  color: var(--text);
}

.admin-nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-nav-button:disabled:hover {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.admin-nav-button[aria-pressed="true"] {
  border-color: rgba(206, 14, 14, 0.35);
  background: linear-gradient(
    90deg,
    rgba(206, 14, 14, 0.17),
    rgba(206, 14, 14, 0.055)
  );
  color: var(--text);
  box-shadow: inset 3px 0 0 var(--accent);
}

.admin-nav-button:focus-visible,
.admin-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.admin-nav-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-sidebar-footer {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.admin-sidebar-footer > span {
  padding: 0 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-workspace {
  min-width: 0;
}

.admin-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  padding: 0.3rem 0;
}

.admin-dashboard-head h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 800;
}

.dashboard-date {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-subtitle {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.admin-dashboard-head .admin-button {
  min-width: 112px;
}

.admin-view[hidden] {
  display: none !important;
}

.dashboard-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.dashboard-stat-card,
.dashboard-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.022)
  );
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
}

.dashboard-stat-card {
  position: relative;
  overflow: hidden;
  padding: 1.05rem 1.15rem;
}

.dashboard-stat-card::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(206, 14, 14, 0.08);
  content: "";
  filter: blur(24px);
  transform: translate(35%, -45%);
}

.dashboard-stat-label,
.dashboard-stat-note {
  display: block;
  color: var(--muted);
}

.dashboard-stat-label {
  font-size: 0.82rem;
  font-weight: 700;
}

.dashboard-stat-value {
  display: block;
  margin: 0.25rem 0;
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-stat-note {
  font-size: 0.76rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(265px, 0.85fr);
  align-items: start;
  gap: 1rem;
}

.dashboard-main,
.dashboard-rail {
  display: grid;
  min-width: 0;
  gap: 1rem;
}

.dashboard-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.dashboard-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.dashboard-card-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-card-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-card-badge {
  flex: 0 0 auto;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(206, 14, 14, 0.2);
  border-radius: 999px;
  background: rgba(206, 14, 14, 0.07);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.weekly-activity {
  display: grid;
  min-height: 190px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.6rem;
}

.weekly-day {
  display: grid;
  min-width: 0;
  justify-items: center;
  gap: 0.45rem;
}

.weekly-count {
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
}

.weekly-track {
  display: flex;
  width: min(100%, 38px);
  height: 118px;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.weekly-bar {
  width: 100%;
  min-height: 3px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ce0e0e, rgba(165, 11, 11, 0.45));
  box-shadow: 0 0 20px rgba(206, 14, 14, 0.18);
  transition: height 0.35s var(--ease);
}

.weekly-day-label {
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
  text-transform: capitalize;
}

.dashboard-analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-bars {
  display: grid;
  gap: 0.85rem;
}

.dashboard-bar-row {
  display: grid;
  gap: 0.35rem;
}

.dashboard-bar-heading {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.dashboard-bar-heading strong {
  color: var(--text);
}

.dashboard-bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a50b0b, #f01818);
}

.dashboard-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.25rem 0 0.5rem;
  color: var(--text);
}

.dashboard-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9da8b4;
}

.dashboard-status-indicator.is-success .dashboard-status-dot {
  background: #64dfa4;
  box-shadow: 0 0 14px rgba(100, 223, 164, 0.45);
}

.dashboard-status-indicator.is-loading .dashboard-status-dot {
  background: #ffc857;
  box-shadow: 0 0 14px rgba(255, 200, 87, 0.4);
}

.dashboard-status-indicator.is-error {
  color: #ff9a9a;
}

.dashboard-status-indicator.is-error .dashboard-status-dot {
  background: #ff7777;
  box-shadow: 0 0 14px rgba(255, 119, 119, 0.4);
}

.dashboard-card-copy,
.dashboard-updated,
.dashboard-footnote {
  color: var(--muted);
  font-size: 0.8rem;
}

.dashboard-card-copy {
  margin: 0;
}

.dashboard-updated {
  display: block;
  margin-top: 0.75rem;
}

.dashboard-quick-metrics {
  display: grid;
  gap: 0.75rem;
}

.dashboard-quick-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
}

.dashboard-quick-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dashboard-quick-row strong {
  color: var(--text);
  font-size: 1rem;
}

.dashboard-activity-list {
  display: grid;
  gap: 0.85rem;
}

.dashboard-activity-item {
  display: grid;
  gap: 0.15rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(206, 14, 14, 0.55);
}

.dashboard-activity-title {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.dashboard-activity-meta {
  color: var(--muted);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.dashboard-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.dashboard-footnote {
  margin: 0.85rem 0 0;
}

[data-theme="light"] .admin-sidebar {
  background: linear-gradient(
    160deg,
    rgba(245, 249, 252, 0.98),
    rgba(235, 243, 248, 0.98)
  );
}

[data-theme="light"] .dashboard-stat-card,
[data-theme="light"] .dashboard-card {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.72)
  );
}

@media (max-width: 1120px) {
  .admin-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-rail > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .admin-page {
    padding: 1rem 0;
  }

  .admin-container {
    width: min(94%, 680px);
  }

  .admin-layout {
    display: block;
  }

  .admin-sidebar {
    position: static;
    min-height: 0;
    margin-bottom: 1rem;
    padding: 0.9rem;
  }

  .admin-sidebar-brand {
    margin-bottom: 0.6rem;
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav-label {
    grid-column: 1 / -1;
  }

  .admin-sidebar-footer {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-top: 0.75rem;
  }

  .admin-sidebar-footer .admin-nav-button {
    width: auto;
  }

  .dashboard-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .admin-dashboard-head {
    align-items: flex-start;
  }

  .admin-dashboard-head .admin-button {
    min-width: 0;
    padding: 0.55rem 0.75rem;
  }

  .dashboard-analysis-grid,
  .dashboard-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-rail > :last-child {
    grid-column: auto;
  }

  .weekly-activity {
    gap: 0.3rem;
  }
}

.feedback-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.feedback-admin-tab {
  min-height: 42px;
  padding: 0.6rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.feedback-admin-tab[aria-pressed="true"] {
  border-color: rgba(206, 14, 14, 0.28);
  background: rgba(206, 14, 14, 0.1);
  color: var(--text);
}

.feedback-admin-section[hidden] {
  display: none !important;
}

.feedback-form-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.feedback-form-admin-head h2,
.feedback-editor-form-details h3,
.feedback-builder-panel h3,
.feedback-builder-preview > h3 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.feedback-form-admin-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.feedback-form-admin-head .admin-button {
  flex: 0 0 auto;
}

#feedbackFormEditor {
  display: grid;
  gap: 1rem;
  margin-top: 0.8rem;
}

.feedback-editor-form-details,
.feedback-builder-panel,
.feedback-builder-preview {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(10, 13, 19, 0.72);
}

.feedback-editor-form-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 0.8rem 1rem;
}

.feedback-editor-form-details > h3 {
  grid-column: 1 / -1;
}

.feedback-builder-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.78fr) minmax(260px, 1.15fr) minmax(
      240px,
      0.95fr
    );
  align-items: start;
  gap: 0.8rem;
}

.feedback-builder-panel {
  display: grid;
  gap: 0.8rem;
}

.feedback-editor-question-list {
  display: grid;
  gap: 0.45rem;
}

.feedback-editor-question-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 0.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  cursor: grab;
}

.feedback-editor-question-row.is-selected {
  border-color: rgba(206, 14, 14, 0.9);
  box-shadow: 0 0 0 1px rgba(206, 14, 14, 0.25);
}

.feedback-editor-question-select {
  min-width: 0;
  padding: 0.65rem 0.6rem;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.feedback-editor-reorder {
  display: grid;
  grid-template-columns: 1fr;
}

.feedback-editor-move {
  min-width: 28px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

.feedback-editor-move:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.feedback-builder-panel h4 {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.feedback-editor-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.feedback-editor-type-button {
  min-height: 42px;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.feedback-editor-type-button:hover,
.feedback-editor-action:hover {
  border-color: rgba(206, 14, 14, 0.55);
  background: rgba(206, 14, 14, 0.07);
}

.feedback-editor-type-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.feedback-builder-preview {
  display: grid;
  gap: 0.75rem;
  padding: 0.8rem;
}

.feedback-editor-preview {
  display: grid;
  max-height: 78vh;
  gap: 0.7rem;
  overflow: auto;
  padding: 0.2rem;
}

.feedback-editor-preview-intro,
.feedback-editor-preview-card {
  padding: 1rem;
  border: 1px solid rgba(206, 14, 14, 0.22);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(206, 14, 14, 0.16),
    rgba(45, 5, 5, 0.78)
  );
}

.feedback-editor-preview-intro h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.feedback-editor-preview-intro p,
.feedback-preview-description {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.feedback-editor-preview-card {
  padding: 0.85rem;
  cursor: pointer;
}

.feedback-editor-preview-card.is-selected {
  border-color: #ce0e0e;
  box-shadow: 0 0 0 2px rgba(206, 14, 14, 0.35);
}

.feedback-editor-preview-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.feedback-required-mark {
  color: #ff9a9a;
}

.feedback-editor-preview-image {
  display: block;
  width: 100%;
  max-height: 180px;
  margin-bottom: 0.7rem;
  border-radius: 9px;
  object-fit: cover;
}

.feedback-preview-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.feedback-preview-choice {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(206, 14, 14, 0.25);
  border-radius: 8px;
  background: rgba(30, 5, 5, 0.35);
  color: var(--text);
  font-size: 0.75rem;
}

.feedback-preview-input {
  display: block;
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.78rem;
}

.feedback-preview-textarea {
  min-height: 72px;
}

.feedback-builder-panel .feedback-editor-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.feedback-editor-panel-head h3 {
  margin: 0;
  font-size: 1rem;
}

.feedback-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.feedback-editor-action {
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.feedback-editor-action.is-danger {
  color: #ff9a9a;
}

.feedback-editor-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.feedback-editor-field {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.feedback-editor-field .admin-input {
  width: 100%;
  min-width: 0;
}

.feedback-editor-required {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
}

.feedback-editor-required input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

[data-theme="light"] .feedback-editor-form-details,
[data-theme="light"] .feedback-builder-panel,
[data-theme="light"] .feedback-builder-preview {
  background: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1120px) {
  .feedback-builder-grid {
    grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  }

  .feedback-question-editor {
    grid-column: 1 / -1;
  }

  .feedback-editor-preview {
    max-height: 62vh;
  }
}

@media (max-width: 760px) {
  .feedback-form-admin-head {
    align-items: flex-start;
  }

  .feedback-form-admin-head .admin-button {
    min-width: 0;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
  }

  .feedback-builder-grid,
  .feedback-editor-form-details {
    grid-template-columns: minmax(0, 1fr);
  }

  .feedback-editor-form-details > h3 {
    grid-column: auto;
  }

  .feedback-question-editor {
    grid-column: auto;
  }

  .feedback-editor-preview {
    max-height: none;
  }
}

.feedback-question-description {
  margin: -0.3rem 0 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
}

#feedbackQuestions {
  display: grid;
  gap: 1.5rem;
}

.feedback-question-image {
  display: block;
  width: 100%;
  max-height: 260px;
  margin: 0.25rem 0 0.8rem;
  border-radius: 12px;
  object-fit: cover;
}

.feedback-form-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
}

.feedback-form-input:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(206, 14, 14, 0.12);
}

.feedback-option-list {
  display: grid;
  gap: 0.55rem;
}

.feedback-option-label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  cursor: pointer;
}

.feedback-option-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.feedback-rating.feedback-stars {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feedback-rating.feedback-stars button {
  color: #ffc2c2;
  font-size: 1.25rem;
}

[data-theme="light"] .feedback-form-input,
[data-theme="light"] .feedback-option-label {
  background: rgba(0, 0, 0, 0.025);
}

.feedback-response-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feedback-response-toolbar h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.feedback-response-toolbar .admin-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-color: var(--border);
  background: transparent;
  white-space: nowrap;
}

.feedback-response-toolbar .admin-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-response-toolbar .admin-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.response-card {
  padding: 1.2rem;
}

.response-card .response-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.response-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.response-origin {
  color: var(--text);
  font-size: 1.05rem;
}

.response-version {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
}

.response-card .response-date {
  display: block;
  margin: 0.15rem 0 0.85rem;
}

.response-card .response-rating {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 1rem;
}

.response-answers {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.response-answer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.045);
  overflow-wrap: anywhere;
}

.response-answer dt {
  color: var(--muted);
}

.response-answer dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  white-space: pre-wrap;
}

[data-theme="light"] .response-answer {
  background: rgba(0, 0, 0, 0.045);
}

@media (max-width: 520px) {
  .feedback-response-toolbar {
    align-items: flex-start;
  }

  .feedback-response-toolbar .admin-button {
    padding: 0.5rem 0.6rem;
    font-size: 0.76rem;
  }

  .response-card .response-head {
    flex-direction: column;
  }
}

.feedback-analytics-head {
  margin-bottom: 1rem;
}

.feedback-analytics-head h2,
.feedback-analytics-card h3 {
  margin: 0;
  color: var(--text);
}

.feedback-analytics-head h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.feedback-analytics-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.feedback-nps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.feedback-nps-card,
.feedback-analytics-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.feedback-nps-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.2rem;
}

.feedback-nps-card strong {
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.feedback-nps-card span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.feedback-analytics-card {
  padding: clamp(1rem, 2vw, 1.35rem);
}

.feedback-analytics-card h3 {
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.feedback-rating-card {
  margin-bottom: 1rem;
}

.feedback-rating-bars {
  display: grid;
  min-height: 250px;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
  margin-top: 1rem;
  padding-top: 0.4rem;
}

.feedback-rating-column {
  display: grid;
  min-width: 0;
  grid-template-rows: 1.25rem minmax(0, 1fr) 1.25rem;
  justify-items: center;
  gap: 0.25rem;
}

.feedback-rating-count,
.feedback-rating-label {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.2;
}

.feedback-rating-track {
  display: flex;
  width: min(100%, 42px);
  height: 100%;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: repeating-linear-gradient(
    to top,
    rgba(255, 255, 255, 0.09) 0,
    rgba(255, 255, 255, 0.09) 1px,
    transparent 1px,
    transparent 25%
  );
}

.feedback-rating-bar {
  width: 100%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #ce0e0e, #980d0d);
  transition: height 0.3s ease;
}

.feedback-rating-label {
  color: var(--text);
}

.feedback-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feedback-question-summary {
  margin: 0.7rem 0 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.feedback-answer-breakdown,
.feedback-text-answers {
  display: grid;
  gap: 0.55rem;
}

.feedback-answer-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.32rem 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.feedback-answer-choice-head {
  display: flex;
  min-width: 0;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.85rem;
}

.feedback-answer-choice-head span {
  overflow-wrap: anywhere;
}

.feedback-answer-choice-head strong {
  flex: 0 0 auto;
}

.feedback-answer-choice-track {
  height: 6px;
  overflow: hidden;
  align-self: center;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.feedback-answer-choice-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.feedback-answer-choice small {
  color: var(--muted);
  font-size: 0.72rem;
}

.feedback-text-answer {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.feedback-text-answer p {
  margin: 0;
  color: var(--text);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.feedback-text-answer small,
.feedback-question-more {
  display: block;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.feedback-question-more {
  margin: 0;
}

[data-theme="light"] .feedback-nps-card,
[data-theme="light"] .feedback-analytics-card {
  background: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .feedback-answer-choice,
[data-theme="light"] .feedback-text-answer {
  background: rgba(0, 0, 0, 0.035);
}

@media (max-width: 760px) {
  .feedback-question-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .feedback-nps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .feedback-nps-card {
    min-height: 92px;
    padding: 0.8rem;
  }

  .feedback-rating-bars {
    min-height: 210px;
    gap: 0.15rem;
  }

  .feedback-rating-count,
  .feedback-rating-label {
    font-size: 0.65rem;
  }
}
