body {
  font-family: Arial, sans-serif;
  background: #f2f6fb;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 680px;
  margin: 60px auto;
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-top: 0;
  color: #0f4c81;
}

.about-body {
  --about-ink: #16231d;
  --about-muted: #5c6d64;
  --about-green: #0f7a5b;
  --about-teal: #0f6872;
  --about-amber: #bd7c19;
  --about-coral: #c5553d;
  --about-line: rgba(22, 35, 29, 0.14);
  min-height: 100vh;
  color: var(--about-ink);
  background:
    linear-gradient(115deg, rgba(15, 122, 91, 0.13) 0 32%, transparent 32% 100%),
    linear-gradient(215deg, rgba(189, 124, 25, 0.18) 0 24%, transparent 24% 100%),
    repeating-linear-gradient(90deg, rgba(15, 104, 114, 0.05) 0 1px, transparent 1px 34px),
    #f5f1e8;
  font-family: 'Manrope', 'Trebuchet MS', sans-serif;
}

.about-page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(22px, 5vw, 56px) 0;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(18px, 4vw, 38px);
  align-items: stretch;
  min-height: min(620px, calc(100vh - 80px));
}

.about-hero-copy,
.about-signal-panel,
.about-story-copy,
.about-principle-card {
  border: 1px solid var(--about-line);
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 24px 72px rgba(36, 48, 39, 0.12);
  backdrop-filter: blur(14px);
}

.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: clamp(24px, 6vw, 64px);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.95), rgba(240, 249, 242, 0.88)),
    linear-gradient(90deg, rgba(197, 85, 61, 0.11), transparent 58%);
}

.about-home-link {
  box-sizing: border-box;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 132px;
  margin-bottom: auto;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--about-ink);
  color: #fffdf7;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.about-kicker {
  margin: 42px 0 12px;
  color: var(--about-coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--about-ink);
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(2.45rem, 7vw, 5.65rem);
  line-height: 0.96;
}

.about-lede {
  max-width: 64ch;
  margin: 22px 0 0;
  color: var(--about-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.7;
}

.about-signal-panel {
  display: grid;
  align-content: end;
  min-height: 520px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(16, 80, 73, 0.96), rgba(15, 104, 114, 0.9)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 18px);
  color: #fffdf7;
}

.about-signal-panel span {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 253, 247, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-signal-panel strong {
  max-width: 10ch;
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 0.98;
}

.about-signal-panel p {
  margin: 22px 0 0;
  color: rgba(255, 253, 247, 0.78);
  line-height: 1.65;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 18px;
  margin-top: 18px;
}

.about-story-copy {
  padding: clamp(24px, 4vw, 42px);
  border-radius: 24px;
}

.about-story-copy p {
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.85;
}

.about-story-copy p + p {
  margin-top: 22px;
}

.about-principles {
  display: grid;
  gap: 14px;
}

.about-principle-card {
  padding: 22px;
  border-radius: 20px;
}

.about-principle-card span {
  display: block;
  color: var(--about-green);
  font-family: 'Sora', 'Manrope', sans-serif;
  font-weight: 800;
}

.about-principle-card p {
  margin: 10px 0 0;
  color: var(--about-muted);
  line-height: 1.65;
}

.about-proposal-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 18px;
  margin-top: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(22, 35, 29, 0.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(15, 122, 91, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.94), rgba(237, 249, 242, 0.92));
  box-shadow: 0 24px 72px rgba(36, 48, 39, 0.12);
}

.about-proposal-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.about-proposal-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--about-ink);
  font-family: 'Sora', 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  line-height: 0.98;
}

.about-proposal-copy p:not(.about-kicker) {
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--about-muted);
  line-height: 1.75;
}

.about-proposal-copy a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--about-green);
  color: #fffdf7;
  font-weight: 900;
  text-decoration: none;
}

.about-proposal-copy a:hover,
.about-proposal-copy a:focus-visible {
  background: var(--about-ink);
}

.about-proposal-steps {
  display: grid;
  gap: 12px;
}

.about-proposal-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  padding: 18px;
  border: 1px solid var(--about-line);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.82);
}

.about-proposal-steps span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--about-ink);
  color: #fffdf7;
  font-weight: 900;
}

.about-proposal-steps strong {
  color: var(--about-green);
  font-family: 'Sora', 'Manrope', sans-serif;
}

.about-proposal-steps p {
  margin: 0;
  color: var(--about-muted);
  line-height: 1.58;
}

.bottom-page-photo-panel {
  box-sizing: border-box;
  width: 100%;
  margin: 18px 0 0;
  padding: clamp(10px, 2vw, 16px);
  border: 1px solid var(--bottom-photo-line, rgba(22, 35, 29, 0.14));
  border-radius: 24px;
  background: var(--bottom-photo-background, rgba(255, 253, 247, 0.9));
  box-shadow: var(--bottom-photo-shadow, 0 22px 58px rgba(36, 48, 39, 0.12));
}

.bottom-page-photo-panel img {
  display: block;
  width: 100%;
  max-height: min(620px, 72vh);
  object-fit: contain;
  border-radius: 18px;
  background: var(--bottom-photo-image-background, #fffdf7);
}

.about-bottom-photo-panel {
  --bottom-photo-line: var(--about-line);
  --bottom-photo-background: rgba(255, 253, 247, 0.9);
  --bottom-photo-shadow: 0 22px 58px rgba(36, 48, 39, 0.12);
  --bottom-photo-image-background: #fffdf7;
}

@media (max-width: 880px) {
  .about-hero,
  .about-story-grid,
  .about-proposal-panel {
    grid-template-columns: 1fr;
  }

  .about-hero,
  .about-hero-copy,
  .about-signal-panel {
    min-height: auto;
  }

  .about-signal-panel strong {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .about-page-shell {
    width: min(100% - 22px, 1180px);
    padding: 14px 0 28px;
  }

  .about-hero-copy,
  .about-signal-panel,
  .about-story-copy,
  .about-proposal-panel,
  .about-principle-card {
    border-radius: 18px;
  }

  .about-hero-copy,
  .about-story-copy,
  .about-proposal-panel {
    padding: 22px;
  }

  .about-proposal-copy h2 {
    max-width: 100%;
  }

  .about-proposal-copy a {
    width: 100%;
  }

  .about-home-link {
    width: 100%;
    margin-bottom: 34px;
  }

  .bottom-page-photo-panel {
    padding: 8px;
    border-radius: 18px;
  }

  .bottom-page-photo-panel img {
    max-height: none;
    border-radius: 14px;
  }
}

.reward-policy-body {
  --reward-ink: #10233d;
  --reward-muted: #52657a;
  --reward-blue: #0f5f8f;
  --reward-green: #13795b;
  --reward-gold: #b7791f;
  --reward-line: rgba(29, 78, 116, 0.16);
  min-height: 100vh;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 18% 12%, rgba(19, 121, 91, 0.18), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(183, 121, 31, 0.16), transparent 30%),
    linear-gradient(135deg, #eaf5f1 0%, #edf4fb 44%, #fff8eb 100%);
  color: var(--reward-ink);
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

.reward-policy-page {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.reward-policy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(18px, 4vw, 34px);
  align-items: stretch;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 255, 0.86)),
    repeating-linear-gradient(90deg, rgba(15, 95, 143, 0.05) 0, rgba(15, 95, 143, 0.05) 1px, transparent 1px, transparent 30px);
  box-shadow: 0 28px 80px rgba(16, 35, 61, 0.16);
}

.reward-policy-kicker {
  margin: 0 0 10px;
  color: var(--reward-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.reward-policy-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--reward-ink);
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 0.98;
}

.reward-policy-hero-copy > p:not(.reward-policy-kicker) {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--reward-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.reward-policy-home-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 132px;
  margin-top: 26px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--reward-blue);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 95, 143, 0.24);
}

.reward-policy-score-panel {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 240px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, #113f5f, #14785b);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.reward-policy-score-label,
.reward-policy-score-panel span:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.reward-policy-score-panel strong {
  font-size: clamp(4rem, 10vw, 6.5rem);
  line-height: 0.92;
}

.reward-policy-stats,
.reward-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.reward-policy-stats article,
.reward-policy-card,
.reward-policy-timeline {
  border: 1px solid var(--reward-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(16, 35, 61, 0.1);
}

.reward-policy-stats article {
  padding: 18px;
}

.reward-policy-stats span,
.reward-policy-card-number {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e7f3ff;
  color: var(--reward-blue);
  font-weight: 900;
}

.reward-policy-stats strong,
.reward-policy-card h2,
.reward-policy-timeline h2 {
  display: block;
  margin: 0;
  color: var(--reward-ink);
}

.reward-policy-stats p,
.reward-policy-card p,
.reward-policy-timeline p {
  margin: 10px 0 0;
  color: var(--reward-muted);
  line-height: 1.65;
}

.reward-policy-card {
  padding: clamp(20px, 3vw, 28px);
}

.reward-policy-card-featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 249, 235, 0.9));
  border-color: rgba(183, 121, 31, 0.28);
}

.reward-policy-example {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--reward-gold);
  border-radius: 12px;
  background: rgba(255, 248, 232, 0.9);
}

.reward-policy-example strong {
  color: #825616;
}

.reward-policy-timeline {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.reward-policy-timeline ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reward-policy-timeline li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #f5fbff;
  border: 1px solid #d8e9f5;
}

.reward-policy-timeline li span {
  color: var(--reward-blue);
  font-weight: 900;
}

.reward-policy-bottom-photo-panel {
  --bottom-photo-line: var(--reward-line);
  --bottom-photo-background: rgba(255, 255, 255, 0.84);
  --bottom-photo-shadow: 0 18px 48px rgba(16, 35, 61, 0.1);
  --bottom-photo-image-background: #ffffff;
}

@media (max-width: 820px) {
  .reward-policy-hero,
  .reward-policy-timeline {
    grid-template-columns: 1fr;
  }

  .reward-policy-home-link {
    width: 100%;
  }

  .reward-policy-stats,
  .reward-policy-grid {
    grid-template-columns: 1fr;
  }

  .reward-policy-score-panel {
    min-height: 180px;
  }
}

.signup-page {
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  min-height: 100vh;
  padding: 28px 14px;
  background:
    linear-gradient(135deg, rgba(15, 76, 129, 0.16), rgba(40, 167, 139, 0.14)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 1px, transparent 1px, transparent 18px),
    #edf4fb;
}

.signup-container {
  max-width: 940px;
  margin: 18px auto;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(215, 227, 244, 0.9);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 76, 129, 0.18);
}

.signup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #123f68, #168568);
  color: #ffffff;
}

.signup-container h1 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.signup-kicker {
  margin: 0 0 8px;
  color: #d7f4ed;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.signup-subtitle {
  max-width: 62ch;
  margin: 0;
  color: #e9f7ff;
  line-height: 1.5;
}

.signup-assurance {
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.signup-assurance span {
  display: block;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.86rem;
  line-height: 1;
}

.signup-section,
.legal-declaration-box {
  margin: 0 0 18px;
  padding: 20px;
  border: 1px solid #d8e5f5;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 10px 22px rgba(20, 61, 105, 0.06);
}

.signup-section h2,
.legal-declaration-box h2 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
  color: #143d69;
  font-size: 1.05rem;
}

.section-badge {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #e7f3ff;
  color: #0f4c81;
  font-size: 0.78rem;
  font-weight: 800;
}

.signup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
}

.signup-grid .field-error {
  grid-column: 2;
}

body.signup-page .phone-number-field {
  display: grid;
  grid-template-columns: minmax(70px, auto) minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  min-height: 48px;
  overflow: hidden;
  border: 1px solid #c6d6e8;
  border-radius: 12px;
  background: #ffffff;
}

body.signup-page .phone-code-prefix {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 0 12px;
  border-right: 1px solid #d8e4f0;
  background: #eef6ff;
  color: #0f4c81;
  font-weight: 800;
  white-space: nowrap;
}

body.signup-page .phone-number-field input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.signup-page .phone-number-field input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(15, 76, 129, 0.22);
}

body.signup-page .location-section {
  position: relative;
  overflow: hidden;
  border-color: #c9dfef;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 255, 0.98)),
    repeating-linear-gradient(90deg, rgba(15, 76, 129, 0.04) 0, rgba(15, 76, 129, 0.04) 1px, transparent 1px, transparent 28px);
}

body.signup-page .location-section h2 {
  margin-bottom: 18px;
}

body.signup-page .location-grid {
  display: grid;
  gap: 14px;
}

body.signup-page .location-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid #dce9f7;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(20, 61, 105, 0.05);
}

body.signup-page .signup-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

body.signup-page .signup-field label {
  display: block;
  margin: 0;
  color: #263f5d;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

body.signup-page .signup-field input,
body.signup-page .signup-field select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 11px 12px;
  border-radius: 12px;
  background-color: #ffffff;
}

