:root {
  --primary: #079eaa;
  --primary-dark: #057b85;
  --primary-soft: #e8f7f7;
  --pink: #e91e7b;
  --pink-soft: #fff0f7;
  --amber: #ffb51f;
  --amber-soft: #fff7e3;
  --green: #8bc53f;
  --green-soft: #f1f8e8;
  --ink: #142333;
  --ink-2: #304253;
  --muted: #6f7f8e;
  --line: #dce4e8;
  --line-soft: #eaf0f2;
  --surface: #ffffff;
  --surface-warm: #f8faf9;
  --danger: #d94555;
  --shadow-sm: 0 8px 24px rgba(26, 48, 62, 0.08);
  --shadow-md: 0 18px 55px rgba(23, 47, 61, 0.12);
  --shadow-lg: 0 35px 90px rgba(14, 39, 55, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f7faf9;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.survey-active {
  background: #f5f8f7;
}

body.lightbox-open,
body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(7, 158, 170, 0.22);
  outline-offset: 3px;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: linear-gradient(rgba(58, 83, 95, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(58, 83, 95, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.ambient__orb {
  position: absolute;
  width: 38vw;
  height: 38vw;
  min-width: 380px;
  min-height: 380px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.11;
  animation: ambient-drift 14s ease-in-out infinite alternate;
}

.ambient__orb--teal {
  top: -24vw;
  right: -10vw;
  background: radial-gradient(circle, var(--primary), transparent 69%);
}

.ambient__orb--pink {
  bottom: -26vw;
  left: -16vw;
  background: radial-gradient(circle, var(--pink), transparent 69%);
  animation-delay: -5s;
}

.ambient__orb--amber {
  top: 35%;
  left: 40%;
  width: 26vw;
  height: 26vw;
  min-width: 260px;
  min-height: 260px;
  opacity: 0.06;
  background: radial-gradient(circle, var(--amber), transparent 70%);
  animation-delay: -9s;
}

#app {
  min-height: 100vh;
}

.loading-screen {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  gap: 22px;
  color: var(--muted);
}

.loading-screen p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.loading-mark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 36px;
}

.loading-mark span {
  display: block;
  width: 10px;
  height: 22px;
  border-radius: 5px 5px 3px 3px;
  transform: skew(-7deg);
  animation: loading-bars 1s ease-in-out infinite alternate;
}

.loading-mark span:nth-child(1) { height: 25px; background: var(--amber); }
.loading-mark span:nth-child(2) { height: 34px; background: var(--pink); animation-delay: 0.12s; }
.loading-mark span:nth-child(3) { height: 28px; background: var(--green); animation-delay: 0.24s; }
.loading-mark span:nth-child(4) { height: 32px; background: var(--primary); animation-delay: 0.36s; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(206, 219, 224, 0.9);
  background: rgba(252, 253, 253, 0.88);
  box-shadow: 0 8px 28px rgba(30, 55, 67, 0.05);
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0 25%, var(--pink) 25% 50%, var(--green) 50% 75%, var(--primary) 75%);
  content: "";
}

.site-header__inner {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  min-height: 88px;
  margin: 0 auto;
  grid-template-columns: 190px 1fr 150px;
  align-items: center;
  gap: 28px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-mini__mark {
  display: grid;
  width: 62px;
  height: 42px;
  padding: 7px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #fff;
  place-items: center;
}

.brand-mini__mark img {
  display: block;
  width: 100%;
}

.brand-mini__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mini__copy strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.brand-mini__copy small {
  color: var(--muted);
  font-size: 12px;
}

.progress-desktop {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.progress-step {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding: 7px 5px;
  border: 0;
  background: transparent;
  opacity: 0.45;
  cursor: default;
  text-align: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.progress-step:not(:disabled) {
  cursor: pointer;
}

.progress-step:not(:disabled):hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.progress-step.is-current,
.progress-step.is-complete {
  opacity: 1;
}

.progress-step__dot {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid #c9d5d9;
  border-radius: 50%;
  color: #82919b;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  place-items: center;
  transition: 180ms ease;
}

.progress-step__dot svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.4;
}

.progress-step.is-current .progress-step__dot {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(7, 158, 170, 0.11);
}

.progress-step.is-complete:not(.is-current) .progress-step__dot {
  border-color: #9bd0d4;
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.progress-step__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.progress-step__copy small {
  color: #94a0a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.progress-step__copy strong {
  overflow: hidden;
  max-width: 84px;
  color: var(--ink-2);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.progress-connector {
  width: clamp(14px, 2vw, 42px);
  height: 1px;
  margin: 0 2px;
  background: #d7e0e3;
}

.progress-mobile {
  display: none;
}

.draft-status {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.draft-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(139, 197, 63, 0.12);
}

.draft-status--saving .draft-status__dot {
  background: var(--amber);
  animation: status-pulse 900ms ease-in-out infinite;
}

.draft-status--error .draft-status__dot {
  background: var(--danger);
}

.welcome {
  width: min(1360px, calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0 24px;
}

.welcome__topbar,
.welcome__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.edition-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #657581;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.edition-tag span {
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--primary));
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6c7c86;
  font-size: 12px;
}

.secure-note svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.welcome__grid {
  display: grid;
  min-height: calc(100vh - 116px);
  padding: 50px 0 34px;
  grid-template-columns: minmax(0, 1.16fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.welcome__content {
  position: relative;
  max-width: 770px;
}

.logo-panel {
  position: relative;
  display: inline-flex;
  width: clamp(245px, 32vw, 420px);
  min-height: 92px;
  align-items: center;
  margin-bottom: 42px;
  padding: 17px 24px;
  overflow: hidden;
  border: 1px solid rgba(213, 224, 228, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--shadow-sm);
  animation: logo-reveal 700ms cubic-bezier(0.2, 0.85, 0.3, 1) both;
}

.logo-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--amber) 0 25%, var(--pink) 25% 50%, var(--green) 50% 75%, var(--primary) 75%);
  content: "";
}

.logo-panel img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
}

.logo-panel__glow {
  position: absolute;
  right: -25px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(7, 158, 170, 0.08);
}

.logo-text-fallback {
  color: var(--primary);
  font-size: 30px;
  letter-spacing: 0.08em;
}

.welcome__eyebrow,
.module-heading__meta,
.review-hero > div > span,
.comment-card__head > div > span,
.identity-summary > div > span,
.thanks-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow-line {
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.welcome h1 {
  max-width: 720px;
  margin: 18px 0 20px;
  color: #102536;
  font-size: clamp(38px, 4.6vw, 68px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.welcome__intro {
  max-width: 680px;
  margin: 0;
  color: #60717e;
  font-size: 16px;
  line-height: 1.85;
}

.welcome__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.metric-chip {
  display: grid;
  min-width: 142px;
  padding: 12px 16px;
  border: 1px solid rgba(216, 226, 230, 0.92);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.68);
  grid-template-columns: 28px auto;
  grid-template-rows: auto auto;
  column-gap: 9px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.metric-chip:hover {
  border-color: #c4dadd;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.metric-chip > span {
  display: grid;
  width: 28px;
  height: 28px;
  grid-row: 1 / 3;
  align-self: center;
  border-radius: 9px;
  color: var(--primary);
  background: var(--primary-soft);
  place-items: center;
}

.metric-chip:nth-child(2) > span { color: var(--pink); background: var(--pink-soft); }
.metric-chip:nth-child(3) > span { color: #709e30; background: var(--green-soft); }
.metric-chip svg { width: 15px; height: 15px; }
.metric-chip strong { color: var(--ink-2); font-size: 14px; }
.metric-chip small { margin-top: 2px; color: #8a98a1; font-size: 11px; }

.welcome-steps {
  max-width: 650px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.welcome-steps__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.welcome-steps__head strong {
  color: var(--ink-2);
  font-size: 13px;
}

.welcome-steps__head span {
  color: #8b98a0;
  font-size: 11px;
}

.welcome-steps ol {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.welcome-steps li {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 9px;
}

.welcome-step__number {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid #cdd9dd;
  border-radius: 50%;
  color: var(--primary-dark);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  place-items: center;
}

.welcome-steps li > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.welcome-steps li strong {
  overflow: hidden;
  color: #425563;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.welcome-steps li small {
  margin-top: 2px;
  color: #94a0a7;
  font-size: 10px;
}

.welcome-step__line {
  width: 100%;
  height: 1px;
  margin: 0 10px;
  background: #dbe3e6;
}

.welcome-steps li:last-child .welcome-step__line {
  display: none;
}

.identity-card {
  position: relative;
  width: 100%;
  max-width: 490px;
  margin-left: auto;
  padding: 42px 44px 32px;
  overflow: hidden;
  border: 1px solid rgba(211, 222, 226, 0.94);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  animation: card-rise 720ms 100ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.identity-card::after {
  position: absolute;
  z-index: -1;
  right: -70px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 48px solid rgba(7, 158, 170, 0.035);
  border-radius: 50%;
  content: "";
}

.identity-card__accent {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 5px;
  grid-template-columns: repeat(4, 1fr);
}

.identity-card__accent i:nth-child(1) { background: var(--amber); }
.identity-card__accent i:nth-child(2) { background: var(--pink); }
.identity-card__accent i:nth-child(3) { background: var(--green); }
.identity-card__accent i:nth-child(4) { background: var(--primary); }

.identity-card__head {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}

.identity-card__index {
  color: #d5dfe2;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
}

.identity-card__head > div {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.identity-card__head > div > span {
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.identity-card h2 {
  margin: 4px 0 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.identity-card__lead {
  margin: 22px 0 24px;
  color: #71808a;
  font-size: 14px;
  line-height: 1.75;
}

.submitted-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 20px;
  padding: 12px 14px;
  border: 1px solid #d6ebc0;
  border-radius: 12px;
  background: #f5faef;
}

.submitted-notice__icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  place-items: center;
}

.submitted-notice__icon svg { width: 14px; height: 14px; stroke-width: 2.5; }
.submitted-notice > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.submitted-notice strong { color: #4d6b2e; font-size: 13px; }
.submitted-notice small { color: #7d9367; font-size: 11px; }

.identity-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #3b4d5a;
  font-size: 14px;
  font-weight: 700;
}

.required-mark,
.optional-mark {
  padding: 3px 7px;
  border-radius: 99px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 10px;
  font-weight: 700;
}

.optional-mark {
  color: #7d8991;
  background: #f0f3f4;
}

.field input,
.field select {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid #d6e0e3;
  border-radius: 12px;
  outline: 0;
  color: var(--ink-2);
  background: #fbfcfc;
  font-size: 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input::placeholder { color: #a7b1b7; }
.field input:hover, .field select:hover { border-color: #bdcdd2; }
.field input:focus, .field select:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(7, 158, 170, 0.09); }

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 42px;
  appearance: none;
}

.select-arrow {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #81919b;
  border-bottom: 1.5px solid #81919b;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.field__error {
  display: block;
  min-height: 14px;
  margin-top: 5px;
  color: var(--danger);
  font-size: 11px;
}

.field--error input,
.field--error select {
  border-color: #e49ba4;
  background: #fffafb;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #078993);
  box-shadow: 0 10px 24px rgba(7, 142, 152, 0.22);
}

.button--primary:hover:not(:disabled) {
  box-shadow: 0 14px 30px rgba(7, 142, 152, 0.3);
}

.button--primary:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.button--secondary {
  border-color: #d3dfe2;
  color: #455865;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 54, 66, 0.04);
}

.button--secondary:hover:not(:disabled) {
  border-color: #aac9cd;
  color: var(--primary-dark);
}

.button--ghost {
  min-height: 40px;
  border-color: transparent;
  color: #657682;
  background: #f2f5f5;
}

.button--danger {
  color: #fff;
  background: var(--danger);
  box-shadow: 0 10px 24px rgba(217, 69, 85, 0.22);
}

.button--wide {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
}

.button--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.identity-card__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0;
  color: #9aa5ab;
  font-size: 11px;
}

.identity-card__foot span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.welcome__footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #95a1a8;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.survey-page,
.review-page {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 64px;
}

.survey-page__intro {
  display: grid;
  margin-bottom: 34px;
  grid-template-columns: 90px minmax(0, 1fr) minmax(270px, 340px);
  align-items: end;
  gap: 30px;
}

.module-code {
  display: flex;
  height: 118px;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 22px;
  border-right: 1px solid var(--line);
}

.module-code span {
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.module-code i {
  width: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--amber));
}

.module-code em {
  color: #d5dfe2;
  font-size: 44px;
  font-style: normal;
  font-weight: 260;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.module-heading__meta {
  gap: 8px;
}

.module-heading__meta > span:first-child {
  padding-right: 12px;
  border-right: 1px solid #cbd8dc;
}

.required-pill,
.optional-pill {
  padding: 4px 8px;
  border-radius: 99px;
  color: #a44b71;
  background: var(--pink-soft);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.optional-pill {
  color: #77868f;
  background: #edf1f2;
}

.module-heading h1 {
  margin: 12px 0 10px;
  color: #142838;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.module-heading p {
  max-width: 650px;
  margin: 0;
  color: #6b7b86;
  font-size: 15px;
  line-height: 1.8;
}

.annotation-tip {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 80px;
  padding: 16px 18px;
  border: 1px solid #d5e7e8;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(237, 249, 249, 0.95), rgba(255, 255, 255, 0.92));
}

.annotation-tip__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 8px 18px rgba(7, 158, 170, 0.2);
  place-items: center;
}

.annotation-tip__icon svg { width: 19px; height: 19px; }
.annotation-tip > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.annotation-tip strong { color: #36515a; font-size: 13px; }
.annotation-tip small { color: #829097; font-size: 11px; line-height: 1.55; }

.option-grid {
  display: grid;
  align-items: start;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.option-grid--feedback .option-card {
  width: min(820px, 100%);
  margin: 0 auto;
}

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

.option-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #d8e2e5;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 35px rgba(23, 49, 62, 0.07);
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.option-card:hover {
  border-color: #b8d3d6;
  box-shadow: 0 20px 48px rgba(23, 49, 62, 0.11);
  transform: translateY(-3px);
}

.option-card.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(7, 158, 170, 0.09), 0 22px 52px rgba(7, 107, 116, 0.14);
}

.option-card.is-selected::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  border: 3px solid rgba(7, 158, 170, 0.09);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.option-card--feedback {
  cursor: default;
}

.option-card--feedback:hover {
  transform: none;
}

.option-card__index {
  position: absolute;
  top: 19px;
  right: 22px;
  color: #dbe3e5;
  font-size: 34px;
  font-weight: 250;
  line-height: 1;
}

.selected-corner {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px 8px 12px;
  border-radius: 0 20px 0 14px;
  color: #fff;
  background: var(--primary);
  font-size: 10px;
  font-weight: 800;
  animation: corner-in 220ms ease-out both;
}

.selected-corner svg { width: 12px; height: 12px; stroke-width: 2.4; }

.option-card__head {
  min-height: 145px;
  padding: 24px 64px 20px 24px;
}

.option-card__head > span {
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.option-card__head h2 {
  margin: 8px 0 7px;
  color: #253b4a;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.option-card__head p {
  margin: 0;
  color: #7b8992;
  font-size: 14px;
  line-height: 1.65;
}

.option-card__media {
  position: relative;
  margin: 0 14px;
  overflow: hidden;
  border: 1px solid #dae3e6;
  border-radius: 14px;
  background: #eef3f4;
}

.preview-open {
  position: relative;
  display: block;
  width: 100%;
  max-height: 348px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #edf2f3;
  cursor: zoom-in;
}

.preview-stage {
  position: relative;
  display: block;
  width: 100%;
  min-height: 180px;
}

.preview-stage::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28px;
  background: linear-gradient(transparent, rgba(15, 34, 46, 0.18));
  pointer-events: none;
  content: "";
}

.preview-stage img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 220ms ease;
}

.preview-open:hover .preview-stage img {
  filter: brightness(0.84);
  transform: scale(1.015);
}

.preview-open__veil {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(16, 42, 54, 0.3);
  opacity: 0;
  transition: opacity 200ms ease;
}

.preview-open:hover .preview-open__veil,
.preview-open:focus-visible .preview-open__veil {
  opacity: 1;
}

.preview-open__veil > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  place-items: center;
}

.preview-open__veil svg { width: 20px; height: 20px; }
.preview-open__veil strong { font-size: 13px; }
.preview-open__veil small { margin-top: 4px; color: rgba(255, 255, 255, 0.78); font-size: 10px; }

.preview-pin {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 4px 12px rgba(62, 20, 38, 0.28);
  font-size: 9px;
  font-weight: 800;
  pointer-events: none;
  place-items: center;
  transform: translate(-50%, -50%);
}

.image-fallback {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 30px;
  color: #8c9aa2;
  background: linear-gradient(135deg, #edf2f3, #f8fafa);
  text-align: center;
}

.image-fallback svg { width: 30px; height: 30px; color: #a7b4ba; }
.image-fallback strong { font-size: 13px; }
.image-fallback small { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.carousel-control {
  display: grid;
  min-height: 42px;
  padding: 0 10px;
  border-top: 1px solid #dde5e7;
  background: #fbfcfc;
  grid-template-columns: 32px 1fr auto 32px;
  align-items: center;
  gap: 8px;
}

.carousel-control > button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #60727d;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.carousel-control > button:hover { color: var(--primary); background: var(--primary-soft); }
.carousel-control > button svg { width: 14px; height: 14px; }
.carousel-control > span { color: #87949c; font-size: 11px; }

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dot {
  position: relative;
  width: 22px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-dot span {
  display: block;
  width: 13px;
  height: 3px;
  margin: auto;
  border-radius: 99px;
  background: #cad5d9;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dot.is-active span { width: 21px; background: var(--primary); }
.carousel-dot b { position: absolute; top: -4px; right: -3px; display: grid; width: 14px; height: 14px; border-radius: 50%; color: #fff; background: var(--pink); font-size: 8px; place-items: center; }

.option-card__select,
.option-card__feedback-label {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 11px;
  margin-top: 4px;
  padding: 15px 22px;
  border-top: 1px solid #edf1f2;
  color: #596b76;
  background: #fff;
  transition: color 180ms ease, background 180ms ease;
}

.option-card.is-selected .option-card__select {
  color: var(--primary-dark);
  background: linear-gradient(90deg, rgba(232, 247, 247, 0.9), #fff 70%);
}

.radio-mark {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1.5px solid #bbc9ce;
  border-radius: 50%;
  color: #fff;
  background: #fff;
  place-items: center;
  transition: 180ms ease;
}

.radio-mark svg { width: 13px; height: 13px; stroke-width: 2.6; }
.option-card.is-selected .radio-mark, .none-option.is-selected .radio-mark { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px rgba(7, 158, 170, 0.1); }
.option-card__select strong { font-size: 14px; }

.option-card__feedback-label {
  justify-content: center;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.option-card__feedback-label span { display: grid; width: 26px; height: 26px; border-radius: 8px; color: #fff; background: var(--primary); place-items: center; }
.option-card__feedback-label svg { width: 14px; height: 14px; }

.none-option {
  display: flex;
  width: 100%;
  min-height: 70px;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 14px 20px;
  border: 1px dashed #cbd7db;
  border-radius: 15px;
  color: #657681;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  text-align: left;
  transition: 180ms ease;
}

.none-option:hover { border-color: #adc7cc; background: #fff; }
.none-option.is-selected { border: 1px solid var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px rgba(7, 158, 170, 0.06); }
.none-option > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.none-option strong { color: #3e515e; font-size: 14px; }
.none-option small { color: #89969e; font-size: 12px; }

.comment-card {
  display: grid;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #d9e3e6;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
}

.comment-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.comment-card__head > div > span { font-size: 10px; }
.comment-card__head h2 { margin: 7px 0 0; font-size: 22px; }
.comment-card__head > small { padding: 3px 7px; border-radius: 99px; color: #7d8a92; background: #eef2f3; font-size: 10px; }

.textarea-wrap {
  position: relative;
}

.textarea-wrap textarea {
  display: block;
  width: 100%;
  min-height: 124px;
  padding: 14px 16px 30px;
  resize: vertical;
  border: 1px solid #d7e1e4;
  border-radius: 13px;
  outline: 0;
  color: #354a58;
  background: #fbfcfc;
  font-size: 15px;
  line-height: 1.75;
  transition: 180ms ease;
}

.textarea-wrap textarea::placeholder { color: #a1adb3; }
.textarea-wrap textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(7, 158, 170, 0.08); }

.char-count {
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: #9aa5ab;
  font-size: 10px;
}

.char-count b { color: #75868f; font-weight: 700; }

.page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.page-actions__note {
  color: #8a979f;
  font-size: 12px;
}

.page-actions__note span { color: var(--primary-dark); font-size: 16px; font-weight: 750; }

.review-page {
  width: min(1120px, calc(100% - 48px));
}

.review-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.review-hero__mark {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0d858e);
  box-shadow: 0 13px 27px rgba(7, 141, 151, 0.22);
  place-items: center;
}

.review-hero__mark svg { width: 28px; height: 28px; stroke-width: 2.3; }
.review-hero h1 { margin: 7px 0 6px; font-size: clamp(30px, 4vw, 43px); letter-spacing: -0.04em; }
.review-hero p { margin: 0; color: #72818b; font-size: 14px; line-height: 1.75; }

.identity-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 20px 24px;
  border: 1px solid #d9e5e7;
  border-radius: 17px;
  background: linear-gradient(135deg, #eef9f9, #fff);
}

.identity-summary h2 { margin: 5px 0 0; font-size: 17px; }
.identity-summary__items { display: flex; gap: 56px; }
.identity-summary__items > div { display: flex; flex-direction: column; gap: 4px; }
.identity-summary__items small { color: #8b989f; font-size: 10px; }
.identity-summary__items strong { color: #3a505e; font-size: 14px; }

.summary-list {
  overflow: hidden;
  border: 1px solid #d9e3e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.summary-row {
  display: grid;
  min-height: 124px;
  padding: 20px 22px;
  grid-template-columns: 48px minmax(250px, 1fr) minmax(150px, 0.4fr) 90px 70px;
  align-items: center;
  gap: 16px;
}

.summary-row + .summary-row { border-top: 1px solid var(--line-soft); }
.summary-row__number { color: #c6d3d8; font-size: 25px; font-weight: 300; }
.summary-row__main > span { color: var(--primary-dark); font-size: 10px; font-weight: 800; letter-spacing: 0.13em; }
.summary-row__main h3 { margin: 5px 0; font-size: 17px; }
.summary-row__main p { margin: 0; color: #7d8b94; font-size: 13px; line-height: 1.6; }
.summary-empty { color: #a2adb3; }
.summary-row__choice, .summary-row__annotations { display: flex; flex-direction: column; gap: 5px; }
.summary-row__choice small, .summary-row__annotations small { color: #93a0a7; font-size: 10px; }
.summary-row__choice strong, .summary-row__annotations strong { color: #435762; font-size: 13px; }

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  border: 0;
  color: var(--primary-dark);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.text-button:hover { color: var(--pink); }
.text-button svg { width: 13px; height: 13px; }

.submit-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #d4e1e4;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.submit-panel__copy { display: flex; align-items: center; gap: 14px; }
.submit-panel__icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: var(--primary); background: var(--primary-soft); place-items: center; }
.submit-panel__icon svg { width: 20px; height: 20px; }
.submit-panel__copy > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.submit-panel__copy strong { color: #3c515e; font-size: 13px; }
.submit-panel__copy small { color: #89969e; font-size: 11px; }
.submit-panel__actions { display: flex; gap: 10px; }

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.thanks-page {
  display: grid;
  min-height: 100vh;
  padding: 36px 20px;
  place-items: center;
}

.thanks-card {
  position: relative;
  width: min(610px, 100%);
  padding: 46px 54px 42px;
  overflow: hidden;
  border: 1px solid #d7e3e5;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(18px);
}

.thanks-card::before,
.thanks-card::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.thanks-card::before { top: -100px; right: -80px; width: 240px; height: 240px; border: 44px solid rgba(7, 158, 170, 0.035); }
.thanks-card::after { bottom: -110px; left: -90px; width: 220px; height: 220px; border: 40px solid rgba(233, 30, 123, 0.025); }

.thanks-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  height: 5px;
  grid-template-columns: repeat(4, 1fr);
}

.thanks-card__ribbon i:nth-child(1) { background: var(--amber); }
.thanks-card__ribbon i:nth-child(2) { background: var(--pink); }
.thanks-card__ribbon i:nth-child(3) { background: var(--green); }
.thanks-card__ribbon i:nth-child(4) { background: var(--primary); }

.thanks-card__logo {
  display: block;
  width: 190px;
  margin: 0 auto 28px;
}

.success-orbit {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 25px;
  border: 1px solid #cce5e6;
  border-radius: 50%;
  place-items: center;
  animation: orbit-in 600ms 150ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.success-orbit > span {
  display: grid;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #07848e);
  box-shadow: 0 12px 26px rgba(7, 148, 158, 0.24);
  place-items: center;
}

.success-orbit svg { width: 27px; height: 27px; stroke-width: 2.4; }
.success-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; }
.success-orbit i:nth-child(2) { top: 7px; right: 10px; background: var(--amber); }
.success-orbit i:nth-child(3) { bottom: 10px; left: 5px; background: var(--pink); }
.success-orbit i:nth-child(4) { right: -1px; bottom: 23px; background: var(--green); }

.thanks-card__eyebrow { justify-content: center; }
.thanks-card h1 { margin: 10px 0 12px; font-size: clamp(30px, 5vw, 42px); letter-spacing: -0.04em; }
.thanks-card > p { max-width: 450px; margin: 0 auto; color: #71818b; font-size: 15px; line-height: 1.8; }

.submission-ticket {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 28px 0 24px;
  padding: 18px 20px;
  border: 1px dashed #c8d7db;
  border-radius: 15px;
  background: #f8fbfa;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 20px;
}

.submission-ticket > span { display: flex; flex-direction: column; gap: 5px; }
.submission-ticket small { color: #8e9ba2; font-size: 10px; }
.submission-ticket strong { color: #354b58; font-size: 14px; }
.submission-ticket i { height: 32px; background: #d7e1e4; }
.thanks-card__foot { position: relative; z-index: 1; display: block; margin-top: 16px; color: #9ca7ad; font-size: 11px; }

.toast-region {
  position: fixed;
  z-index: 300;
  top: max(24px, env(safe-area-inset-top));
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  display: flex;
  min-width: 280px;
  max-width: min(440px, calc(100vw - 32px));
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border: 1px solid #d7e1e4;
  border-radius: 13px;
  color: #405461;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(20, 43, 55, 0.18);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.toast__icon {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  place-items: center;
}

.toast__icon svg { width: 14px; height: 14px; }
.toast--warning .toast__icon { background: var(--amber); }
.toast--error .toast__icon { background: var(--danger); }
.toast--success .toast__icon { background: var(--green); }

.modal-backdrop {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgba(12, 31, 42, 0.58);
  backdrop-filter: blur(9px);
  place-items: center;
}

.modal-card {
  width: min(430px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 35px 85px rgba(4, 25, 35, 0.3);
  text-align: center;
}

.modal-card__mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 17px;
  border-radius: 15px;
  color: var(--primary);
  background: var(--primary-soft);
  place-items: center;
}

.modal-card__mark--danger { color: var(--danger); background: #fff0f2; }
.modal-card__mark svg { width: 23px; height: 23px; }
.modal-card__eyebrow { color: var(--primary-dark); font-size: 10px; font-weight: 800; letter-spacing: 0.16em; }
.modal-card h2 { margin: 8px 0 10px; font-size: 22px; letter-spacing: -0.025em; }
.modal-card p { margin: 0; color: #74838c; font-size: 13px; line-height: 1.75; }
.modal-card__actions { display: grid; margin-top: 24px; grid-template-columns: 1fr 1fr; gap: 10px; }

.lightbox-backdrop {
  position: fixed;
  z-index: 350;
  inset: 0;
  padding: 14px;
  background: rgba(6, 20, 29, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: #0e1d27;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  grid-template-rows: 74px minmax(0, 1fr) 40px;
}

.lightbox__header {
  z-index: 5;
  display: grid;
  padding: 0 20px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 31, 41, 0.95);
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 20px;
}

.lightbox__title {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.lightbox__title span { overflow: hidden; color: #8297a3; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.lightbox__title strong { overflow: hidden; color: #edf5f6; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }

.lightbox__guide {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(66, 181, 190, 0.24);
  border-radius: 11px;
  background: rgba(7, 158, 170, 0.08);
}

.lightbox__guide > span:first-child { display: grid; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--primary); place-items: center; }
.lightbox__guide svg { width: 14px; height: 14px; }
.lightbox__guide > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.lightbox__guide strong { color: #cfedef; font-size: 11px; }
.lightbox__guide small { color: #8aa0aa; font-size: 10px; }

.lightbox__tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.lightbox__tools button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #b8c8cf;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  place-items: center;
  transition: 160ms ease;
}

.lightbox__tools button:hover { border-color: rgba(92, 198, 205, 0.4); color: #fff; background: rgba(7, 158, 170, 0.16); }
.lightbox__tools button svg { width: 15px; height: 15px; }
.lightbox__tools .zoom-value { width: 52px; color: #8fa4ad; font-size: 11px; }
.lightbox__tools > i { width: 1px; height: 24px; margin: 0 5px; background: rgba(255, 255, 255, 0.12); }
.lightbox__tools .lightbox-close:hover { border-color: rgba(233, 82, 101, 0.45); color: #fff; background: rgba(217, 69, 85, 0.22); }

.lightbox__body {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.lightbox-scroll {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px;
  background-color: #091720;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.018) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, 0.018) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.018) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.018) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
  scrollbar-color: #3a505a #0c202a;
}

.lightbox-canvas {
  position: relative;
  flex: 0 0 auto;
  width: min(1080px, calc(100vw - 110px));
  margin: 0 auto;
  overflow: visible;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.36);
  cursor: crosshair;
  transition: width 150ms ease;
}

.lightbox-canvas img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  user-select: none;
  transition: opacity 220ms ease;
}

.lightbox-canvas img.is-ready { opacity: 1; }
.lightbox-canvas.is-error { display: grid; min-height: 380px; cursor: default; place-items: center; }

.annotation-layer {
  position: absolute;
  z-index: 6;
  inset: 0;
  pointer-events: none;
}

.annotation-layer .annotation-pin:not(.annotation-pin--pending) {
  pointer-events: auto;
}

.annotation-editor-host {
  display: contents;
}

.lightbox-image-error {
  display: flex;
  max-width: 420px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px;
  color: #778892;
  text-align: center;
}

.lightbox-image-error svg { width: 36px; height: 36px; color: #a4b1b7; }
.lightbox-image-error strong { color: #4d626f; font-size: 13px; }
.lightbox-image-error small { max-width: 100%; overflow-wrap: anywhere; font-size: 11px; }

.annotation-pin {
  position: absolute;
  z-index: 8;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 5px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 5px 16px rgba(45, 13, 28, 0.38);
  cursor: pointer;
  place-items: center;
  transform: translate(-50%, -82%) rotate(-45deg);
  transition: transform 160ms ease, box-shadow 160ms ease;
  animation: pin-drop 280ms cubic-bezier(0.2, 0.85, 0.35, 1.35) both;
}

.annotation-pin span {
  font-size: 9px;
  font-weight: 800;
  transform: rotate(45deg);
}

.annotation-pin:hover,
.annotation-pin.is-active {
  z-index: 9;
  box-shadow: 0 7px 20px rgba(45, 13, 28, 0.48), 0 0 0 5px rgba(233, 30, 123, 0.2);
  transform: translate(-50%, -82%) rotate(-45deg) scale(1.12);
}

.annotation-pin--pending {
  z-index: 7;
  border-color: rgba(255, 255, 255, 0.9);
  background: var(--primary);
  pointer-events: none;
  animation: pin-pending 1s ease-in-out infinite;
}

.lightbox-nav {
  position: fixed;
  z-index: 7;
  top: 50%;
  display: grid;
  width: 42px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #c8d5da;
  background: rgba(13, 35, 46, 0.82);
  cursor: pointer;
  backdrop-filter: blur(10px);
  place-items: center;
  transform: translateY(-50%);
}

.lightbox-nav:hover { color: #fff; background: var(--primary-dark); }
.lightbox-nav svg { width: 18px; height: 18px; }
.lightbox-nav--prev { left: 28px; }
.lightbox-nav--next { right: 28px; }

.annotation-editor {
  position: absolute;
  z-index: 15;
  top: 20px;
  right: 20px;
  width: min(370px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.annotation-editor__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 17px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.annotation-editor__pin {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border-radius: 10px;
  color: #fff;
  background: var(--pink);
  box-shadow: 0 6px 13px rgba(233, 30, 123, 0.2);
  font-size: 11px;
  font-weight: 800;
  place-items: center;
}

.annotation-editor__head > div { display: flex; flex: 1; flex-direction: column; gap: 3px; }
.annotation-editor__head small { color: var(--primary-dark); font-size: 9px; font-weight: 800; letter-spacing: 0.15em; }
.annotation-editor__head strong { color: #334a57; font-size: 14px; }
.annotation-editor__head > button { display: grid; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 8px; color: #819098; background: #f0f4f4; cursor: pointer; place-items: center; }
.annotation-editor__head > button:hover { color: var(--danger); background: #fff0f2; }
.annotation-editor__head svg { width: 13px; height: 13px; }
.annotation-editor > label { display: block; margin-bottom: 8px; color: #526571; font-size: 13px; font-weight: 700; }

.annotation-editor__textarea {
  position: relative;
}

.annotation-editor__textarea textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 12px 13px 28px;
  resize: vertical;
  border: 1px solid #d4dfe2;
  border-radius: 11px;
  outline: 0;
  color: #344a57;
  background: #f9fbfb;
  font-size: 14px;
  line-height: 1.7;
}

.annotation-editor__textarea textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(7, 158, 170, 0.08); }
.annotation-editor__textarea > span { position: absolute; right: 9px; bottom: 8px; color: #9aa6ac; font-size: 10px; }

.annotation-editor__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.annotation-editor__actions > div { display: flex; gap: 7px; }

.button-icon-danger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border: 0;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.button-icon-danger svg { width: 13px; height: 13px; }

.lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #738994;
  background: #0d202a;
  font-size: 10px;
}

.lightbox__footer b { color: #c3e5e7; }

.load-error {
  display: flex;
  width: min(560px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.load-error__icon { display: grid; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 18px; color: #fff; background: var(--danger); box-shadow: 0 12px 28px rgba(217, 69, 85, 0.25); font-size: 25px; font-weight: 800; place-items: center; }
.load-error > span { color: var(--danger); font-size: 10px; font-weight: 800; letter-spacing: 0.18em; }
.load-error h1 { margin: 9px 0 12px; font-size: 30px; }
.load-error > p { margin: 0; color: #75858e; font-size: 14px; }
.load-error > div { display: flex; width: 100%; margin: 24px 0; padding: 15px; border: 1px solid #dae3e6; border-radius: 13px; background: #fff; flex-direction: column; gap: 5px; }
.load-error > div strong { color: #455965; font-size: 12px; }
.load-error > div small { color: #87949c; font-size: 11px; }

.noscript {
  position: fixed;
  z-index: 999;
  inset: 0;
  display: grid;
  padding: 30px;
  color: #fff;
  background: #122633;
  place-items: center;
  text-align: center;
}

.attention-shake {
  animation: attention-shake 420ms ease;
}

.view-enter {
  animation: view-enter 420ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.view-fade {
  animation: fade-in 180ms ease-out both;
}

.view-pop {
  animation: pop-in 240ms cubic-bezier(0.2, 0.85, 0.3, 1.2) both;
}

.view-slide {
  animation: slide-in 220ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.view-toast {
  animation: toast-in 300ms cubic-bezier(0.2, 0.8, 0.3, 1.12) both;
}

@keyframes ambient-drift {
  from { transform: translate3d(-3%, -2%, 0) scale(0.96); }
  to { transform: translate3d(5%, 4%, 0) scale(1.05); }
}

@keyframes loading-bars {
  from { transform: skew(-7deg) scaleY(0.55); opacity: 0.55; }
  to { transform: skew(-7deg) scaleY(1); opacity: 1; }
}

@keyframes logo-reveal {
  from { opacity: 0; transform: translateY(12px); clip-path: inset(0 100% 0 0); }
  to { opacity: 1; transform: translateY(0); clip-path: inset(0); }
}

@keyframes card-rise {
  from { opacity: 0; transform: translateY(24px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes corner-in {
  from { opacity: 0; transform: translate(8px, -8px); }
  to { opacity: 1; transform: translate(0); }
}

@keyframes status-pulse {
  50% { opacity: 0.4; transform: scale(0.75); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-in {
  from { opacity: 0; transform: scale(0.7) rotate(-20deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes pin-drop {
  from { opacity: 0; transform: translate(-50%, -130%) rotate(-45deg) scale(0.5); }
  to { opacity: 1; transform: translate(-50%, -82%) rotate(-45deg) scale(1); }
}

@keyframes pin-pending {
  0%, 100% { box-shadow: 0 5px 16px rgba(7, 71, 78, 0.35), 0 0 0 0 rgba(7, 158, 170, 0.32); }
  50% { box-shadow: 0 5px 16px rgba(7, 71, 78, 0.35), 0 0 0 9px rgba(7, 158, 170, 0); }
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes attention-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

@media (max-width: 1120px) {
  .site-header__inner { width: min(100% - 32px, 1120px); grid-template-columns: 160px 1fr 120px; gap: 18px; }
  .brand-mini__copy { display: none; }
  .brand-mini { width: 70px; }
  .progress-step__copy { display: none; }
  .progress-connector { width: clamp(24px, 5vw, 68px); }
  .welcome__grid { grid-template-columns: minmax(0, 1fr) minmax(370px, 0.72fr); gap: 50px; }
  .survey-page__intro { grid-template-columns: 70px minmax(0, 1fr); }
  .annotation-tip { grid-column: 2; margin-top: -5px; }
  .option-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .welcome { width: min(100% - 40px, 760px); padding-top: 24px; }
  .welcome__grid { min-height: auto; padding: 42px 0; grid-template-columns: 1fr; gap: 46px; }
  .welcome__content { max-width: none; }
  .identity-card { max-width: 620px; margin: 0 auto; }
  .welcome__footer { margin-top: 10px; }
  .survey-page, .review-page { width: min(100% - 32px, 760px); padding-top: 42px; }
  .option-grid, .option-grid--3 { grid-template-columns: 1fr; }
  .comment-card { grid-template-columns: 1fr; gap: 16px; }
  .comment-card__head { padding-right: 0; padding-bottom: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .summary-row { grid-template-columns: 42px minmax(0, 1fr) 120px 64px; }
  .summary-row .text-button { grid-column: 2; justify-self: start; }
  .identity-summary { align-items: flex-start; gap: 24px; }
  .identity-summary__items { gap: 30px; }
  .submit-panel { align-items: flex-start; flex-direction: column; }
  .submit-panel__actions { width: 100%; justify-content: flex-end; }
  .lightbox__header { grid-template-columns: 1fr auto; }
  .lightbox__guide { display: none; }
}

@media (max-width: 720px) {
  .site-header__inner { min-height: 76px; grid-template-columns: 56px 1fr 34px; gap: 12px; }
  .brand-mini { width: 52px; }
  .brand-mini__mark { width: 52px; height: 36px; padding: 6px; }
  .draft-status { justify-content: center; }
  .draft-status span:last-child { display: none; }
  .progress-desktop { display: none; }
  .progress-mobile { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
  .progress-mobile > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .progress-mobile strong { color: var(--primary-dark); font-size: 12px; }
  .progress-mobile span { overflow: hidden; color: #526671; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
  .progress-mobile__bar { width: 100%; height: 3px; overflow: hidden; border-radius: 99px; background: #dfe7e9; }
  .progress-mobile__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--primary)); transition: width 300ms ease; }
  .welcome { width: calc(100% - 32px); }
  .welcome__topbar .secure-note { display: none; }
  .logo-panel { margin-bottom: 32px; }
  .welcome h1 { font-size: clamp(34px, 10vw, 52px); }
  .welcome__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-chip { min-width: 0; padding: 11px; grid-template-columns: 1fr; grid-template-rows: 30px auto auto; justify-items: center; text-align: center; }
  .metric-chip > span { grid-row: auto; }
  .metric-chip strong { margin-top: 4px; font-size: 12px; }
  .metric-chip small { font-size: 10px; }
  .welcome-steps { display: none; }
  .identity-card { padding: 36px 25px 27px; border-radius: 23px; }
  .welcome__footer span:last-child { display: none; }
  .survey-page, .review-page { width: calc(100% - 28px); padding-top: 32px; padding-bottom: 40px; }
  .survey-page__intro { margin-bottom: 24px; grid-template-columns: 1fr; gap: 16px; }
  .module-code { height: auto; flex-direction: row; align-items: center; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .module-code i { flex: 1; margin: 0 14px; background: #dbe4e6; }
  .module-code em { font-size: 30px; }
  .annotation-tip { grid-column: auto; }
  .module-heading h1 { font-size: 34px; }
  .option-card__head { min-height: 138px; padding: 22px 58px 19px 20px; }
  .option-card__media { margin: 0 10px; }
  .preview-open__veil { justify-content: flex-end; align-items: flex-start; padding: 12px; opacity: 1; background: linear-gradient(transparent 60%, rgba(10, 32, 43, 0.62)); }
  .preview-open__veil > span { display: none; }
  .preview-open__veil strong { font-size: 11px; }
  .preview-open__veil small { display: none; }
  .comment-card { padding: 18px; }
  .field input, .field select, .textarea-wrap textarea, .annotation-editor__textarea textarea { font-size: 16px; }
  .button { font-size: 15px; }
  .page-actions .button { min-width: 112px; padding: 0 16px; }
  .review-hero { align-items: flex-start; }
  .review-hero__mark { width: 50px; height: 50px; flex-basis: 50px; border-radius: 15px; }
  .identity-summary { flex-direction: column; }
  .identity-summary__items { width: 100%; justify-content: space-between; }
  .summary-row { padding: 18px; grid-template-columns: 36px minmax(0, 1fr) 62px; gap: 10px; }
  .summary-row__choice { grid-column: 2; }
  .summary-row__annotations { grid-column: 3; grid-row: 1 / 3; }
  .summary-row .text-button { grid-column: 2; }
  .submit-panel__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .submit-panel__actions .button { min-width: 0; padding: 0 12px; }
  .lightbox-backdrop { padding: 0; }
  .lightbox { border: 0; border-radius: 0; grid-template-rows: 66px minmax(0, 1fr) 36px; }
  .lightbox__header { padding: 0 12px 0 15px; gap: 10px; }
  .lightbox__title span { max-width: 150px; }
  .lightbox__title strong { max-width: 160px; }
  .lightbox__tools { gap: 3px; }
  .lightbox__tools button { width: 31px; height: 31px; }
  .lightbox__tools .zoom-value { display: none; }
  .lightbox__tools > i { margin: 0 2px; }
  .lightbox-scroll { padding: 10px; }
  .lightbox-canvas { width: calc(100vw - 20px); }
  .lightbox-nav { position: fixed; top: auto; bottom: 52px; width: 38px; height: 38px; border-radius: 50%; transform: none; }
  .lightbox-nav--prev { left: 14px; }
  .lightbox-nav--next { right: 14px; }
  .annotation-editor { position: fixed; top: auto; right: 10px; bottom: 46px; left: 10px; width: auto; max-height: 64vh; overflow: auto; padding: 16px; border-radius: 17px; }
  .annotation-editor__textarea textarea { min-height: 92px; }
  .lightbox__desktop-hint { display: none; }
}

@media (max-width: 470px) {
  .welcome__grid { padding-top: 34px; }
  .logo-panel { width: 230px; min-height: 74px; padding: 14px 19px; }
  .welcome__eyebrow { font-size: 10px; }
  .welcome h1 { margin-top: 14px; }
  .welcome__intro { font-size: 15px; }
  .identity-card__index { font-size: 31px; }
  .identity-card h2 { font-size: 22px; }
  .annotation-tip { align-items: flex-start; }
  .option-card__index { font-size: 29px; }
  .page-actions__note { display: none; }
  .page-actions { gap: 10px; }
  .page-actions .button { flex: 1; min-width: 0; }
  .identity-summary__items { flex-direction: column; gap: 14px; }
  .summary-row { grid-template-columns: 30px minmax(0, 1fr); }
  .summary-row__annotations { grid-column: 2; grid-row: auto; }
  .submission-ticket { grid-template-columns: 1fr; gap: 12px; }
  .submission-ticket i { width: 100%; height: 1px; }
  .thanks-card { padding: 38px 24px 30px; border-radius: 24px; }
  .thanks-card__logo { width: 155px; }
  .modal-card { padding: 26px 20px; }
  .modal-card__actions { grid-template-columns: 1fr; }
  .annotation-editor__actions { align-items: stretch; flex-direction: column-reverse; }
  .annotation-editor__actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .button-icon-danger { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