body.signup-page .signup-field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #31546f 50%),
    linear-gradient(135deg, #31546f 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 52%,
    calc(100% - 13px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

body.signup-page .signup-field .field-error {
  margin: 0;
}

.signup-actions-section input {
  max-width: 360px;
}

.signup-otp-fields {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.signup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signup-verify-actions {
  margin-top: 12px;
}

.signup-actions button {
  width: auto;
  min-width: 150px;
  margin-bottom: 0;
  border: 0;
  box-shadow: 0 8px 18px rgba(15, 76, 129, 0.18);
}

.signup-actions button[type="submit"] {
  background: #168568;
}

.signup-actions button[type="submit"]:hover {
  background: #106c55;
}

@media (max-width: 640px) {
  .signup-page {
    padding: 12px;
  }

  .signup-container {
    margin: 0 auto;
    border-radius: 10px;
  }

  .signup-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .signup-assurance {
    min-width: 0;
  }

  .signup-grid {
    grid-template-columns: 1fr;
  }

  .signup-grid .field-error {
    grid-column: 1;
  }

  body.signup-page .location-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .signup-actions button {
    width: 100%;
  }
}

input,
textarea,
button,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.signup-page input,
.signup-page select,
.signup-page textarea {
  min-height: 46px;
  border: 1px solid #c9d7e8;
  border-radius: 10px;
  background: #fbfdff;
  color: #1f2937;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.signup-page input:focus,
.signup-page select:focus,
.signup-page textarea:focus {
  outline: none;
  border-color: #0f6aa7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 106, 167, 0.16);
}

.signup-page input:hover,
.signup-page select:hover,
.signup-page textarea:hover {
  border-color: #8fb3d2;
}

.signup-actions button {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.signup-actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 76, 129, 0.2);
}

.login-mobile-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 10px;
}

.login-mobile-fields select,
.login-mobile-fields input {
  min-width: 0;
}

.signup-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.signup-links a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 132px;
  padding: 0 12px;
  border: 1px solid #d8e5f5;
  border-radius: 999px;
  color: #0f4c81;
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.signup-links a:hover {
  background: #0f4c81;
  color: #ffffff;
}

@media (max-width: 560px) {
  .login-mobile-fields {
    grid-template-columns: 1fr;
  }

  .signup-links {
    align-items: stretch;
    flex-direction: column;
  }

  .signup-links a {
    width: 100%;
  }
}

.field-error {
  display: block;
  min-height: 16px;
  margin: -6px 0 10px;
  color: #b42318 !important;
  font-size: 0.84rem;
  line-height: 1.25;
}

.legal-declaration-box p {
  margin: 0 0 12px;
  color: #334155;
  line-height: 1.45;
}

.legal-declaration-box .legal-action-emphasis,
.legal-declaration-box .legal-action-emphasis a {
  color: #b42318;
  font-weight: 700;
}

.legal-declaration-box .legal-action-emphasis a {
  text-decoration: underline;
}

.legal-draft-notice {
  padding: 12px 14px;
  border: 1px solid #e8bb67;
  border-radius: 10px;
  background: #fff8e8;
  color: #6a4700 !important;
  font-weight: 700;
  line-height: 1.45;
}

.legal-document-container {
  max-width: 900px;
}

.legal-document-container .signup-hero {
  display: block;
}

.legal-document-content section {
  margin: 24px 0;
}

.legal-document-content h2 {
  margin: 0 0 10px;
  color: #143d69;
  font-size: 1.2rem;
}

.legal-document-content p,
.legal-document-content li {
  color: #334155;
  line-height: 1.6;
}

.legal-document-content ul {
  padding-left: 24px;
}

.legal-document-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
}

.legal-document-nav a,
.legal-document-content a {
  color: #0f4c81;
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #1f2937;
  line-height: 1.35;
}

.legal-acceptance-block {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.legal-acceptance-block .field-error {
  min-height: 16px;
  margin: 0 0 0 24px;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
  min-height: auto;
}

.local-dummy-otp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.local-dummy-otp strong {
  letter-spacing: 0.08em;
}

button {
  background: #0f4c81;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #0b355f;
}

.admin-dashboard-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 191, 87, 0.2), transparent 30%),
    radial-gradient(circle at 18% 12%, rgba(22, 133, 104, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(232, 243, 255, 0.96), rgba(244, 250, 247, 0.94) 48%, rgba(238, 244, 252, 0.96)),
    repeating-linear-gradient(90deg, rgba(15, 76, 129, 0.05) 0, rgba(15, 76, 129, 0.05) 1px, transparent 1px, transparent 34px);
  color: #172033;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

.admin-dashboard-page button,
.admin-dashboard-page input,
.admin-dashboard-page select {
  font: inherit;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(16, 47, 87, 0.98), rgba(12, 67, 82, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 20px);
  color: #ffffff;
  box-shadow: 16px 0 38px rgba(16, 47, 87, 0.16);
}

.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f7f0;
  color: #0d5f4c;
  font-weight: 900;
}

.admin-brand strong,
.admin-brand small {
  display: block;
}

.admin-brand small {
  color: #b9cce2;
  margin-top: 3px;
}

.admin-sidebar-card {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.admin-sidebar-card span {
  color: #9ee8d5;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.admin-sidebar-card strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.admin-sidebar-card small {
  color: #d7e6f4;
  line-height: 1.45;
}

.admin-nav-tabs {
  display: grid;
  gap: 8px;
}

.admin-nav-tab,
.admin-create-link,
.admin-logout-button,
.admin-primary-action,
.admin-secondary-action {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
}

.admin-nav-tab {
  justify-content: flex-start;
  background: transparent;
  color: #dcecff;
}

.admin-nav-tab:hover,
.admin-nav-tab.is-active {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.admin-create-link,
.admin-primary-action {
  background: #168568;
  color: #ffffff;
}

.admin-create-link:hover,
.admin-primary-action:hover {
  background: #106c55;
}

.admin-logout-button {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.admin-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 34px);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(202, 219, 237, 0.95);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 252, 0.9)),
    radial-gradient(circle at 96% 0%, rgba(22, 133, 104, 0.16), transparent 30%);
  box-shadow: 0 22px 54px rgba(24, 62, 106, 0.12);
}

.admin-kicker {
  margin: 0 0 6px;
  color: #5d6f8a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.admin-topbar h1,
.admin-panel-heading h2 {
  margin: 0;
  color: #102f57;
}

.admin-topbar h1 {
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.05;
}

.admin-welcome {
  margin: 10px 0 0;
  color: #415273;
}

.admin-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-primary-action,
.admin-secondary-action {
  width: auto;
  min-width: 132px;
}

.admin-secondary-action {
  border: 1px solid #cfe0f3;
  background: #ffffff;
  color: #143d69;
}

.admin-secondary-action:hover {
  background: #eaf3ff;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-command-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.admin-command-strip article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d6e6f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(24, 62, 106, 0.08);
}

.admin-command-strip article::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #126b57, #ffbf57);
}

.admin-command-strip span,
.admin-command-strip small {
  color: #5d6f8a;
}

.admin-command-strip span {
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-command-strip strong {
  color: #102f57;
  font-size: 2rem;
  line-height: 1;
}

.admin-command-strip small {
  line-height: 1.35;
}

.admin-stat-card,
.admin-workspace,
.admin-data-card {
  border: 1px solid #d9e5f2;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(24, 62, 106, 0.09);
}

.admin-stat-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  border-radius: 14px;
}

.admin-stat-card::after {
  content: '';
  position: absolute;
  inset: auto 12px 12px auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: rgba(18, 107, 87, 0.08);
}

.admin-stat-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eaf3ff;
  color: #143d69 !important;
  font-size: 0.72rem !important;
  font-weight: 900;
}

.admin-stat-card span,
.admin-stat-card small {
  color: #5d6f8a;
}

.admin-stat-card strong {
  color: #102f57;
  font-size: 2rem;
  line-height: 1;
}

.admin-workspace {
  border-radius: 18px;
  padding: clamp(14px, 2vw, 22px);
}

.admin-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.admin-workspace-head h2 {
  margin: 0;
  color: #102f57;
  font-size: 1.35rem;
}

.admin-quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-quick-filters button {
  width: auto;
  min-height: 36px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  background: #ffffff;
  color: #143d69;
  font-weight: 900;
}

.admin-quick-filters button:hover,
.admin-quick-filters button:focus-visible,
.admin-quick-filters button.is-active {
  border-color: #126b57;
  background: #126b57;
  color: #ffffff;
  outline: none;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) minmax(160px, 220px);
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.admin-toolbar label,
.admin-update-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-filter-editor {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-user-search-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}

.admin-user-search-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-user-search-form input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid #cfe0f3;
  border-radius: 10px;
  background: #fbfdff;
}

.admin-user-search-form input:focus {
  border-color: #126b57;
  box-shadow: 0 0 0 3px rgba(18, 107, 87, 0.12);
  outline: none;
}

.admin-user-search-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
}

.admin-user-search-status {
  min-height: 1.2em;
  margin: 0 0 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-user-search-status[data-tone="error"] {
  color: #b42318;
}

.admin-user-search-status[data-tone="success"] {
  color: #126b57;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-update-form input,
.admin-update-form select,
.admin-update-form textarea {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid #cfe0f3;
  border-radius: 10px;
  background: #fbfdff;
}

.admin-update-form textarea {
  min-height: 96px;
  padding: 10px 12px;
  resize: vertical;
  font: inherit;
  line-height: 1.45;
}

.admin-update-form select {
  padding: 0 12px;
}

.admin-toolbar input:focus,
.admin-toolbar select:focus,
.admin-update-form input:focus,
.admin-update-form select:focus,
.admin-update-form textarea:focus {
  border-color: #126b57;
  box-shadow: 0 0 0 3px rgba(18, 107, 87, 0.12);
  outline: none;
}

.admin-status {
  min-height: 22px;
  margin: 0 0 14px;
  color: #415273;
  font-weight: 700;
}

.admin-status[data-tone="success"] {
  color: #106c55;
}

.admin-status[data-tone="error"] {
  color: #b42318;
}

.admin-action-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid #b8d3ef;
  border-left: 6px solid #126b57;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 47, 87, 0.22);
  color: #102f57;
  font-weight: 900;
  line-height: 1.45;
}

.admin-action-toast[hidden] {
  display: none;
}

.admin-action-toast[data-tone="success"] {
  border-left-color: #106c55;
  color: #106c55;
}

.admin-action-toast[data-tone="error"] {
  border-left-color: #b42318;
  color: #b42318;
}

.admin-panel {
  display: none;
}

.admin-panel.is-active {
  display: block;
}

.admin-panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-result-count,
.admin-chip,
.admin-status-pill,
.admin-option-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.admin-result-count,
.admin-chip {
  background: #eaf3ff;
  color: #143d69;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-survey-group {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.admin-survey-group + .admin-survey-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e4edf8;
}

.admin-survey-group-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-survey-group-heading h3 {
  margin: 0;
  color: #102f57;
  font-size: 1rem;
}

.admin-survey-group-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #143d69;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-survey-group.is-live .admin-survey-group-heading h3 {
  color: #0d6a4d;
}

.admin-survey-group.is-live .admin-survey-group-heading span {
  background: #ddf7eb;
  color: #0d6a4d;
}

.admin-survey-group.is-proposed .admin-survey-group-heading h3 {
  color: #143d69;
}

.admin-survey-group.is-proposed .admin-survey-group-heading span {
  background: #eaf3ff;
  color: #143d69;
}

.admin-survey-group.is-hidden .admin-survey-group-heading h3 {
  color: #8a4c04;
}

.admin-survey-group.is-hidden .admin-survey-group-heading span {
  background: #fff1de;
  color: #8a4c04;
}

.admin-survey-group-list {
  gap: 12px;
}

.admin-data-card {
  border-radius: 14px;
  padding: 16px;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.admin-card-header h3 {
  margin: 9px 0 6px;
  color: #102f57;
  font-size: 1.18rem;
}

.admin-card-header p {
  margin: 0;
  color: #52647d;
  line-height: 1.45;
}

.admin-survey-description {
  display: -webkit-box;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.admin-survey-description.is-expanded {
  display: block;
  overflow: visible;
  line-clamp: unset;
  -webkit-line-clamp: unset;
}

.admin-description-toggle {
  width: fit-content;
  min-height: 30px;
  margin: 6px 0 0;
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: #126b57;
  font-size: 0.96rem;
  font-weight: 900;
}

.admin-description-toggle:hover {
  background: transparent;
  color: #102f57;
  text-decoration: underline;
}

.admin-status-pill {
  flex: 0 0 auto;
  background: #eaf3ff;
  color: #143d69;
}

.admin-status-pill.is-live {
  background: #ddf7eb;
  color: #0d6a4d;
}

.admin-status-pill.is-hidden {
  background: #fff1de;
  color: #8a4c04;
}

.admin-status-pill.is-proposed {
  background: #eaf3ff;
  color: #143d69;
}

.admin-card-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-sensitivity-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f3f7fb;
  color: #52647d;
  font-size: 0.74rem;
  font-weight: 900;
}

.admin-card-meta,
.admin-option-strip,
.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.admin-card-meta span {
  min-height: 28px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #f4f8fd;
  color: #455b78;
  font-size: 0.84rem;
  font-weight: 700;
}

.admin-option-strip span {
  background: #f1f8f5;
  color: #1d5a48;
}

.admin-option-strip strong {
  margin-left: 6px;
  color: #102f57;
}

.admin-update-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4edf8;
}

.admin-survey-edit-details {
  min-width: 0;
}

.admin-survey-edit-details summary {
  width: fit-content;
  min-height: 34px;
  color: #126b57;
  cursor: pointer;
  font-weight: 900;
}

.admin-survey-edit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 12px;
  min-width: 0;
  margin-top: 10px;
}

.admin-survey-edit-grid label:has(textarea),
.admin-filter-editor,
.admin-statistics-attributes {
  grid-column: span 2;
}

.admin-survey-edit-grid small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
}

.admin-survey-action-status {
  min-height: 22px;
  margin: 0;
  color: #415273;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-user-editor-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
}

.admin-user-wallet-reason {
  grid-column: span 2;
}

.admin-survey-action-status[data-tone="success"] {
  color: #106c55;
}

.admin-survey-action-status[data-tone="error"] {
  color: #b42318;
}

.admin-inline-check {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px !important;
  min-height: 44px;
}

.admin-inline-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.admin-statistics-attributes {
  border: 1px solid #d8e2ee;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
}

.admin-statistics-attributes legend {
  padding: 0 6px;
  color: #17324d;
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-statistics-attributes p {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-statistics-attribute-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
}

.admin-card-actions {
  align-items: center;
  margin-top: 0;
}

.admin-card-actions button {
  width: auto;
  min-width: 96px;
  min-height: 42px;
  margin: 0;
  border: 0;
  border-radius: 10px;
  font-weight: 900;
}

.admin-filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-filter-chip-panel {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px dashed #b8d3ef;
  border-radius: 10px;
  background: #f7fbff;
}

.admin-filter-chip-heading {
  color: #435a78;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-height: 30px;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid #b8d3ef;
  border-radius: 999px;
  background: #fff1f0;
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-filter-chip:hover {
  border-color: #8f1d1d;
  background: #ffe1de;
  color: #8f1d1d;
}

.admin-filter-chip strong {
  font-size: 1rem;
  line-height: 1;
}

.admin-filter-empty {
  margin: 0;
  color: #6c7d96;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-danger-button {
  background: #b42318;
}

.admin-danger-button:hover {
  background: #8f1c13;
}

.admin-user-list {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.admin-empty-state {
  padding: 26px;
  border: 1px dashed #bed2e8;
  border-radius: 14px;
  background: #f8fbff;
  color: #52647d;
  font-weight: 800;
  text-align: center;
}

.admin-create-survey-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(233, 244, 255, 0.94), rgba(240, 250, 245, 0.92)),
    repeating-linear-gradient(135deg, rgba(16, 47, 87, 0.05) 0, rgba(16, 47, 87, 0.05) 1px, transparent 1px, transparent 28px);
  color: #172033;
}

.create-survey-app {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 36px) 0;
}

.create-survey-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #d8e6f4;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 255, 0.9)),
    radial-gradient(circle at 92% 12%, rgba(22, 133, 104, 0.16), transparent 30%);
  box-shadow: 0 20px 48px rgba(24, 62, 106, 0.12);
}

.create-survey-kicker {
  margin: 0 0 8px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.create-survey-hero h1 {
  margin: 0;
  color: #102f57;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.05;
}

.create-survey-subtitle,
.create-survey-admin {
  max-width: 70ch;
  margin: 10px 0 0;
  color: #455b78;
  line-height: 1.55;
}

.create-survey-admin {
  font-weight: 800;
}

.create-survey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.create-survey-actions a,
.create-survey-actions button,
.create-survey-submit-panel button {
  width: auto;
  min-width: 126px;
  min-height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: #102f57;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
}

.create-survey-actions a,
.create-survey-submit-panel button[type="submit"] {
  background: #168568;
}

.create-survey-actions a:hover,
.create-survey-submit-panel button[type="submit"]:hover {
  background: #106c55;
}

.create-survey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.create-survey-card,
.create-survey-submit-panel {
  min-width: 0;
  border: 1px solid #d9e5f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(24, 62, 106, 0.09);
}

.create-survey-card {
  padding: clamp(16px, 2.3vw, 24px);
}

.create-survey-main-card,
.create-survey-options-card,
.create-survey-sensitivity-card,
.create-survey-filters-card,
.create-survey-submit-panel {
  grid-column: 1;
}

.create-survey-section-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.create-survey-section-heading > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 12px;
  background: #eaf3ff;
  color: #143d69;
  font-size: 0.8rem;
  font-weight: 900;
}

.create-survey-section-heading h2 {
  margin: 0;
  color: #102f57;
  font-size: 1.2rem;
}

.create-survey-section-heading p {
  margin: 4px 0 0;
  color: #607089;
  line-height: 1.45;
}

.create-survey-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 900;
}

.create-survey-field input,
.create-survey-field select,
.create-survey-field textarea,
.create-survey-options-card textarea,
.create-survey-sensitivity-card > select {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
}

.create-survey-field textarea,
.create-survey-options-card textarea {
  min-height: 130px;
  resize: vertical;
}

.create-survey-media-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(280px, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #cfe0f3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(241, 248, 255, 0.9)),
    radial-gradient(circle at 92% 0%, rgba(22, 133, 104, 0.12), transparent 34%);
}

.create-survey-media-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.create-survey-media-copy span {
  color: #168568;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.create-survey-media-copy strong {
  color: #102f57;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.create-survey-media-copy p,
.create-survey-dropzone p,
.create-survey-image-preview p {
  margin: 0;
  color: #607089;
  line-height: 1.48;
}

.create-survey-dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  padding: 20px;
  border: 2px dashed #9fc3e8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #143d69;
  cursor: pointer;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.create-survey-dropzone:hover,
.create-survey-dropzone:focus-within,
.create-survey-dropzone.is-active {
  border-color: #168568;
  background: #effaf6;
  box-shadow: 0 16px 34px rgba(22, 133, 104, 0.12);
  transform: translateY(-1px);
}

.create-survey-dropzone.is-rejected {
  border-color: #b42318;
  background: #fff1f1;
}

.create-survey-dropzone-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #168568;
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.create-survey-dropzone strong {
  color: #102f57;
  font-size: 1rem;
}

.create-survey-image-preview {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #d8e6f4;
  border-radius: 14px;
  background: #f8fbff;
}

.create-survey-image-preview img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
}

.create-survey-image-preview strong {
  display: block;
  margin-bottom: 5px;
  color: #102f57;
}

.create-survey-image-preview button {
  min-height: 38px;
  margin: 10px 0 0;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #e8f1fb;
  color: #0f4c81;
  font-weight: 900;
}

.create-survey-wide-field + .create-survey-wide-field,
.create-survey-two-column,
.create-survey-option-chips,
.create-survey-active-filters {
  margin-top: 14px;
}

.create-survey-two-column,
.create-survey-filter-grid,
.sensitivity-choice-grid {
  display: grid;
  gap: 12px;
}

.create-survey-two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.create-survey-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  background: #f4f8fd;
  color: #143d69;
  font-weight: 900;
}

.create-survey-toggle input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.create-survey-option-chips,
.create-survey-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.create-survey-option-chips span,
.create-survey-active-filters span,
.create-survey-active-filters button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.create-survey-option-chips span,
.create-survey-active-filters span,
.create-survey-active-filters button {
  background: #eaf3ff;
  color: #143d69;
}

.create-survey-active-filters button {
  width: auto;
  margin: 0;
  cursor: pointer;
}

.sensitivity-choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sensitivity-choice-grid label {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 14px;
  border: 1px solid #d9e5f2;
  border-radius: 14px;
  background: #f8fbff;
  cursor: pointer;
}

.sensitivity-choice-grid label.is-selected {
  border-color: #168568;
  background: #effaf5;
  box-shadow: 0 0 0 3px rgba(22, 133, 104, 0.12);
}

.sensitivity-choice-grid input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.sensitivity-choice-grid strong {
  color: #102f57;
}

.sensitivity-choice-grid span {
  color: #607089;
  line-height: 1.35;
  font-size: 0.83rem;
}

.create-survey-sensitivity-card > select {
  margin-top: 14px;
}

.create-survey-filter-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.create-survey-submit-panel {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px;
}

.create-survey-submit-panel > div {
  display: flex;
  gap: 10px;
}

.create-survey-status {
  min-height: 22px;
  margin: 0;
  color: #455b78;
  font-weight: 900;
}

.create-survey-status.is-success {
  color: #106c55;
}

.create-survey-status.is-error {
  color: #b42318;
}

.create-survey-reset-button {
  background: #ffffff !important;
  color: #143d69 !important;
  border: 1px solid #cfe0f3 !important;
}

@media (max-width: 1040px) {
  .create-survey-layout {
    grid-template-columns: 1fr;
  }

  .create-survey-main-card,
  .create-survey-options-card,
  .create-survey-sensitivity-card,
  .create-survey-filters-card,
  .create-survey-submit-panel {
    grid-column: 1;
  }

  .create-survey-filter-grid,
  .sensitivity-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .create-survey-media-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .create-survey-hero,
  .create-survey-submit-panel {
    display: grid;
  }

  .create-survey-actions,
  .create-survey-submit-panel > div,
  .create-survey-actions a,
  .create-survey-actions button,
  .create-survey-submit-panel button {
    width: 100%;
  }

  .create-survey-two-column,
  .create-survey-filter-grid,
  .sensitivity-choice-grid,
  .create-survey-image-preview {
    grid-template-columns: 1fr;
  }

  .create-survey-image-preview img {
    max-width: none;
  }
}

@media (max-width: 1040px) {
  .admin-dashboard-page {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .admin-brand {
    flex: 1 1 240px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .admin-sidebar-card {
    flex: 1 1 260px;
  }

  .admin-nav-tabs {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    flex: 1 1 240px;
  }

  .admin-create-link,
  .admin-logout-button {
    width: auto;
    margin-top: 0;
  }

  .admin-command-strip,
  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .admin-update-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .admin-main {
    padding: 14px;
  }

  .admin-topbar,
  .admin-workspace-head,
  .admin-panel-heading,
  .admin-card-header,
  .admin-survey-group-heading {
    display: grid;
  }

  .admin-top-actions,
  .admin-quick-filters,
  .admin-card-actions,
  .admin-primary-action,
  .admin-secondary-action,
  .admin-quick-filters button,
  .admin-card-actions button {
    width: 100%;
  }

  .admin-action-toast {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .admin-command-strip,
  .admin-stats-grid,
  .admin-toolbar,
  .admin-user-search-form,
  .admin-update-form,
  .admin-survey-edit-grid,
  .admin-user-list {
    grid-template-columns: 1fr;
  }

  .admin-survey-edit-grid label:has(textarea),
  .admin-user-wallet-reason,
  .admin-filter-editor {
    grid-column: auto;
  }
}

.nav-link-button {
  width: auto;
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  vertical-align: baseline;
}

.home-page {
  position: relative;
  font-family: 'Manrope', sans-serif;
  width: 100%;
  max-width: none;
  overflow-x: clip;
  min-height: 100vh;
  margin: 0;
  padding: clamp(22px, 3.2vw, 40px);
  box-sizing: border-box;
  border-radius: 0;
  border: 0;
  background:
    radial-gradient(circle at 10% -5%, rgba(255, 198, 144, 0.32), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(128, 226, 206, 0.27), transparent 36%),
    linear-gradient(175deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: none;
  animation: home-fade-in 700ms ease both;
}

.home-live-clock {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 20;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 9px 12px;
  border: 1px solid rgba(211, 225, 242, 0.88);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  color: #173764;
  box-shadow: 0 12px 28px rgba(24, 62, 106, 0.13);
  backdrop-filter: blur(12px);
}

.home-live-clock span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #5d6f8a;
}

.home-live-clock strong {
  font-size: 1rem;
  line-height: 1.15;
  color: #102f57;
}

.home-reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: home-stagger-in 620ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--delay, 0ms) both;
}

.home-hero h1 {
  font-family: 'Sora', sans-serif;
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: 0.2px;
  line-height: 1.08;
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 18px 18px 16px;
  isolation: isolate;
  border: 1px solid #dbe6f7;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 250, 255, 0.9));
}

.home-hero::before,
.home-hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(0.5px);
  z-index: -1;
  opacity: 0.55;
  animation: home-orb-float 12s ease-in-out infinite;
}

.home-hero::before {
  width: 240px;
  height: 240px;
  right: -90px;
  top: -110px;
  background: radial-gradient(circle at 30% 30%, rgba(242, 137, 40, 0.35), rgba(242, 137, 40, 0.05) 62%, transparent 72%);
}

.home-hero::after {
  width: 220px;
  height: 220px;
  left: -88px;
  bottom: -126px;
  background: radial-gradient(circle at 70% 35%, rgba(34, 176, 149, 0.3), rgba(34, 176, 149, 0.06) 65%, transparent 74%);
  animation-delay: -5.8s;
}

.hero-kicker {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #5f6f95;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.55;
  color: #415273;
  max-width: 64ch;
}

.hero-status {
  display: inline-grid;
  grid-template-columns: auto auto auto auto;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 2px 0 0;
  padding: 10px 12px;
  border: 1px solid #9fd8c6;
  border-radius: 16px;
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
  color: #0f4c3d;
  font-size: 0.92rem;
  box-shadow: 0 14px 34px rgba(22, 133, 104, 0.16);
}

.hero-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #168568;
  box-shadow: 0 0 0 5px rgba(22, 133, 104, 0.14);
}

.hero-status-label {
  color: #32685a;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-status strong {
  min-width: 0;
  color: #063f32;
  overflow-wrap: anywhere;
}

.hero-status a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #168568;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.reward-showcase {
  position: relative;
  overflow: hidden;
  border: 1px solid #d9e5f2;
  border-radius: 18px;
  padding: clamp(16px, 2.8vw, 26px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(243, 249, 255, 0.86)),
    radial-gradient(circle at 88% 10%, rgba(255, 190, 117, 0.28), transparent 28%),
    radial-gradient(circle at 4% 94%, rgba(38, 166, 154, 0.2), transparent 28%);
  box-shadow: 0 18px 42px rgba(24, 62, 106, 0.1);
}

.reward-section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 18px;
}

.reward-section-heading .section-title {
  margin-bottom: 0;
}

.reward-section-heading p:last-child {
  margin: 0;
  color: #455b78;
  line-height: 1.55;
}

.reward-kicker {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff3df;
  color: #8a4c04;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.reward-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
}

.reward-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #102f57;
  box-shadow: 0 14px 28px rgba(16, 47, 87, 0.14);
  isolation: isolate;
}

.reward-card-featured {
  grid-column: auto;
  grid-row: auto;
}

.reward-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 500ms ease, filter 500ms ease;
}

.reward-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 28, 51, 0.04), rgba(8, 28, 51, 0.76));
}

.reward-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.reward-card img.reward-image-hidden {
  opacity: 0;
}

.reward-card-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  color: #ffffff;
}

.reward-card-overlay span {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.reward-card-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(0.94rem, 1.3vw, 1.08rem);
  line-height: 1.12;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.reward-cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 13px 14px;
  border: 1px solid #d6e6f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.reward-cta-strip span {
  color: #173764;
  font-weight: 800;
}

.reward-cta-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  background: #173764;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.reward-cta-strip a:hover {
  background: #0f2a4e;
}



.home-nav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  box-sizing: border-box;
}

.home-nav a,
.home-nav .nav-link-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid #d9e3f4;
  background: #ffffff;
  color: #164273;
  padding: 9px 12px;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1;
}

.home-nav a:hover,
.home-nav .nav-link-button:hover {
  background: #164273;
  color: #ffffff;
}

.home-nav .nav-link-button {
  margin-bottom: 0;
}

.survey-search-section {
  overflow: hidden;
  border: 1px solid #d7e4f2;
  border-radius: 18px;
  padding: clamp(16px, 2.6vw, 24px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 255, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(38, 166, 154, 0.16), transparent 34%);
  box-shadow: 0 16px 36px rgba(24, 62, 106, 0.09);
}

.survey-search-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.survey-search-header .section-title {
  margin-bottom: 0;
}

.survey-search-kicker {
  width: fit-content;
  margin: 0 0 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f7f3;
  color: #126b57;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.survey-search-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: #173764;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.survey-search-box {
  display: grid;
  gap: 8px;
}

.survey-search-box span {
  color: #2f4968;
  font-size: 0.82rem;
  font-weight: 800;
}

.survey-search-box input {
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #cbdced;
  border-radius: 14px;
  background: #ffffff;
  color: #173764;
  font: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.survey-search-box input:focus {
  outline: none;
  border-color: #126b57;
  box-shadow: 0 0 0 4px rgba(18, 107, 87, 0.14);
}

.survey-search-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.survey-search-result {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #d6e4f3;
  border-radius: 14px;
  background: #ffffff;
  color: #173764;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(24, 62, 106, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.survey-search-result:hover {
  transform: translateY(-2px);
  border-color: #126b57;
  box-shadow: 0 12px 24px rgba(24, 62, 106, 0.11);
}

.survey-search-result strong {
  color: #102f57;
  line-height: 1.25;
}

.survey-search-category {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf5ff;
  color: #315d8d;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.survey-search-top-options {
  display: grid;
  gap: 5px;
  margin: 4px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid #e5eef8;
  list-style: none;
}

.survey-search-top-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.survey-search-top-option-text {
  min-width: 0;
  overflow: hidden;
  color: #2d4d74;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.survey-search-top-option-votes {
  flex: 0 0 auto;
  color: #126b57;
  font-size: 0.72rem;
  font-weight: 800;
}

.survey-search-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  border: 1px dashed #bfd2e8;
  border-radius: 14px;
  color: #4b5f7a;
  background: rgba(255, 255, 255, 0.72);
}

.home-section {
  margin-top: 34px;
}

.home-page {
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.98), rgba(240, 250, 246, 0.96)),
    repeating-linear-gradient(90deg, rgba(16, 47, 87, 0.035) 0, rgba(16, 47, 87, 0.035) 1px, transparent 1px, transparent 38px);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(14px, 2.4vw, 24px);
  align-items: stretch;
  min-height: min(410px, calc(100vh - 170px));
  padding: clamp(18px, 3vw, 32px);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 255, 0.9)),
    radial-gradient(circle at 95% 8%, rgba(22, 133, 104, 0.2), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(242, 137, 40, 0.14), transparent 34%);
  box-shadow: 0 28px 70px rgba(24, 62, 106, 0.13);
}

.home-hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.home-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.9vw, 4rem);
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 72ch;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 14px;
}

.home-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #cfe0f3;
  background: #ffffff;
  color: #143d69;
  text-decoration: none;
  font-weight: 900;
}

.home-hero-actions a:first-child {
  border-color: #168568;
  background: #168568;
  color: #ffffff;
}

.home-hero-panel {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 260px;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: 20px;
  background:
    linear-gradient(160deg, rgba(16, 47, 87, 0.96), rgba(22, 111, 99, 0.95)),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.18), transparent 30%);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 18px 38px rgba(16, 47, 87, 0.2);
}

.home-hero-panel span {
  color: #cce7e1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.home-hero-panel strong {
  font-family: 'Sora', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
}

.home-hero-panel p {
  margin: 0;
  color: #edf9f6;
  line-height: 1.5;
}

.home-hero-panel div,
.home-command-center,
.home-stat-grid,
.home-quick-actions {
  display: grid;
  gap: 12px;
}

.home-hero-panel div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-hero-panel small {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 900;
}

.home-nav {
  position: sticky;
  top: 12px;
  z-index: 15;
  width: fit-content;
  max-width: calc(100% - 210px);
  padding: 8px;
  border: 1px solid rgba(207, 224, 243, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(24, 62, 106, 0.11);
  backdrop-filter: blur(14px);
}

.home-command-center {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  align-items: stretch;
  margin-top: 18px;
}

.home-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stat-card,
.home-quick-actions a {
  min-width: 0;
  border: 1px solid #d9e5f2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(24, 62, 106, 0.08);
}

.home-stat-card {
  display: grid;
  gap: 7px;
  padding: 16px;
}

.home-stat-card span,
.home-stat-card small,
.home-quick-actions span {
  color: #607089;
  font-weight: 800;
}

.home-stat-card strong {
  color: #102f57;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1;
}

.home-quick-actions a {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: #102f57;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-quick-actions a:hover {
  transform: translateY(-2px);
  border-color: #168568;
  box-shadow: 0 20px 42px rgba(24, 62, 106, 0.13);
}

.home-section-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.home-how-it-works {
  overflow: hidden;
  border: 1px solid #d7e4f2;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 245, 0.94)),
    radial-gradient(circle at 94% 8%, rgba(242, 137, 40, 0.16), transparent 32%);
  box-shadow: 0 16px 36px rgba(24, 62, 106, 0.09);
}

.home-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-step-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 18px;
  border: 1px solid #d9e5f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(24, 62, 106, 0.07);
}

.home-step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #168568;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.home-step-card strong {
  color: #102f57;
  font-size: 1rem;
}

.home-step-card p,
.home-reward-note {
  margin: 0;
  color: #4b607d;
  line-height: 1.58;
}

.home-reward-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 4px solid #f28928;
  border-radius: 12px;
  background: rgba(255, 244, 229, 0.86);
  font-weight: 800;
}

.home-proposal-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 18px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(207, 224, 243, 0.9);
  border-radius: 22px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 207, 112, 0.26), transparent 30%),
    linear-gradient(135deg, #102f57, #126b57);
  box-shadow: 0 22px 54px rgba(16, 47, 87, 0.16);
  color: #ffffff;
}

.home-proposal-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.home-proposal-copy .hero-kicker {
  color: #bff6e8;
}

.home-proposal-copy .section-title {
  max-width: 13ch;
  color: #ffffff;
}

.home-proposal-copy p:not(.hero-kicker) {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.home-proposal-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-proposal-path article {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.home-proposal-path span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #ffffff;
  color: #126b57;
  font-weight: 900;
}

.home-proposal-path strong {
  color: #ffffff;
}

.home-proposal-path p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.home-proposal-action {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-self: start;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #102f57;
  font-weight: 900;
  text-decoration: none;
}

.home-proposal-action:hover,
.home-proposal-action:focus-visible {
  background: #bff6e8;
}

.survey-search-section,
.reward-showcase,
.home-section {
  scroll-margin-top: 96px;
}

.survey-search-section {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
}

.survey-search-box input {
  font-size: 1.02rem;
}


.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2vw, 1.62rem);
  line-height: 1.2;
  color: #173764;
}

.category-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.carousel-control {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 999px;
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  background: #173764;
  border: 1px solid #173764;
}

.carousel-control:hover {
  background: #0f2a4e;
}

.category-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px;
}

.category-track::-webkit-scrollbar {
  height: 7px;
}

.category-track::-webkit-scrollbar-thumb {
  background: #bfd3ef;
  border-radius: 999px;
}

.category-slide {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: 12px;
  border: 1px solid #d2e3ff;
  background: linear-gradient(155deg, #eef5ff 0%, #f7fbff 100%);
  color: #173764;
  padding: 12px;
  min-height: 92px;
}

.category-slide:hover {
  border-color: #173764;
  transform: translateY(-2px);
}

.category-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #60749c;
  font-weight: 700;
}

.category-name {
  font-size: 1rem;
  font-weight: 700;
  color: #173764;
}

.category-action {
  font-size: 0.78rem;
  color: #365f90;
}

.category-page-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 12%, rgba(22, 133, 104, 0.18), transparent 28%),
    radial-gradient(circle at 86% 4%, rgba(255, 184, 77, 0.22), transparent 26%),
    linear-gradient(135deg, #eef7f4 0%, #f5f8fc 46%, #eef2fb 100%);
  color: #12335b;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

.category-page {
  width: min(1680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.category-hero-panel {
  overflow: hidden;
  border: 1px solid rgba(199, 218, 235, 0.95);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(16, 47, 87, 0.96), rgba(18, 107, 87, 0.92)),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80') center/cover;
  box-shadow: 0 28px 80px rgba(24, 62, 106, 0.18);
  color: #ffffff;
}

.category-topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
}

.category-topbar a,
.category-open-survey {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 132px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.category-topbar a:hover,
.category-open-survey:hover {
  background: #ffffff;
  color: #12335b;
}

.category-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
  gap: 34px;
  align-items: end;
  padding: clamp(34px, 6vw, 84px);
  padding-top: 10px;
}

.category-kicker {
  margin: 0 0 10px;
  color: #bff6e8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.category-hero-content h1 {
  max-width: 12ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.category-hero-copy {
  max-width: 64ch;
  margin: 18px 0 0;
  color: #eaf7f5;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.6;
}

.category-hero-visual {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 14px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.category-hero-visual span {
  width: 42px;
  height: var(--height);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #ffcf70, #ffffff);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.category-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.category-stat-grid article,
.category-toolbar,
.category-survey-card,
.category-empty-state {
  border: 1px solid #d7e5f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(24, 62, 106, 0.08);
}

.category-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 20px;
}

.category-stat-grid span {
  color: #5a6f8c;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-stat-grid strong {
  color: #102f57;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
}

.category-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.26fr);
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px;
}

.category-toolbar label {
  display: grid;
  gap: 7px;
}

.category-toolbar span {
  color: #48627f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-toolbar input,
.category-toolbar select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #cbdced;
  border-radius: 12px;
  background: #ffffff;
  color: #143d69;
  font: inherit;
  font-weight: 700;
  padding: 0 12px;
}

.category-survey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.category-survey-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-survey-card:hover {
  transform: translateY(-3px);
  border-color: #126b57;
  box-shadow: 0 20px 44px rgba(24, 62, 106, 0.14);
}

.category-survey-card.is-loading {
  min-height: 260px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.68), transparent),
    linear-gradient(180deg, #edf4fb, #ffffff);
  background-size: 220px 100%, 100% 100%;
  animation: categoryPulse 1.25s ease-in-out infinite;
}

.category-card-head,
.category-card-meta,
.category-top-options li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-status-pill,
.category-reward-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef3f8;
  color: #48627f;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-status-pill.is-active {
  background: #dff8ec;
  color: #126b57;
}

.category-reward-pill {
  background: #fff3d5;
  color: #8b5d00;
}

.category-survey-card h2 {
  margin: 0;
  color: #102f57;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.15;
}

.category-description {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #4b5f7a;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}

.category-description.is-expanded {
  display: block;
  line-clamp: unset;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.category-description-toggle {
  width: fit-content;
  min-height: 32px;
  margin: -4px 0 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #126b57;
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
}

.category-description-toggle:hover {
  color: #102f57;
  text-decoration: underline;
}

.category-card-meta {
  flex-wrap: wrap;
  color: #48627f;
  font-size: 0.86rem;
  font-weight: 800;
}

.category-top-options {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid #e5eef8;
  list-style: none;
}

.category-top-options li {
  min-width: 0;
}

.category-top-options span {
  min-width: 0;
  overflow: hidden;
  color: #2d4d74;
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-top-options strong {
  flex: 0 0 auto;
  color: #126b57;
  font-size: 0.82rem;
}

.category-open-survey {
  margin-top: 2px;
  background: #102f57;
}

.category-empty-state {
  margin: 0;
  padding: 18px;
  color: #48627f;
  font-weight: 800;
  text-align: center;
}

@keyframes categoryPulse {
  0% { background-position: -220px 0, 0 0; }
  100% { background-position: calc(100% + 220px) 0, 0 0; }
}

.home-page .chip {
  margin: 0;
  background: #e8f1ff;
  color: #1f4b7b;
  border: 1px solid #d2e3ff;
}

.home-page .chip:hover {
  background: #1f4b7b;
  color: #ffffff;
}

.survey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.trending-marquee-block {
  grid-column: 1 / -1;
  border: 1px solid #d5e2f7;
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.97), rgba(243, 248, 255, 0.96));
}

.trending-method-label {
  margin: 0 0 12px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  font-weight: 800;
  color: #5e7398;
}

.trending-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d9e6f8;
  background: #f7fbff;
  padding: 10px 0;
  box-shadow: inset 0 0 0 1px rgba(218, 230, 248, 0.45);
}

.trending-marquee::before,
.trending-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  z-index: 2;
  pointer-events: none;
}

.trending-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(247, 251, 255, 1), rgba(247, 251, 255, 0));
}

.trending-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(247, 251, 255, 1), rgba(247, 251, 255, 0));
}

.trending-marquee-track {
  display: inline-flex;
  align-items: stretch;
  gap: 10px;
  min-width: max-content;
  padding: 0 10px;
  animation: marquee-scroll var(--marquee-duration, 30s) linear infinite;
}

.trending-marquee:hover .trending-marquee-track {
  animation-play-state: paused;
}

.trending-marquee-item {
  min-width: 220px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d2e1f5;
  background: #ffffff;
  color: #12335b;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.trending-marquee-item:hover {
  border-color: #12335b;
  background: #f1f7ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(18, 51, 91, 0.12);
}

.trending-marquee-item.is-voted-survey {
  border-color: #8bd6a5;
  background: linear-gradient(180deg, #e8f8ee, #d4f1df);
  color: #075c31;
  box-shadow: 0 10px 22px rgba(18, 132, 72, 0.16);
}

.trending-marquee-item.is-voted-survey:hover {
  border-color: #128448;
  background: #c7ebd3;
}

.trending-voted-badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #128448;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trending-marquee-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.36;
  color: #12335b;
}

.trending-top-options {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.trending-top-option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.trending-top-option-text {
  font-size: 0.78rem;
  color: #3f5a80;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trending-top-option-votes {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a4678;
}

.trending-marquee-meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  color: #5e759d;
  font-weight: 800;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(520px, 1.28fr);
  grid-template-areas:
    "brand support"
    "social support";
  align-items: stretch;
  gap: 18px 26px;
  margin: 38px auto 0;
  padding: 30px;
  border: 1px solid rgba(207, 224, 243, 0.74);
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(191, 246, 232, 0.42), transparent 28%),
    linear-gradient(135deg, #102f57 0%, #174a70 48%, #126b57 100%);
  box-shadow: 0 22px 70px rgba(16, 47, 87, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 800;
}

.home-footer-brand {
  grid-area: brand;
  display: grid;
  align-content: end;
  gap: 8px;
  min-width: 0;
  padding-top: 12px;
}

.home-footer-brand strong {
  color: #ffffff;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.25rem, 1.2vw, 1.55rem);
  letter-spacing: 0;
}

.home-footer-brand span {
  color: rgba(232, 244, 255, 0.78);
  font-size: 0.9rem;
}

.home-social-links {
  grid-area: social;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
  min-width: 0;
  padding-top: 8px;
}

.home-social-links > span {
  color: rgba(232, 244, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-social-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.home-social-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.home-social-link-list a:hover,
.home-social-link-list a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(191, 246, 232, 0.7);
  background: rgba(255, 255, 255, 0.22);
  color: #bff6e8;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.home-social-link-list svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-social-link-list a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.home-support-contact {
  grid-area: support;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding: 22px;
  border: 1px solid rgba(207, 224, 243, 0.9);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 0%, rgba(191, 246, 232, 0.28), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 249, 255, 0.96));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  color: #12335b;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  line-height: 1.4;
}

.home-support-kicker {
  display: block;
  margin-bottom: 4px;
  color: #526986;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-support-contact strong {
  display: block;
  max-width: 56ch;
  margin-bottom: 14px;
  color: #102f57;
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
}

.home-support-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-support-contact p {
  display: grid;
  gap: 4px;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(207, 224, 243, 0.7);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #4e6787;
  font-size: 0.8rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.home-support-contact p span {
  color: #243f63;
  font-size: 0.88rem;
}

.home-support-contact p small {
  color: #6c7f99;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-support-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(18, 107, 87, 0.08);
  color: #126b57;
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.home-support-contact a:hover,
.home-support-contact a:focus-visible {
  background: rgba(18, 107, 87, 0.14);
  color: #0f5a4a;
  text-decoration: underline;
}

@media (max-width: 920px) {
  .home-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "social"
      "support";
    align-items: start;
    gap: 18px;
    padding: 24px;
  }

  .home-footer-brand,
  .home-social-links,
  .home-support-contact {
    justify-self: stretch;
    text-align: left;
  }

  .home-social-links {
    justify-items: start;
    padding-top: 0;
  }

  .home-social-link-list {
    justify-content: flex-start;
  }

  .home-support-contact-list {
    grid-template-columns: 1fr;
  }
}

.support-bot {
  position: fixed;
  right: 32px;
  bottom: 24px;
  z-index: 50;
  display: grid;
  justify-items: end;
  gap: 10px;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

.support-bot-panel {
  width: min(390px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(207, 224, 243, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(16, 47, 87, 0.26);
  backdrop-filter: blur(16px);
}

.support-bot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 207, 112, 0.34), transparent 34%),
    linear-gradient(135deg, #102f57, #126b57);
  color: #ffffff;
}

.support-bot-orb {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #bff6e8);
  color: #102f57;
  font-size: 0.82rem;
  font-weight: 1000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.support-bot-header span,
.support-bot-header strong {
  display: block;
}

.support-bot-header span {
  color: #bff6e8;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.support-bot-header strong {
  margin-top: 3px;
  font-size: 1.08rem;
}

.support-bot-header small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: #d9fff6;
  font-weight: 800;
}

.support-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #73f7b3;
  box-shadow: 0 0 0 5px rgba(115, 247, 179, 0.14);
}

.support-bot-header button {
  width: 44px;
  min-height: 44px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 900;
}

.support-bot-messages {
  display: grid;
  gap: 9px;
  max-height: 250px;
  overflow-y: auto;
  padding: 14px;
  background: #f7fbff;
}

.support-bot-model-row,
.support-bot-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 14px 0;
  background: #f7fbff;
}

.support-bot-model-row span,
.support-bot-intents span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.support-bot-model-row span {
  background: #e8f8f2;
  color: #126b57;
}

.support-bot-intents span {
  background: #edf5ff;
  color: #315d8d;
}

.support-message {
  max-width: 88%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  color: #12335b;
  line-height: 1.4;
}

.support-message p {
  margin: 0;
}

.support-message small,
.support-message-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
}

.support-message-label {
  margin-bottom: 5px;
  color: #126b57;
  text-transform: uppercase;
}

.support-message small {
  margin-top: 7px;
  color: #6b7f99;
}

.support-message.is-bot {
  justify-self: start;
  background: #ffffff;
  border: 1px solid #dbe8f6;
}

.support-message.is-user {
  justify-self: end;
  background: #102f57;
  color: #ffffff;
}

.support-message.is-thinking {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 58px;
}

.support-message.is-thinking span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #126b57;
  animation: supportTyping 900ms infinite ease-in-out;
}

.support-message.is-thinking span:nth-child(2) {
  animation-delay: 130ms;
}

.support-message.is-thinking span:nth-child(3) {
  animation-delay: 260ms;
}

.support-bot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
  background: #f7fbff;
}

.support-bot-prompts button {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  background: #ffffff;
  color: #12335b;
  font-size: 0.8rem;
  font-weight: 900;
}

.support-bot-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid #e1ebf7;
  background: #ffffff;
}

.support-bot-form input {
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  padding: 0 11px;
  color: #12335b;
  font: inherit;
}

.support-bot-form button,
.support-bot-toggle {
  width: auto;
  min-height: 44px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: #168568;
  color: #ffffff;
  font-weight: 900;
}

.support-bot-form button {
  padding: 0 14px;
}

.support-bot-toggle {
  position: relative;
  padding: 12px 18px;
  box-shadow: 0 16px 34px rgba(18, 107, 87, 0.28);
}

.support-bot-toggle::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #73f7b3;
  box-shadow: 0 0 0 5px rgba(115, 247, 179, 0.18);
}

.support-bot-toggle:hover,
.support-bot-form button:hover {
  background: #106c55;
}

@keyframes supportTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.survey-card {
  margin-bottom: 0;
  border: 1px solid #d5e2f7;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 43, 84, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.survey-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.survey-card-link:focus-visible {
  outline: 2px solid #173764;
  outline-offset: 4px;
  border-radius: 10px;
}

.survey-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(16, 43, 84, 0.14);
}

.survey-tag {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #60749c;
  font-weight: 700;
}

.survey-card h3 {
  margin: 0 0 8px;
  color: #102f57;
}

.survey-card p {
  margin: 0 0 12px;
  color: #425779;
}

.survey-cta {
  display: inline-block;
  border-radius: 8px;
  background: #102f57;
  color: #ffffff;
  padding: 8px 12px;
}

.survey-cta:hover {
  background: #0a223f;
}

a {
  color: #0f4c81;
  text-decoration: none;
}

.card {
  border: 1px solid #dce6f1;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.skeleton-card {
  border-color: #e8eef7;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #edf2f8 25%, #e1e9f3 37%, #edf2f8 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-title {
  height: 16px;
  width: 70%;
}

.skeleton-short {
  width: 45%;
  margin-bottom: 0;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes home-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-stagger-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-orb-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-8px, 10px, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.survey-topbar,
.category-topbar,
.account-topbar {
  flex-wrap: wrap;
}


@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.chip {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 6px 10px;
  background: #eef5ff;
  border-radius: 999px;
}

.option-row {
  margin-bottom: 8px;
}

.survey-info-card {
  border: 1px solid #dce6f1;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 14px;
  background: #fbfdff;
}

.survey-info-card h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #0f4c81;
  font-size: 1.1rem;
}

.info-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  column-gap: 10px;
  align-items: start;
  margin: 0 0 8px;
  line-height: 1.4;
}

.info-label {
  font-weight: 600;
  color: #0b355f;
}

.info-value {
  color: #1f2d3d;
}

.survey-options {
  margin-bottom: 10px;
}

.voted-survey-list {
  margin: 0;
  padding-left: 18px;
}

.voted-survey-item {
  margin-bottom: 8px;
}

.account-page-body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(16, 47, 87, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 47, 87, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 14% 10%, rgba(22, 133, 104, 0.16), transparent 30%),
    radial-gradient(circle at 84% 6%, rgba(255, 191, 87, 0.18), transparent 28%),
    linear-gradient(135deg, #eef7f4 0%, #f8fbff 48%, #eef3fb 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  color: #12335b;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
}

.account-page {
  box-sizing: border-box;
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 46px;
}

.account-topbar {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid rgba(212, 226, 242, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(24, 62, 106, 0.08);
}

.account-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  box-sizing: border-box;
}

.account-topbar a,
.account-voted-item a {
  color: inherit;
  text-decoration: none;
}

.account-topbar a,
.account-logout-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 132px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid #d4e2f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: #12335b;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.account-logout-button {
  background: #102f57;
  color: #ffffff;
}

.account-logout-button:hover {
  background: #126b57;
}

.account-topbar a:hover,
.account-topbar a:focus-visible,
.account-logout-button:focus-visible {
  border-color: #126b57;
  color: #126b57;
  outline: none;
  transform: translateY(-1px);
}

.account-logout-button:focus-visible,
.account-logout-button:hover {
  color: #ffffff;
}

.account-hero {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 16px;
  padding: clamp(26px, 4.5vw, 56px);
  border: 1px solid rgba(199, 218, 235, 0.95);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(16, 47, 87, 0.96), rgba(18, 107, 87, 0.84) 62%, rgba(178, 114, 21, 0.78)),
    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1600&q=80') center/cover;
  box-shadow: 0 28px 80px rgba(24, 62, 106, 0.18);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.account-hero > * {
  min-width: 0;
}

.account-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, #9ee8d5, #ffd27a, #9bc9ff);
}

.account-kicker {
  margin: 0 0 10px;
  color: #bff6e8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.account-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.account-hero p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: #eaf7f5;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.6;
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.account-hero-actions a,
.account-hero-actions button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.account-hero-actions a:first-child {
  background: #ffffff;
  color: #102f57;
}

.account-hero-actions a:hover,
.account-hero-actions a:focus-visible,
.account-hero-actions button:hover,
.account-hero-actions button:focus-visible {
  outline: none;
  transform: translateY(-2px);
  background: #bff6e8;
  color: #102f57;
}

.account-identity-card {
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, #bff6e8);
  color: #102f57;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(5, 22, 44, 0.22);
}

.account-identity-card span,
.account-identity-card small {
  color: #d8f4ef;
  font-weight: 800;
}

.account-identity-card strong {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  line-height: 1.08;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.account-stat-grid article,
.account-panel {
  border: 1px solid #d7e5f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 38px rgba(24, 62, 106, 0.08);
}

.account-stat-grid article {
  display: grid;
  gap: 6px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.account-stat-grid article > svg {
  color: #126b57;
}

.account-stat-grid article::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #126b57, #ffbf57);
}

.account-stat-grid span {
  color: #5a6f8c;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-stat-grid strong {
  color: #102f57;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
}

.account-progress-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.24fr) minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #cfe1f3;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 247, 242, 0.96));
  box-shadow: 0 16px 38px rgba(24, 62, 106, 0.08);
}

.account-progress-panel div:first-child {
  display: grid;
  gap: 3px;
}

.account-progress-panel span,
.account-progress-panel p {
  color: #5a6f8c;
  font-size: 0.82rem;
  font-weight: 900;
  margin: 0;
}

.account-progress-panel strong {
  color: #126b57;
  font-size: 1.65rem;
  line-height: 1;
}

.account-progress-track,
.account-option-meter {
  overflow: hidden;
  border-radius: 999px;
  background: #dfeaf6;
}

.account-progress-track {
  height: 12px;
}

.account-progress-track > span,
.account-option-meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #126b57, #ffbf57);
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
  gap: 16px;
  margin-bottom: 16px;
}

.account-dashboard-page {
  display: grid;
  gap: 16px;
}

.account-dashboard-hero {
  margin-bottom: 0;
}

.account-tabbar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid #d7e5f3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(24, 62, 106, 0.08);
}

.account-tabbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #48627f;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.account-tabbar button:hover,
.account-tabbar button:focus-visible,
.account-tabbar button.is-active {
  border-color: #126b57;
  background: #effbf6;
  color: #126b57;
  outline: none;
}

.account-tab-panel {
  display: grid;
  gap: 16px;
}

.account-overview-grid,
.account-wallet-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  align-items: start;
}

.account-overview-grid .account-progress-panel {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.account-wallet-grid .account-panel,
.account-overview-grid .account-panel {
  align-self: stretch;
}

.account-completion-score {
  display: block;
  color: #126b57;
  font-size: 2rem;
  line-height: 1;
}

.account-profile-missing {
  margin: 10px 0 0;
  color: #5a6f8c;
  font-weight: 800;
  line-height: 1.5;
}

.account-wallet-summary {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #cfe1f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f1fbf7);
}

.account-wallet-summary strong {
  color: #102f57;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.account-wallet-summary small {
  color: #5a6f8c;
  font-weight: 900;
}

.account-wallet-form {
  display: grid;
  gap: 12px;
}

.account-wallet-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 900;
}

.account-wallet-form input {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
}

.account-wallet-form button,
.account-danger-button,
.account-logout-button {
  gap: 8px;
}

.account-wallet-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #102f57;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.account-wallet-form button:hover,
.account-wallet-form button:focus-visible {
  background: #126b57;
  outline: none;
}

.account-wallet-form button:disabled,
.account-propose-button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.account-wallet-message {
  margin: 12px 0 0;
  color: #126b57;
  font-weight: 900;
}

.account-transaction-list,
.account-proposed-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-transaction-row,
.account-proposed-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: #fbfdff;
}

.account-proposed-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.account-transaction-icon,
.account-proposed-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 34px;
  border-radius: 999px;
  background: #eef7ff;
  color: #0f5fba;
  font-weight: 900;
}

.account-transaction-row.is-credit .account-transaction-icon {
  background: #e9fbf3;
  color: #126b57;
}

.account-transaction-row.is-debit .account-transaction-icon {
  background: #fff6e8;
  color: #9a5d0c;
}

.account-transaction-row strong,
.account-proposed-row strong,
.account-transaction-amount strong {
  color: #102f57;
}

.account-transaction-row small,
.account-proposed-row small,
.account-transaction-amount small {
  display: block;
  margin-top: 3px;
  color: #5a6f8c;
  font-weight: 800;
}

.account-transaction-amount {
  text-align: right;
}

.account-proposed-status {
  min-width: 112px;
  padding: 0 12px;
  background: #fff6e8;
  color: #9a5d0c;
  white-space: nowrap;
}

.account-panel {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 26px);
}

.account-profile-panel {
  grid-row: span 2;
}

.account-section-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.account-section-heading > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  border-radius: 12px;
  background: #eaf3ff;
  color: #0f4c81;
  font-weight: 900;
}

.account-section-heading h2 {
  margin: 0;
  color: #102f57;
  font-size: 1.25rem;
}

.account-section-heading h2.account-voted-heading {
  color: #126b57;
}

.account-section-heading h2.account-not-voted-heading {
  color: #0f5fba;
}

.account-section-heading p {
  margin: 4px 0 0;
  color: #5a6f8c;
  line-height: 1.45;
}

.account-wallet-activity > summary {
  align-items: center;
  min-height: 44px;
  margin-bottom: 0;
  cursor: pointer;
  list-style: none;
}

.account-wallet-activity > summary::-webkit-details-marker {
  display: none;
}

.account-wallet-activity > summary::after {
  content: "+";
  margin-left: auto;
  color: #0f4c81;
  font-size: 1.5rem;
}

.account-wallet-activity[open] > summary::after {
  content: "-";
}

.account-wallet-activity-content {
  margin-top: 16px;
}

.account-wallet-activity-content > p {
  color: #5a6f8c;
  line-height: 1.45;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.account-profile-sections {
  display: grid;
  gap: 12px;
}

.account-collapse-section {
  display: grid;
  gap: 12px;
}

.account-collapse-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d4e4f3;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f1f8ff);
  color: #102f57;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.account-collapse-button:hover,
.account-collapse-button:focus-visible {
  border-color: #126b57;
  box-shadow: 0 12px 24px rgba(24, 62, 106, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.account-collapse-button span {
  color: #102f57;
  font-size: 1rem;
  font-weight: 900;
}

.account-collapse-button strong {
  flex: 0 0 auto;
  min-width: 62px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #102f57;
  color: #ffffff;
  font-size: 0.78rem;
  text-align: center;
}

.account-collapse-button[aria-expanded="true"] strong {
  background: #126b57;
}

.account-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e0ebf7;
  border-radius: 14px;
  background: #f8fbff;
}

.account-field.is-wide {
  grid-column: 1 / -1;
}

.account-field .info-label {
  color: #58708f;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-field .info-value {
  min-width: 0;
  color: #12335b;
  font-size: 0.98rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-legal-grid {
  grid-template-columns: 1fr;
}

.account-legal-field {
  background: linear-gradient(135deg, #fffdf7, #f8fbff);
}

.account-legal-field .info-value {
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

.account-actions-panel,
.account-proposal-panel {
  align-self: start;
}

.account-survey-rules-card {
  border-color: #c7e6dc;
  background:
    radial-gradient(circle at top right, rgba(18, 107, 87, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff, #f4fbf8);
}

.account-survey-rules-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-survey-rules-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #425b76;
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.45;
}

.account-survey-rules-list li svg {
  margin-top: 2px;
  color: #126b57;
}

.propose-survey-page {
  max-width: 980px;
}

.propose-survey-hero,
.propose-survey-panel {
  margin-top: 18px;
}

.propose-survey-panel {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.account-propose-button,
.account-proposal-form button[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border: 0;
  border-radius: 12px;
  background: #126b57;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.account-propose-button:hover,
.account-propose-button:focus-visible,
.account-proposal-form button[type="submit"]:hover,
.account-proposal-form button[type="submit"]:focus-visible {
  background: #102f57;
  outline: none;
}

.account-proposal-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.account-proposal-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 900;
}

.account-proposal-form input,
.account-proposal-form textarea {
  width: 100%;
  min-height: 44px;
  margin: 0;
  border: 1px solid #cfe0f3;
  border-radius: 12px;
  background: #fbfdff;
  color: #172033;
  font: inherit;
}

.account-proposal-form textarea {
  min-height: 110px;
  resize: vertical;
}

.account-proposal-form button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.account-proposal-form input:disabled,
.account-proposal-form textarea:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.account-proposal-message {
  color: #126b57;
}

.account-proposal-id-panel {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #b7dacd;
  border-radius: 14px;
  background: #f1fbf7;
}

.account-proposal-id-panel label {
  color: #126b57;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.account-proposal-id-panel > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.account-proposal-id-panel input {
  width: 100%;
  min-height: 42px;
  margin: 0;
  border: 1px solid #b7dacd;
  border-radius: 10px;
  background: #ffffff;
  color: #102f57;
  font: inherit;
  font-weight: 900;
}

.account-proposal-id-panel button {
  min-height: 42px;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: #102f57;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.account-proposal-id-panel button:hover,
.account-proposal-id-panel button:focus-visible {
  background: #126b57;
  outline: none;
}

.account-danger-button {
  width: 100%;
  min-height: 46px;
  margin: 0;
}

.account-message {
  display: none;
  margin: 14px 0 0;
  color: #8f1d1d;
  font-weight: 800;
}

.account-message.is-visible {
  display: block;
}

.account-voted-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-voted-item {
  margin: 0;
}

.account-voted-item a {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 16px;
  border: 1px solid #dbe8f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.account-voted-item a:hover {
  transform: translateY(-2px);
  border-color: #126b57;
  box-shadow: 0 12px 24px rgba(24, 62, 106, 0.12);
}

.account-voted-panel .account-voted-item a {
  border-color: #7fcfb5;
  background: linear-gradient(180deg, #e9fbf3, #c9f2df);
}

.account-voted-panel .account-voted-item a:hover {
  border-color: #126b57;
  box-shadow: 0 12px 24px rgba(18, 107, 87, 0.16);
}

.account-not-voted-panel .account-voted-item a {
  border-color: #91c5ff;
  background: linear-gradient(180deg, #eef7ff, #d6eaff);
}

.account-not-voted-panel .account-voted-item a:hover {
  border-color: #0f5fba;
  box-shadow: 0 12px 24px rgba(15, 95, 186, 0.16);
}

.account-survey-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-survey-category,
.account-survey-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.account-survey-category {
  background: rgba(16, 47, 87, 0.08);
  color: #102f57;
}

.account-survey-status {
  flex: 0 0 auto;
  background: rgba(143, 29, 29, 0.1);
  color: #8f1d1d;
}

.account-survey-status.is-open {
  background: rgba(18, 107, 87, 0.12);
  color: #126b57;
}

.account-voted-title {
  color: #102f57;
  font-size: 1.05rem;
  line-height: 1.24;
}

.account-voted-meta,
.account-empty-votes,
.account-loading-text {
  color: #5a6f8c;
  font-weight: 800;
}

.account-voted-top-options {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px solid #e5eef8;
  list-style: none;
}

.account-voted-top-options li,
.account-voted-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.account-voted-top-options li {
  align-items: center;
}

.account-voted-top-options span {
  min-width: 0;
  overflow: hidden;
  color: #2d4d74;
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-voted-top-options strong {
  flex: 0 0 auto;
  color: #126b57;
  font-size: 0.82rem;
}

.account-option-meter {
  flex: 1 0 100%;
  height: 6px;
  background: rgba(16, 47, 87, 0.1);
}

.account-voted-dates {
  padding-top: 2px;
}

.account-voted-dates span {
  color: #48627f;
  font-size: 0.8rem;
  font-weight: 900;
}

.account-empty-votes,
.account-loading-text {
  margin: 0;
}

.account-empty-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed #a8c2dd;
  border-radius: 14px;
  background: #f8fbff;
}

.account-empty-state strong {
  color: #102f57;
}

.account-empty-state a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #102f57;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .account-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .account-hero,
  .account-layout,
  .account-overview-grid,
  .account-wallet-grid,
  .account-stat-grid,
  .account-profile-grid,
  .account-progress-panel {
    grid-template-columns: 1fr;
  }

  .account-tabbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-identity-card {
    min-height: 150px;
  }

  .account-progress-panel {
    align-items: stretch;
  }

  .account-profile-panel {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  .account-page {
    width: min(calc(100% - 18px), 1420px);
    padding-top: 10px;
  }

  .account-topbar {
    position: static;
    border-radius: 18px;
    align-items: stretch;
    flex-direction: column;
  }

  .account-topbar-actions,
  .account-hero-actions {
    justify-content: stretch;
  }

  .account-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .account-topbar a,
  .account-logout-button,
  .account-hero-actions a,
  .account-hero-actions button {
    width: 100%;
  }

  .account-hero {
    padding: 24px 18px 28px;
    border-radius: 18px;
  }

  .account-hero h1 {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }

  .account-panel,
  .account-progress-panel,
  .account-stat-grid article {
    border-radius: 14px;
  }

  .account-voted-list {
    grid-template-columns: 1fr;
  }

  .account-tabbar {
    grid-template-columns: 1fr;
  }

  .account-transaction-row,
  .account-proposed-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .account-transaction-amount {
    text-align: left;
  }
}

.survey-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(16, 47, 87, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 47, 87, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 12% 5%, rgba(255, 184, 77, 0.2), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(20, 184, 166, 0.2), transparent 30%),
    linear-gradient(135deg, #f5faf8 0%, #f8fafc 46%, #eef5ff 100%);
  background-size: 38px 38px, 38px 38px, auto, auto, auto;
  color: #143047;
}

.survey-experience {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.survey-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  color: #46647d;
  font-weight: 700;
}

.survey-back-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 132px;
  padding: 10px 14px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #0f4c81;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(15, 76, 129, 0.08);
}

.survey-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(245px, 0.32fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: clamp(16px, 2.4vw, 26px);
  border: 1px solid rgba(196, 218, 241, 0.88);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(243, 249, 246, 0.93)),
    radial-gradient(circle at 100% 0%, rgba(242, 137, 40, 0.18), transparent 30%);
  box-shadow: 0 24px 70px rgba(16, 47, 87, 0.13);
}

.survey-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #dff8f2;
  color: #047857;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.survey-hero-card h1 {
  max-width: 820px;
  margin: 0;
  color: #0b355f;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.95rem, 3.8vw, 3.35rem);
  line-height: 1.04;
}

.survey-hero-card p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #46647d;
  font-size: 0.98rem;
  line-height: 1.5;
}

.survey-description-panel {
  max-width: 820px;
  margin-top: 10px;
}

.survey-image-panel {
  max-width: 820px;
  margin: 14px 0 0;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.12);
}

.survey-image-panel img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.survey-description-text {
  display: -webkit-box;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  color: #425b76 !important;
  line-height: 1.6 !important;
  overflow-wrap: anywhere;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  line-clamp: 5;
  -webkit-line-clamp: 5;
}

.survey-description-text.is-expanded {
  display: block;
  overflow: visible;
  line-clamp: unset;
  -webkit-line-clamp: unset;
}

.survey-read-more-button {
  margin-top: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #0f766e;
  cursor: pointer;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.survey-read-more-button:hover,
.survey-read-more-button:focus-visible {
  color: #0b4a7a;
}

.survey-filter-notice {
  max-width: 760px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border: 1px solid #cde6d9;
  border-radius: 14px;
  background: rgba(237, 248, 242, 0.9);
  color: #126b57;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.survey-availability-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: rgba(239, 246, 255, 0.88);
  color: #0b4a7a;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.08);
}

.survey-availability-banner.is-active {
  border-color: #99f6e4;
  background: #ecfdf5;
  color: #047857;
}

.survey-availability-banner.is-inactive {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.survey-availability-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 14%, transparent);
}

.survey-hero-actions,
.survey-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.survey-hero-actions button,
.survey-action-bar button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: linear-gradient(135deg, #0f766e, #0f4c81);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(15, 76, 129, 0.2);
}

.survey-hero-actions button:disabled,
.survey-action-bar button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
}

.survey-secondary-button {
  background: #e8f1fb !important;
  color: #0f4c81 !important;
  box-shadow: none !important;
}

.survey-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(6, 22, 38, 0.56);
  backdrop-filter: blur(14px);
}

.survey-support-fee-dialog {
  width: min(100%, 520px);
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.96) 44%),
    #ffffff;
  box-shadow: 0 30px 80px rgba(7, 25, 44, 0.34);
}

.survey-support-fee-dialog-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 24px 24px 18px;
  background:
    linear-gradient(135deg, rgba(255, 237, 213, 0.92), rgba(236, 253, 245, 0.82));
}

.survey-support-fee-dialog-hero > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #ffffff;
  color: #c2410c;
  box-shadow: 0 12px 28px rgba(194, 65, 12, 0.14);
}

.survey-support-fee-dialog-hero p,
.survey-support-fee-dialog-hero h2,
.survey-support-fee-dialog-copy {
  margin: 0;
}

.survey-support-fee-dialog-hero p {
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.survey-support-fee-dialog-hero h2 {
  margin-top: 3px;
  color: #0b355f;
  font-size: 1.35rem;
}

.survey-support-fee-dialog-copy {
  padding: 20px 24px 0;
  color: #475569;
  font-weight: 760;
  line-height: 1.55;
}

.survey-support-fee-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 24px 0;
}

.survey-support-fee-summary span {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.92);
}

.survey-support-fee-summary small,
.survey-support-fee-summary strong {
  display: block;
}

.survey-support-fee-summary small {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 900;
}

.survey-support-fee-summary strong {
  margin-top: 5px;
  color: #0f4c81;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.survey-support-fee-dialog-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 18px 24px 0;
  padding: 12px 14px;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  background: #ecfdf5;
  color: #047857;
  font-weight: 850;
  line-height: 1.42;
}

.survey-support-fee-dialog-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.survey-support-fee-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px 24px 24px;
}

.survey-support-fee-dialog-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.survey-support-fee-dialog-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.survey-confirm-fee-button {
  background: linear-gradient(135deg, #0f766e, #0f4c81);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 76, 129, 0.2);
}

.survey-share-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.survey-share-button {
  box-sizing: border-box;
  width: auto;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f4c81;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.08);
}

.survey-share-button:hover,
.survey-share-button:focus-visible {
  border-color: rgba(15, 118, 110, 0.38);
  transform: translateY(-1px);
}

.survey-share-status {
  margin: 8px 0 0 !important;
  color: #0f766e !important;
  font-size: 0.86rem !important;
  font-weight: 800;
}

.survey-pulse-panel {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 175px;
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, #102f57, #126b57),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.16), transparent 32%);
  color: #e0f2fe;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.survey-pulse-panel span {
  color: #a7f3d0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.survey-pulse-panel strong {
  margin: 6px 0;
  color: #ffffff;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 0.95;
}

.survey-pulse-panel p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.98rem;
}

.survey-pulse-panel small {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-weight: 900;
}

.survey-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  gap: 22px;
  align-items: start;
}

.survey-vote-panel,
.modern-survey-info-card {
  border: 1px solid rgba(196, 218, 241, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 56px rgba(15, 76, 129, 0.11);
}

.survey-vote-panel {
  padding: clamp(18px, 2.6vw, 28px);
}

.modern-survey-info-card {
  position: sticky;
  top: 18px;
  margin: 0;
  padding: 24px;
  overflow: hidden;
}

.survey-section-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.survey-section-heading > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0f4c81;
  font-weight: 900;
}

.survey-section-heading h2 {
  margin: 0;
  color: #0b355f;
  font-size: 1.18rem;
}

.survey-section-heading p {
  margin: 4px 0 0;
  color: #64748b;
  line-height: 1.45;
}

.survey-vote-status-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
  color: #0b4a7a;
  box-shadow: 0 14px 34px rgba(15, 76, 129, 0.08);
}

.survey-vote-status-card.is-ready,
.survey-vote-status-card.is-success {
  border-color: #99f6e4;
  background: linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.98));
  color: #047857;
}

.survey-vote-status-card.is-warning,
.survey-vote-status-card.is-blocked,
.survey-vote-status-card.is-inactive {
  border-color: #fecdd3;
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.96), rgba(255, 255, 255, 0.98));
  color: #be123c;
}

.survey-vote-status-card.is-guest,
.survey-vote-status-card.is-loading {
  border-color: #fed7aa;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98));
  color: #c2410c;
}

.survey-vote-status-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: color-mix(in srgb, currentColor 12%, white);
  color: currentColor;
}

.survey-vote-status-card strong,
.survey-vote-status-card small {
  display: block;
  min-width: 0;
}

.survey-vote-status-card strong {
  color: currentColor;
  font-size: 1rem;
}

.survey-vote-status-card small {
  margin-top: 3px;
  color: #425b76;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.survey-decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 14px;
  margin-top: 12px;
}

.survey-helper-panel {
  display: grid;
  margin: 0 0 16px;
}

.survey-helper-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f3f9ff);
  color: #0b4a7a;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.07);
}

.survey-helper-toggle:hover,
.survey-helper-toggle:focus-visible {
  border-color: #0f766e;
  outline: none;
}

.survey-helper-toggle > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.survey-helper-toggle > span svg {
  flex: 0 0 auto;
  color: #0f766e;
}

.survey-helper-toggle > strong {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0f4c81;
  color: #ffffff;
  font-size: 0.78rem;
  text-align: center;
}

.survey-helper-toggle[aria-expanded="true"] > strong {
  background: #0f766e;
}

.survey-readiness-card,
.survey-wallet-card {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 14px 34px rgba(15, 76, 129, 0.08);
}

.survey-readiness-card,
.survey-wallet-card {
  padding: 16px;
}

.survey-readiness-card-head,
.survey-wallet-card-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.survey-readiness-card-head > svg,
.survey-wallet-card-head > span {
  flex: 0 0 auto;
}

.survey-wallet-card-head > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: #e0f2fe;
  color: #0f4c81;
}

.survey-readiness-card h3,
.survey-wallet-card h3 {
  margin: 0;
  color: #0b355f;
}

.survey-readiness-card p,
.survey-wallet-card p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 760;
}

.survey-readiness-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.survey-readiness-card li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 9px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #ffffff;
}

.survey-readiness-card li > span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
}

.survey-readiness-card li.is-ready > span {
  background: #dcfce7;
  color: #15803d;
}

.survey-readiness-card li strong {
  min-width: 0;
  color: #102a43;
  font-size: 0.88rem;
}

.survey-readiness-card li small {
  min-width: 0;
  color: #64748b;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.survey-wallet-card.is-ready {
  border-color: #99f6e4;
  background: linear-gradient(135deg, #f0fdfa, #ffffff);
}

.survey-wallet-card.is-low {
  border-color: #fed7aa;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.survey-wallet-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.survey-wallet-compare-grid span {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.survey-wallet-compare-grid small,
.survey-wallet-compare-grid strong {
  display: block;
}

.survey-wallet-compare-grid small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-wallet-compare-grid strong {
  margin-top: 5px;
  color: #0b4a7a;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.survey-wallet-recharge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #0f4c81;
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.survey-details-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.survey-details-heading-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 12px;
  align-items: flex-start;
}

.survey-details-heading-copy > div {
  min-width: 0;
}

.survey-details-toggle {
  justify-self: stretch;
  min-height: 38px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #0b4a7a;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.08);
}

.survey-details-toggle:hover,
.survey-details-toggle:focus-visible {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #047857;
}

.survey-details-content {
  display: grid;
}

.modern-survey-options {
  display: grid;
  gap: 12px;
  margin: 0;
}

.modern-option-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 13px;
  align-items: center;
  margin: 0;
  padding: 17px;
  border: 1px solid #d6e4f3;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff, #f7fbff);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.modern-option-row:hover,
.modern-option-row.is-selected {
  border-color: #0f766e;
  box-shadow: 0 16px 36px rgba(18, 107, 87, 0.14);
}

.modern-option-row.is-selected {
  background:
    linear-gradient(135deg, rgba(240, 253, 250, 0.98), rgba(255, 255, 255, 0.98));
}

.modern-option-row input {
  margin-top: 4px;
  accent-color: #0f766e;
}

.modern-option-row:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 16px 36px rgba(18, 107, 87, 0.12);
}

.modern-option-row input:disabled,
.modern-option-row input:disabled ~ * {
  cursor: not-allowed;
}

.modern-option-row:has(input:disabled) {
  opacity: 0.74;
}

.survey-option-choice-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e8f7f3;
  color: #0f766e;
  font-weight: 950;
}

.modern-option-row:hover .survey-option-choice-mark {
  background: #d9f7ee;
}

.modern-option-row.is-selected .survey-option-choice-mark {
  background: #0f766e;
  color: #ffffff;
}

.survey-option-content {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.survey-option-title-row,
.survey-option-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.survey-option-title {
  min-width: 0;
  color: #102a43;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.survey-option-meta {
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 700;
}

.survey-option-meta strong {
  color: #0f766e;
  font-size: 1.05rem;
}

.survey-option-rank {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.72rem;
  font-weight: 950;
}

.survey-option-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.survey-option-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #38bdf8);
  transition: width 420ms ease;
}

.survey-inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 850;
}

.survey-inline-notice svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.survey-message {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef6ff;
  color: #0b355f;
  font-weight: 800;
}

.survey-message.is-warning,
.survey-message.is-blocked {
  background: #fff1f2;
  color: #be123c;
}

.survey-message.is-ready,
.survey-message.is-success {
  background: #ecfdf5;
  color: #047857;
}

.survey-message.is-guest {
  background: #fff7ed;
  color: #c2410c;
}

.survey-message-action {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: inherit;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.survey-message-action:hover,
.survey-message-action:focus-visible {
  text-decoration-thickness: 2px;
}

.survey-empty-state {
  margin: 0;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  color: #64748b;
  font-weight: 700;
}

.modern-survey-info-card .info-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid #e6eef8;
  border-radius: 14px;
  margin: 0 0 10px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 20px rgba(15, 76, 129, 0.05);
}

.modern-survey-info-card .info-row:last-child {
  margin-bottom: 0;
}

.modern-survey-info-card .info-label {
  display: block;
  min-width: 0;
  color: #0b4a7a;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-transform: none;
}

.modern-survey-info-card .info-value {
  display: block;
  min-width: 0;
  color: #172235;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.38;
  overflow-wrap: anywhere;
  text-align: left;
  font-weight: 800;
}

.modern-survey-info-card .info-value.is-compact-detail-value {
  font-size: clamp(0.88rem, 1.45vw, 0.96rem);
  line-height: 1.35;
  font-weight: 750;
}

.survey-side-section {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.survey-side-section-heading {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.survey-side-section-heading > svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #0f766e;
}

.survey-side-section-heading h3 {
  margin: 0;
  color: #0b355f;
}

.survey-side-section-heading p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 0.88rem;
  font-weight: 780;
}

.survey-quick-action-list {
  display: grid;
  gap: 9px;
}

.survey-quick-action-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid #dbeafe;
  border-radius: 13px;
  background: #ffffff;
  color: #0f4c81;
  font-weight: 900;
  text-decoration: none;
}

.survey-quick-action-list a::after {
  content: '→';
  color: #0f766e;
}

.survey-quick-action-list a:hover,
.survey-quick-action-list a:focus-visible {
  border-color: #0f766e;
  background: #ecfdf5;
  outline: none;
}

.survey-statistics-panel {
  margin-top: 22px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(196, 218, 241, 0.9);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 20px 56px rgba(15, 76, 129, 0.11);
}

.survey-statistics-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.survey-statistics-heading-copy {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 12px;
  align-items: flex-start;
}

.survey-statistics-heading-copy > div {
  min-width: 0;
}

.survey-statistics-toggle {
  justify-self: stretch;
  min-height: 40px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #0b4a7a;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.08);
}

.survey-statistics-toggle:hover,
.survey-statistics-toggle:focus-visible {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #047857;
}

.survey-statistics-content {
  display: grid;
}

.survey-stat-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.survey-stat-preview article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.06);
}

.survey-stat-preview span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-stat-preview strong {
  min-width: 0;
  color: #0b355f;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.survey-loading-skeleton {
  display: grid;
  gap: 9px;
  max-width: 720px;
  margin-top: 16px;
}

.survey-loading-skeleton span {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e0f2fe, #ffffff, #dbeafe);
  background-size: 200% 100%;
  animation: survey-stat-skeleton 1.1s ease-in-out infinite;
}

.survey-loading-skeleton span:nth-child(1) { width: 90%; }
.survey-loading-skeleton span:nth-child(2) { width: 72%; }
.survey-loading-skeleton span:nth-child(3) { width: 54%; }

.survey-statistics-summary,
.survey-demographic-grid,
.survey-option-demographic-grid {
  display: grid;
  gap: 14px;
}

.survey-statistics-summary {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.survey-stat-tabs,
.survey-stat-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.survey-stat-tabs button,
.survey-stat-segmented button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0b4a7a;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.survey-stat-tabs button:hover,
.survey-stat-tabs button.is-active,
.survey-stat-segmented button:hover,
.survey-stat-segmented button.is-active {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
  transform: translateY(-1px);
}

.survey-stat-tab-panel {
  margin-top: 16px;
}

.survey-stat-meta-bar,
.survey-stat-view-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.survey-stat-meta-bar span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.78);
  color: #0b4a7a;
  font-size: 0.82rem;
  font-weight: 850;
}

.survey-stat-view-toggle {
  justify-content: flex-end;
}

.survey-stat-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #ffffff;
  color: #0b4a7a;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.survey-stat-view-toggle button.is-active {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.survey-stat-kpi-card,
.survey-statistics-summary article,
.survey-option-stat-chart,
.survey-stat-chart-card,
.survey-demographic-card,
.survey-option-demographic-card {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 12px 30px rgba(15, 76, 129, 0.07);
}

.survey-stat-kpi-card,
.survey-statistics-summary article {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.survey-stat-kpi-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 3px;
  border-radius: 12px;
  background: #ccfbf1;
  color: #0f766e;
}

.survey-stat-kpi-card small {
  color: #64748b;
  font-weight: 800;
}

.survey-statistics-summary span,
.survey-option-demographic-head span {
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-statistics-summary strong {
  color: #0b355f;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1;
}

.survey-stat-kpi-card strong {
  color: #0b355f;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.05;
}

.survey-stat-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.survey-demographic-focus-layout {
  display: grid;
  gap: 16px;
}

.survey-demographic-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.survey-demographic-insight-card {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 15px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--insight-color, #0f766e) 34%, #dbeafe);
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--insight-color, #0f766e) 16%, #ffffff), #ffffff 62%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.08);
}

.survey-demographic-insight-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--insight-color, #0f766e);
}

.survey-demographic-insight-card span {
  color: #0b4a7a;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.survey-demographic-insight-card strong {
  min-width: 0;
  color: #0b355f;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  overflow-wrap: anywhere;
}

.survey-demographic-insight-card small {
  color: #64748b;
  font-weight: 850;
}

.survey-demographic-privacy-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #99f6e4;
  border-radius: 16px;
  background: #f0fdfa;
  color: #115e59;
  font-weight: 850;
}

.survey-demographic-accordion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 14px;
}

.survey-stat-chart-card {
  min-width: 0;
  padding: clamp(16px, 2vw, 22px);
}

.survey-stat-chart-card.is-focused-demographic {
  border-color: #99f6e4;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff, #f7fffd);
}

.survey-stat-chart-card.is-collapsed .survey-demographic-card-body {
  display: none;
}

.survey-stat-chart-card-wide {
  min-height: 360px;
}

.survey-stat-card-title {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.survey-stat-card-title > span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #dbeafe;
  color: #0f4c81;
}

.survey-stat-card-title > div {
  min-width: 0;
}

.survey-demographic-accordion-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #ffffff;
  color: #0b4a7a;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.survey-demographic-accordion-toggle:hover {
  background: #0f766e;
  color: #ffffff;
}

.survey-stat-chart-card.is-collapsed .survey-demographic-accordion-toggle svg {
  transform: rotate(-90deg);
}

.survey-stat-card-title h3 {
  margin: 0;
  color: #0b355f;
}

.survey-stat-card-title p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 750;
}

.survey-chart-frame {
  width: 100%;
  height: 280px;
  min-width: 0;
}

.survey-chart-frame-compact {
  height: 230px;
}

.survey-chart-frame-focus {
  height: 320px;
}

.survey-chart-tooltip {
  display: grid;
  gap: 3px;
  min-width: 128px;
  padding: 10px 12px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(15, 76, 129, 0.14);
}

.survey-chart-tooltip strong {
  color: #0b355f;
}

.survey-chart-tooltip span {
  color: #0f766e;
  font-size: 1.25rem;
  font-weight: 900;
}

.survey-chart-tooltip small {
  color: #64748b;
  font-weight: 800;
}

.survey-stat-legend {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.survey-stat-legend li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  color: #425b76;
  font-weight: 850;
}

.survey-stat-legend li > span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--legend-color, #0f766e);
}

.survey-stat-legend strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.survey-stat-legend em {
  color: #0f4c81;
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.survey-stat-legend.is-compact {
  margin-top: 8px;
}

.survey-option-mini-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.survey-stat-empty-state,
.survey-stat-error,
.survey-stat-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 14px;
  border: 1px dashed #93c5fd;
  border-radius: 16px;
  background: rgba(239, 246, 255, 0.72);
  color: #0b4a7a;
  font-weight: 850;
}

.survey-stat-warning {
  min-height: auto;
  margin-top: 12px;
  border-style: solid;
  border-color: #fbbf24;
  background: #fffbeb;
  color: #92400e;
}

.survey-stat-empty-state p,
.survey-stat-error,
.survey-stat-warning span {
  margin: 0;
}

.survey-stat-table-wrap {
  overflow-x: auto;
  border: 1px solid #dbeafe;
  border-radius: 14px;
}

.survey-stat-table {
  width: 100%;
  min-width: 360px;
  border-collapse: collapse;
  color: #172235;
}

.survey-stat-table th,
.survey-stat-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  font-size: 0.92rem;
}

.survey-stat-table th {
  background: #eff6ff;
  color: #0b4a7a;
  font-weight: 950;
}

.survey-stat-table td:nth-child(2),
.survey-stat-table td:nth-child(3),
.survey-stat-table th:nth-child(2),
.survey-stat-table th:nth-child(3) {
  text-align: right;
}

.survey-stat-table tr:last-child td {
  border-bottom: 0;
}

.survey-stat-skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.survey-stat-skeleton span {
  min-height: 76px;
  border-radius: 16px;
  background: linear-gradient(90deg, #e0f2fe, #ffffff, #dbeafe);
  background-size: 200% 100%;
  animation: survey-stat-skeleton 1.1s ease-in-out infinite;
}

@keyframes survey-stat-skeleton {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.survey-option-stat-chart {
  padding: clamp(16px, 2vw, 22px);
}

.survey-option-stat-chart h3,
.survey-demographic-card h3,
.survey-option-demographic-card h4 {
  margin: 0;
  color: #0b355f;
}

.survey-option-stat-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.survey-option-stat-row {
  display: grid;
  gap: 8px;
}

.survey-option-stat-row > div,
.survey-stat-meter + span,
.survey-demographic-card li > div,
.survey-option-demographic-groups li > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.survey-option-stat-row span,
.survey-demographic-card li span,
.survey-option-demographic-groups li span {
  color: #425b76;
  font-weight: 800;
}

.survey-option-stat-row strong,
.survey-demographic-card li strong,
.survey-option-demographic-groups li strong {
  color: #0f4c81;
  white-space: nowrap;
}

.survey-option-stat-meter,
.survey-stat-meter {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.survey-option-stat-meter span,
.survey-stat-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #38bdf8);
}

.survey-demographic-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 16px;
}

.survey-demographic-card,
.survey-option-demographic-card {
  padding: 16px;
}

.survey-demographic-card ul,
.survey-option-demographic-groups ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.survey-demographic-card li,
.survey-option-demographic-groups li {
  display: grid;
  gap: 7px;
}

.survey-option-demographic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.survey-option-demographic-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.survey-option-demographic-head strong {
  color: #0b355f;
  font-size: 1.1rem;
}

.survey-option-demographic-head small {
  color: #64748b;
  font-weight: 800;
}

.survey-option-demographic-groups {
  display: grid;
  gap: 14px;
}

.survey-option-demographic-groups h4 {
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .category-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .category-topbar a {
    width: 100%;
  }

  .info-row {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .survey-experience {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .survey-topbar,
  .survey-hero-actions,
  .survey-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .survey-topbar {
    gap: 10px;
  }

  .survey-back-link {
    width: 100%;
  }

  .survey-hero-card,
  .survey-workspace,
  .survey-decision-grid,
  .survey-wallet-compare-grid {
    grid-template-columns: 1fr;
  }

  .survey-hero-card {
    padding: 18px;
    border-radius: 18px;
  }

  .survey-pulse-panel {
    min-height: auto;
  }

  .modern-survey-info-card {
    position: static;
  }

  .survey-details-toggle {
    width: 100%;
  }

  .modern-survey-info-card .info-row {
    grid-template-columns: 1fr;
  }

  .survey-statistics-summary,
  .survey-demographic-grid,
  .survey-option-demographic-grid,
  .survey-demographic-insights,
  .survey-demographic-accordion-grid,
  .survey-stat-preview {
    grid-template-columns: 1fr;
  }

  .modern-option-row {
    grid-template-columns: auto 1fr;
  }

  .modern-option-row input {
    position: absolute;
    opacity: 0;
  }

  .survey-option-choice-mark {
    align-self: start;
  }

  .survey-option-title-row,
  .survey-option-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .survey-action-bar {
    position: sticky;
    bottom: 10px;
    z-index: 12;
    padding: 10px;
    border: 1px solid rgba(191, 219, 254, 0.82);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 34px rgba(15, 76, 129, 0.16);
    backdrop-filter: blur(12px);
  }

  .survey-action-bar button {
    width: 100%;
    min-height: 46px;
  }

  .survey-support-fee-dialog {
    border-radius: 20px;
  }

  .survey-support-fee-dialog-hero,
  .survey-support-fee-dialog-copy,
  .survey-support-fee-summary,
  .survey-support-fee-dialog-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .survey-support-fee-summary,
  .survey-support-fee-dialog-actions {
    grid-template-columns: 1fr;
  }

  .survey-support-fee-dialog-note {
    margin-left: 18px;
    margin-right: 18px;
  }

  .survey-support-fee-dialog-actions {
    display: grid;
  }

  .survey-stat-tabs,
  .survey-stat-segmented,
  .survey-stat-meta-bar,
  .survey-stat-view-toggle {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .survey-stat-meta-bar span,
  .survey-stat-view-toggle button {
    width: 100%;
  }

  .survey-stat-chart-grid,
  .survey-option-mini-charts,
  .survey-stat-skeleton {
    grid-template-columns: 1fr;
  }

  .survey-chart-frame {
    height: 240px;
  }

  .survey-chart-frame-compact {
    height: 220px;
  }

  .survey-chart-frame-focus {
    height: 260px;
  }

  .survey-demographic-privacy-note {
    align-items: flex-start;
  }

  .survey-demographic-insight-card {
    padding: 14px 14px 14px 16px;
  }

  .survey-stat-legend li {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .survey-stat-legend em {
    grid-column: 2;
    text-align: left;
  }

  .survey-stat-table {
    min-width: 300px;
  }

  .survey-option-stat-row > div,
  .survey-demographic-card li > div,
  .survey-option-demographic-groups li > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .survey-option-stat-row strong,
  .survey-demographic-card li strong,
  .survey-option-demographic-groups li strong {
    white-space: normal;
  }

  .home-page {
    margin: 0;
    padding: 82px 14px 18px;
    border-radius: 0;
  }

  .home-live-clock {
    top: 10px;
    right: 10px;
    left: 10px;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-width: 0;
    padding: 8px 10px;
  }

  .home-live-clock span,
  .home-live-clock strong {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px 14px 14px;
  }

  .home-hero-panel {
    min-height: 170px;
  }

  .home-hero h1 {
    font-size: 1.9rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .home-hero-actions a {
    width: 100%;
  }

  .home-command-center,
  .home-stat-grid,
  .home-step-grid,
  .home-proposal-callout,
  .home-proposal-path {
    grid-template-columns: 1fr;
  }

  .home-proposal-copy .section-title {
    max-width: 100%;
  }

  .home-proposal-action {
    justify-self: stretch;
  }

  .home-nav {
    position: static;
    width: 100%;
    max-width: none;
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .home-nav a,
  .home-nav .nav-link-button {
    width: 100%;
    min-width: 0;
    font-size: 0.86rem;
    padding: 10px 11px;
    white-space: normal;
    text-align: center;
  }

  .section-title {
    font-size: 1.28rem;
    margin-bottom: 12px;
  }

  .reward-showcase {
    padding: 14px;
  }

  .reward-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 10px;
  }

  .reward-card-featured {
    grid-column: auto;
    grid-row: auto;
  }

  .reward-card-overlay {
    left: 11px;
    right: 11px;
    bottom: 11px;
  }

  .reward-cta-strip {
    align-items: stretch;
  }

  .reward-cta-strip a {
    justify-content: center;
    width: 100%;
  }

  .trending-marquee-block {
    padding: 12px;
  }

  .trending-method-label {
    font-size: 0.69rem;
    letter-spacing: 0.9px;
    margin-bottom: 10px;
  }

  .trending-marquee-item {
    min-width: 190px;
    max-width: 190px;
    padding: 9px 10px;
  }

  .trending-marquee-title {
    font-size: 0.85rem;
  }

  .trending-top-option-text {
    font-size: 0.72rem;
  }

  .trending-top-option-votes {
    font-size: 0.68rem;
  }

  .category-carousel {
    grid-template-columns: 1fr;
    min-width: 0;
    overflow: hidden;
  }

  .carousel-control {
    display: none;
  }

  .category-track {
    grid-auto-columns: minmax(210px, 80%);
    max-width: 100%;
    min-width: 0;
  }

  .category-hero-content,
  .category-toolbar,
  .category-stat-grid {
    grid-template-columns: 1fr;
  }

  .category-hero-visual {
    min-height: 160px;
  }

  .home-footer {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "social"
      "support";
    gap: 14px;
    padding: 22px 18px 92px;
  }

  .home-footer-brand,
  .home-social-links,
  .home-support-contact {
    justify-self: stretch;
    text-align: left;
  }

  .home-social-links {
    justify-items: start;
  }

  .home-social-link-list {
    justify-content: flex-start;
  }

  .home-support-contact {
    box-sizing: border-box;
  }

  .support-bot {
    right: 10px;
    left: 10px;
    bottom: 0;
    justify-items: stretch;
  }

  .support-bot-panel {
    width: 100%;
    max-height: calc(100dvh - 22px);
    display: flex;
    flex-direction: column;
    border-radius: 18px 18px 0 0;
  }

  .support-bot-header {
    align-items: center;
    padding: 12px;
  }

  .support-bot-messages {
    max-height: min(260px, 34dvh);
  }

  .support-bot-toggle {
    justify-self: end;
    min-height: 48px;
  }

  @media (max-width: 430px) {
    .home-nav {
      grid-template-columns: 1fr;
    }

    .home-hero h1 {
      font-size: 1.72rem;
    }

    .hero-kicker {
      font-size: 0.68rem;
      letter-spacing: 1px;
    }

    .reward-gallery {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: 128px;
    }

    .reward-card-featured {
      grid-column: auto;
    }

    .reward-card-overlay h3 {
      font-size: 0.9rem;
    }

    .reward-card-overlay span {
      font-size: 0.6rem;
    }
  }

}

@media (prefers-reduced-motion: reduce) {
  .home-page,
  .home-live-clock,
  .home-reveal,
  .home-hero::before,
  .home-hero::after,
  .survey-card,
  .reward-card img,
  .skeleton-line,
  .trending-marquee-track {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

#message {
  margin-top: 10px;
  color: #333;
}

#message.error-message {
  color: #b42318 !important;
}

body.signup-page .field-error,
body.signup-page #message.error-message {
  color: #b42318 !important;
}

/* Shared interaction tokens retain each page's existing visual identity. */
.account-section-navigation {
  min-width: 0;
}

.account-section-navigation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.account-section-navigation-heading p {
  margin: 0;
  color: #17324d;
  font-weight: 700;
}

.account-section-navigation-heading span {
  display: block;
  margin-top: 4px;
  color: #52647a;
  font-size: 0.85rem;
  font-weight: 400;
}

.account-section-navigation-heading .account-section-motion-control {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  color: #17324d;
  border: 1px solid #c5d8e7;
}

.account-dashboard-page .account-scrolling-tabbar {
  display: flex;
  overflow-x: auto;
  scroll-behavior: auto;
  direction: ltr;
}

.account-dashboard-page .account-scrolling-tabbar button {
  flex: 0 0 max(160px, 24%);
  width: auto;
}

@media (prefers-reduced-motion: reduce) {
  .account-dashboard-page .account-scrolling-tabbar {
    flex-wrap: wrap;
  }

  .account-dashboard-page .account-scrolling-tabbar button {
    flex: 1 1 140px;
  }
}

.account-dashboard-page .account-menu-toggle {
  display: none;
}

@media (max-width: 640px) {
  .account-dashboard-page .account-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-height: 44px;
    margin: 0 0 0 auto;
    padding: 10px 14px;
    border: 1px solid #c5d8e7;
    border-radius: 12px;
    background: #fff;
    color: #17324d;
  }

  .account-dashboard-page .account-topbar-actions {
    display: none;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #d4e0ec;
    border-radius: 14px;
    background: #fff;
  }

  .account-dashboard-page .account-topbar-actions.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
}

:root {
  --ui-ink: #17324d;
  --ui-muted: #52647a;
  --ui-brand: #155e75;
  --ui-focus: #075985;
  --ui-line: #d4e0ec;
  --ui-surface: #ffffff;
  --ui-radius: 16px;
  --ui-shadow: 0 16px 40px rgba(23, 50, 77, 0.08);
}

:where(button, input, select, textarea) {
  font: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ui-focus) !important;
  outline-offset: 3px;
}

:where(button, input, select, textarea):disabled {
  cursor: not-allowed;
}

.ui-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ui-ink);
  color: #fff;
  transform: translateY(-160%);
}

.ui-skip-link:focus {
  transform: translateY(0);
}

.auth-page {
  min-height: 100vh;
  padding: 32px 16px;
  box-sizing: border-box;
  color: var(--ui-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(ellipse at top left, #dceef4, transparent 65%), #f3f7fb;
}

.auth-page .login-container {
  width: min(100%, 480px);
  box-sizing: border-box;
  margin: 32px auto;
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--ui-line);
  border-radius: 24px;
  box-shadow: var(--ui-shadow);
}

.auth-home-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--ui-brand);
  font-weight: 600;
  text-underline-offset: 4px;
}

.auth-kicker {
  margin: 0 0 8px;
  color: var(--ui-brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-intro,
.verification-hint {
  color: var(--ui-muted);
  line-height: 1.65;
}

.auth-page :is(input, select),
.signup-page :is(input:not([type="checkbox"]):not([type="hidden"]), select) {
  box-sizing: border-box;
  min-height: 46px;
  font-size: 1rem;
}

.auth-page button {
  min-height: 44px;
}

.auth-page .login-link-button {
  text-underline-offset: 4px;
}

.auth-page .auth-message:not(:empty),
.signup-page #message:not(:empty) {
  padding: 14px 16px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #f3f8fc;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.signup-field-label,
.auth-field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--ui-ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.signup-field-label[hidden] {
  display: none;
}

.signup-field-label input,
.auth-field-label input {
  font-weight: 400;
}

.signup-assurance span {
  line-height: 1.4;
}

.verification-hint {
  margin: 0 0 16px;
}

.signup-otp-fields input {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.home-page #survey-search-input:focus,
.admin-dashboard-page :is(input, select, textarea):focus-visible {
  border-color: var(--ui-focus);
  box-shadow: 0 0 0 3px rgba(7, 89, 133, 0.12);
}

.home-page :is(.survey-search-result, .trending-marquee-block),
.account-dashboard-page .account-panel {
  border-radius: var(--ui-radius);
  box-shadow: var(--ui-shadow);
}

.home-feedback {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius);
  background: var(--ui-surface);
  color: var(--ui-muted);
  line-height: 1.6;
}

.home-feedback.is-error {
  border-color: #f1b9b5;
  background: #fff5f4;
  color: #9b241b;
}

.survey-experience .modern-option-row:has(input:focus-visible) {
  outline: 3px solid var(--ui-focus);
  outline-offset: 3px;
}

.survey-experience .modern-option-row.is-selected {
  border-color: var(--ui-brand);
  box-shadow: inset 4px 0 0 var(--ui-brand);
}

.account-dashboard-page :is(.account-identity-card strong, .account-identity-card small, .account-panel),
.admin-dashboard-page :is(.admin-title-block, .admin-filter-chip) {
  overflow-wrap: anywhere;
  min-width: 0;
}

.account-tabbar button[aria-current="page"] {
  box-shadow: inset 0 -3px 0 currentColor;
}

.admin-dashboard-page .admin-filter-editor {
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  background: #f6f9fc;
}

@media (max-width: 640px) {
  .survey-experience .modern-option-row {
    position: relative;
  }

  .survey-experience .modern-option-row input[type="radio"] {
    width: 1px;
    height: 1px;
    padding: 0;
    clip-path: inset(50%);
    overflow: hidden;
  }

  .survey-share-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .survey-share-panel .survey-share-button {
    min-width: 0;
    padding: 0 6px;
    gap: 4px;
    font-size: 0.75rem;
  }

  .signup-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup-assurance {
    min-width: 0;
  }

  .auth-page .login-container {
    margin: 12px auto;
  }

  .account-dashboard-page :is(.account-topbar, .account-topbar-actions),
  .admin-dashboard-page .admin-top-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .account-dashboard-page .account-tabbar {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .account-dashboard-page .account-tabbar button {
    flex: 0 0 auto;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
