:root {
  --forest: #142019;
  --forest-2: #223b2b;
  --orange: #ee7148;
  --orange-light: #fff1ea;
  --cream: #f7f7f4;
  --paper: #ffffff;
  --ink: #18211b;
  --muted: #667269;
  --line: #e3e7e1;
  --shadow: 0 26px 70px rgba(20, 32, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; word-break: keep-all; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #f4a482; outline-offset: 3px; }

.brand { display: inline-flex; align-items: center; font-weight: 850; white-space: nowrap; }
.brand-avatar { display: block; flex: 0 0 auto; width: 38px; height: 38px; border: 2px solid #e5ebe2; border-radius: 10px; background: #fff; object-fit: cover; object-position: center top; }
.eyebrow { margin: 0; font-weight: 850; text-transform: uppercase; }
.start { overflow: hidden; }
.start-top, .start-footer { display: flex; align-items: center; justify-content: space-between; margin: 0 auto; }
.time-pill { display: inline-flex; align-items: center; padding: 9px 12px; white-space: nowrap; }
.start-grid { display: grid; align-items: center; margin: 0 auto; }
.start-copy { min-width: 0; }
.start-lead { margin: 0; }
.start-note strong { display: block; }
.start-actions, .complete-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.primary, .secondary { border: 0; font-weight: 850; transition: background .2s ease, box-shadow .2s ease; }
.secondary { min-height: 48px; padding: 12px 17px; }
.text-button { padding: 8px 0; border: 0; background: transparent; }
.start-art { position: relative; }
.survey-shell { display: grid; min-height: 100svh; }
.aside { position: sticky; top: 0; display: flex; flex-direction: column; height: 100svh; color: #fff; }
.aside-title h2 { margin: 10px 0 0; line-height: 1.27; letter-spacing: -.055em; }
.aside-kicker { font-weight: 850; letter-spacing: .15em; }
.step-list { display: grid; }
.step-item { display: flex; align-items: center; font-size: 12px; }
.step-item strong { font-weight: 760; }
.step-num { display: inline-grid; flex: 0 0 auto; place-items: center; color: #d8e5d8; font-weight: 850; }
.aside-bottom { margin-top: auto; font-size: 12px; line-height: 1.7; }
.question-area { display: flex; min-width: 0; flex-direction: column; }
.question-header { display: flex; align-items: center; gap: 18px; padding: 12px clamp(20px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.icon-button { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.progress { width: min(260px, 48vw); margin-right: auto; }
.progress-copy { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 750; }
.progress-track { overflow: hidden; width: 100%; border-radius: 10px; }
.progress-fill { height: 100%; border-radius: inherit; transition: width .25s ease; }
.question-stage { max-width: 100%; }
.question-stage h1 { max-width: 750px; line-height: 1.23; }
.question-desc { max-width: 720px; margin: 0; line-height: 1.6; }
.category-title { font-weight: 850; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-card { display: grid; align-items: center; width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; transition: border-color .2s ease, background .2s ease; }
.option-copy { display: block; min-width: 0; }
.option-copy strong, .option-copy small { display: block; }
.option-copy strong { line-height: 1.45; }
.option-copy small { margin-top: 4px; line-height: 1.45; }
.option-order { display: inline-grid; place-items: center; border: 1px solid var(--line); color: #58705e; font-weight: 850; }
.option-card.selected .option-order { color: #fff; }
.field { display: block; margin: 0 0 20px; }
.field span { display: block; margin-bottom: 7px; font-weight: 820; line-height: 1.5; }
.field small { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.field em { margin-left: 5px; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 600; }
.field input, .field textarea { display: block; width: 100%; padding: 15px 16px; border: 1px solid #dce3d9; color: var(--ink); outline: none; }
.field textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-color: #7a9c7d; box-shadow: 0 0 0 3px rgba(103, 151, 106, .13); }
.scene-recap { margin-bottom: 24px; padding: 16px 18px; border-left: 3px solid #df7551; background: #f7f9f5; }
.scene-recap span { color: #66796a; font-size: 11px; font-weight: 850; }
.scene-recap p { margin: 6px 0 0; line-height: 1.6; white-space: pre-wrap; }
.choice-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 26px; }
.choice-main { min-width: 0; }
.choice-priority { position: sticky; top: 22px; min-width: 0; max-height: calc(100svh - 145px); overflow-y: auto; }
.choice-priority.priority-attention .priority-panel { animation: priority-flash .48s ease-in-out 3; }
@keyframes priority-flash {
  0%, 100% { border-color: #c6d8c7; background: #f3f8f2; box-shadow: 0 9px 25px rgba(33, 70, 40, .06); }
  50% { border-color: #ec7446; background: #fff1e9; box-shadow: 0 0 0 5px rgba(236, 116, 70, .18); }
}
@media (prefers-reduced-motion: reduce) {
  .choice-priority.priority-attention .priority-panel { animation: none; border-color: #ec7446; background: #fff1e9; }
}
.custom-field { margin: 0 0 11px; }
.custom-field span { font-size: 19px; }
.custom-field input { min-height: 60px; border-color: #9fb4a1; background: #fff; font-size: 16px; }
.choice-status { margin: 0 0 15px; color: #47714f; font-size: 12px; font-weight: 750; line-height: 1.6; }
.priority-panel { margin: 0; padding: 19px; border: 1px solid #c6d8c7; border-radius: 10px; background: #f3f8f2; box-shadow: 0 9px 25px rgba(33, 70, 40, .06); }
.priority-panel h2 { margin: 0 0 5px; color: #25472c; font-size: 15px; }
.priority-panel p { margin: 0 0 14px; color: #6a796d; font-size: 12px; line-height: 1.5; }
.priority-panel .choice-status { margin-bottom: 15px; color: #47714f; line-height: 1.6; }
.priority-panel .priority-empty { margin: 10px 0 0; padding: 14px; border: 1px dashed #bed2c0; border-radius: 8px; background: #fff; }
.priority-options { display: grid; gap: 7px; }
.priority-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #dfe7dc; border-radius: 8px; background: #fff; color: #334b38; text-align: left; }
.priority-option:hover { border-color: #8faf91; }
.priority-option.active { border-color: #5d9567; background: #edf6ed; }
.priority-option span { min-width: 0; font-size: 13px; font-weight: 750; line-height: 1.45; }
.priority-option strong { flex: 0 0 auto; color: #3f7c49; font-size: 11px; }
.examples-guide { margin: 5px 0 22px; padding: 13px 16px; border-radius: 8px; background: #f4f7f2; color: #4a604e; font-size: 13px; line-height: 1.6; }
.examples-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 18px 0 20px; padding: 16px 18px; border: 1px solid #dce4d9; border-radius: 9px; background: #f8faf7; color: #2e4834; text-align: left; }
.examples-toggle:hover { border-color: #8ea890; background: #f3f7f1; }
.examples-toggle strong, .examples-toggle small { display: block; }
.examples-toggle strong { font-size: 14px; }
.examples-toggle small { margin-top: 3px; color: #758476; font-size: 11px; line-height: 1.45; }
.examples-toggle > span:last-child { flex: 0 0 auto; font-size: 20px; line-height: 1; }
.question-footer {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 245px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0;
  padding: 14px max(38px, calc((100vw - 245px - 960px) / 2)) calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 30px rgba(20, 32, 25, .06);
  backdrop-filter: blur(12px);
}
.hint { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.question-actions { display: flex; align-items: center; gap: 10px; }
.error { min-height: 20px; margin: 17px 0 0; color: #bb452d; font-size: 12px; font-weight: 750; }
.review-shell { min-height: 100svh; }
.review-top { padding: 18px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.review-top-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; }
.review-main { margin: 0 auto; padding: 62px 20px 80px; }
.review-main h1 { margin: 14px 0 12px; font-size: clamp(32px, 4vw, 49px); }
.review-lead { margin: 0 0 32px; color: var(--muted); font-size: 14px; }
.review-list { display: grid; }
.review-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: start; gap: 18px; width: 100%; padding: 19px 21px; border: 1px solid var(--line); background: #fff; text-align: left; }
.review-num { font-size: 12px; font-weight: 850; }
.review-copy { min-width: 0; }
.review-copy strong, .review-copy small { display: block; }
.review-copy strong { margin-bottom: 7px; font-size: 14px; }
.review-copy small { color: #617064; font-size: 12px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-edit { font-size: 12px; font-weight: 800; }
.review-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 22px; padding: 23px; }
.review-bottom strong { font-size: 15px; }
.review-bottom p { max-width: 560px; margin: 8px 0 0; color: #536656; font-size: 12px; line-height: 1.55; }
.review-bottom .actions { display: flex; flex-wrap: wrap; gap: 15px; }
.complete-shell { display: grid; min-height: 100svh; place-items: center; padding: 20px; }
.complete-card { width: min(100%, 570px); padding: clamp(32px, 6vw, 64px); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.complete-mark { display: inline-grid; width: 52px; height: 52px; place-items: center; background: #e8f2e8; color: #32723e; font-size: 24px; font-weight: 850; }
.complete-card h1 { margin: 11px 0; font-size: clamp(29px, 4vw, 43px); letter-spacing: -.065em; }
.complete-card p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.complete-actions { margin-top: 28px; }

body {
  background: var(--cream);
  color: var(--ink);
  letter-spacing: -.03em;
}

.brand {
  gap: 10px;
  font-size: 13px;
  letter-spacing: -.025em;
}

.eyebrow {
  color: #d75d37;
  font-size: 11px;
  letter-spacing: .16em;
}

.start {
  min-height: 100svh;
  padding: 26px clamp(25px, 5vw, 78px) 28px;
  background: #f8f8f5;
}

.start:before { display: none; }

.start-top {
  max-width: 1380px;
  padding-bottom: 21px;
  border-bottom: 1px solid #dde2db;
}

.time-pill {
  border: 1px solid #dbe1d8;
  border-radius: 6px;
  background: #fff;
  color: #607064;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.start-grid {
  max-width: 1380px;
  min-height: calc(100svh - 161px);
  grid-template-columns: minmax(0, 1fr) minmax(370px, .9fr);
  gap: clamp(50px, 7vw, 115px);
}

.start-copy { padding: 72px 0; }

.start-copy h1 {
  margin: 25px 0 25px;
  font-size: clamp(57px, 6.5vw, 101px);
  line-height: 1.08;
  letter-spacing: -.085em;
  font-weight: 850;
}

.start-copy h1 span {
  color: #d96540;
  box-shadow: none;
}

.start-lead {
  max-width: 540px;
  color: #526058;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.7;
}

.start-note {
  max-width: 530px;
  margin-top: 29px;
  padding: 0 0 0 18px;
  border-left: 2px solid #e17a54;
  background: transparent;
  color: #69776c;
  font-size: 13px;
  line-height: 1.55;
}

.start-note strong {
  margin-bottom: 5px;
  color: #26322a;
  font-size: 13px;
}

.start-actions { margin-top: 39px; }

.primary,
.secondary {
  border-radius: 9px;
  box-shadow: none;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  min-height: 55px;
  padding: 14px 19px;
  background: #192b1f;
  color: #fff;
}

.primary:hover:not(:disabled) {
  background: #2d4a35;
  box-shadow: 0 10px 24px rgba(22, 45, 28, .14);
}

.secondary {
  background: #e9eee7;
  color: #28412e;
}

.secondary:hover { background: #dbe6d9; }

.text-button {
  color: #69766c;
  font-size: 12px;
  font-weight: 800;
}

.start-art {
  width: 100%;
  height: min(580px, 48vw);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
  overflow: hidden;
  padding: 22px clamp(24px, 2.4vw, 38px) 27px;
  border: 1px solid #213329;
  border-radius: 17px;
  background: #17261c;
  color: #fff;
  box-shadow: 18px 22px 0 #e1e8dd, 0 35px 65px rgba(21, 43, 27, .16);
  transform: rotate(1.5deg);
}

.start-art:before { display: none; }

.preview-top,
.preview-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #a9bea9;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
}

.preview-top { padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.16); }
.preview-top span:last-child { color: #ff9c75; letter-spacing: .25em; }

.preview-feature { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 0; }
.preview-feature > div { min-width: 0; }
.preview-feature-label { display: block; margin-bottom: 15px; color: #ff9c75; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.preview-roro { flex: 0 0 auto; width: clamp(105px, 11vw, 154px); height: clamp(105px, 11vw, 154px); border: 3px solid #f4f7f0; border-radius: 24px; background: #fff; object-fit: cover; object-position: center top; transform: rotate(5deg); box-shadow: 0 17px 30px rgba(0, 0, 0, .2); }

.preview-heading {
  margin: 0;
  font-size: clamp(27px, 2.8vw, 43px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.07em;
}

.preview-row {
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  border-top: 1px solid rgba(255,255,255,.17);
}

.preview-row span,
.preview-row b {
  color: #90aa94;
  font-size: 11px;
  font-weight: 800;
}

.preview-row strong { font-size: clamp(12px, 1.05vw, 15px); font-weight: 680; }

.preview-bottom {
  align-items: center;
  margin-top: 10px;
  padding-top: 19px;
  border-top: 1px solid rgba(255,255,255,.17);
  letter-spacing: 0;
}

.preview-bottom span:last-child { color: #ff9c75; font-size: 19px; }

.start-footer {
  max-width: 1380px;
  gap: 28px;
  padding-top: 17px;
  border-top: 1px solid #dde2db;
  color: #647266;
  font-size: 11px;
}

.start-footer strong { color: #da6740; font-size: 17px; }

.survey-shell { grid-template-columns: 245px minmax(0, 1fr); background: #fff; }

.aside {
  min-height: 640px;
  padding: 27px 22px;
  background: #17251b;
}

.aside .brand-avatar { border-color: #f1f4ec; }
.aside-title { margin-top: 68px; }
.aside-kicker { color: #f6a684; font-size: 10px; }
.aside-title h2 { font-size: 27px; }
.step-list { margin-top: 53px; gap: 4px; }

.step-item {
  gap: 11px;
  padding: 12px 9px;
  border-left: 2px solid transparent;
  border-radius: 0;
  opacity: .58;
}

.step-item.current {
  border-left-color: #f48f67;
  background: rgba(255,255,255,.055);
}

.step-num {
  width: 23px;
  height: 23px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.11);
}

.step-item.current .step-num { background: #f48f67; color: #17251b; }
.step-item.done .step-num { background: rgba(149,188,150,.2); }
.aside-bottom { color: #95a79a; }

.question-header { min-height: 76px; border-bottom-color: #e8ebe6; }

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 16px;
}

.progress-track { height: 4px; background: #e9ede6; }
.progress-fill { background: #e67850; }

.question-stage {
  width: min(960px, calc(100% - 76px));
  margin: 0 auto;
  padding: 54px 0 140px;
}

.question-stage h1 {
  margin: 14px 0;
  font-size: clamp(34px, 3.5vw, 49px);
  letter-spacing: -.07em;
}

.question-desc { color: #66756a; font-size: 14px; }
.question-body { margin-top: 31px; }

.category-title {
  margin: 29px 0 10px;
  color: #536d59;
  font-size: 11px;
  letter-spacing: .1em;
}

.category-title:first-child { margin-top: 0; }
.option-grid { gap: 8px; }

.option-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 73px;
  padding: 13px 17px;
  border-color: #e3e7e0;
  border-radius: 9px;
  box-shadow: none;
}

.option-card:hover {
  transform: none;
  border-color: #7d9e80;
  background: #f9fcf8;
  box-shadow: none;
}

.option-card.selected {
  border: 1px solid #d86740;
  background: #fff3ec;
  box-shadow: inset 3px 0 0 #df6a43;
}

.option-icon { display: none; }
.option-copy strong { font-size: 14px; font-weight: 770; }
.option-copy small { color: #79887c; font-size: 11px; }

.option-order {
  min-width: 27px;
  height: 27px;
  padding: 0 5px;
  border-color: #dce3da;
  border-radius: 7px;
  font-size: 10px;
}

.option-card.selected .option-order {
  width: auto;
  padding: 0 6px;
  border-color: #d86740;
  background: #e67b52;
}

.field span { font-size: 14px; }

.field input,
.field textarea {
  border-radius: 9px;
  background: #fcfdfb;
}

.field input:focus,
.field textarea:focus { background: #fff; }
.question-footer { border-top-color: #e8ebe6; }

.review-shell { background: #f8f9f6; }
.review-top { background: #fff; }
.review-main { max-width: 920px; }
.review-main h1 { letter-spacing: -.075em; }
.review-list { gap: 7px; }

.review-row {
  border-radius: 9px;
  box-shadow: none;
}

.review-row:hover { background: #fbfdf9; }
.review-num { color: #c56645; }
.review-edit { color: #496b4e; }

.review-bottom {
  border-radius: 10px;
  background: #eef4ec;
}

.consent-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: #263b2a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.consent-row input { width: 16px; height: 16px; accent-color: #306a3d; }
.review-bottom .actions { align-items: center; }
.review-bottom .text-button { white-space: nowrap; }

.complete-shell { background: #f7f8f5; }
.complete-card { border-radius: 16px; }
.complete-mark { border-radius: 11px; }
.response-id { display: block; margin-top: 18px; color: #7c887e; font-size: 11px; font-weight: 800; }

@media (max-width: 1030px) {
  .start-grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .83fr); gap: 38px; }
  .start-copy h1 { font-size: clamp(52px, 6vw, 72px); }
  .start-art { min-height: 450px; }
  .preview-heading { font-size: 33px; }
}

@media (max-width: 1120px) {
  .choice-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  .choice-main .option-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .choice-layout { grid-template-columns: minmax(0, 1fr); }
  .choice-priority { position: static; max-height: none; overflow: visible; }
}

@media (max-width: 760px) {
  .start { padding: 19px 20px 27px; }
  .start-top { padding-bottom: 15px; }
  .start-grid { display: block; min-height: auto; }
  .start-copy { padding: 58px 0 28px; }
  .start-copy h1 { font-size: clamp(43px, 10vw, 63px); }
  .start-art { height: 420px; min-height: 0; margin: 22px 8px 35px 0; transform: rotate(1deg); }
  .preview-roro { width: 112px; height: 112px; }
  .preview-row { min-height: 51px; }
  .preview-heading { font-size: 34px; }
  .start-footer { padding-top: 14px; }
  .survey-shell { display: block; }
  .aside { position: static; height: auto; min-height: 0; padding: 15px 20px; }
  .aside-title,
  .step-list,
  .aside-bottom { display: none; }
  .question-stage { width: calc(100% - 38px); padding: 39px 0 170px; }
  .option-grid { grid-template-columns: 1fr; }
  .question-header { min-height: 67px; }
  .question-footer {
    left: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding: 12px 19px calc(12px + env(safe-area-inset-bottom));
  }
  .question-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .question-actions .primary, .question-actions .secondary { width: 100%; }
  .review-bottom { flex-direction: column; }
  .review-bottom .actions { justify-content: flex-start; }
}

@media (max-width: 410px) {
  .start-top .time-pill { display: none; }
  .start-copy h1 { font-size: 42px; }
  .start-art { height: 390px; padding: 19px 20px; }
  .preview-roro { width: 95px; height: 95px; border-radius: 18px; }
  .preview-feature-label { margin-bottom: 10px; }
  .preview-heading { font-size: 29px; }
  .preview-row strong { font-size: 11px; }
  .start-footer { gap: 11px; }
  .start-footer span:last-child { display: none; }
  .review-row { grid-template-columns: 27px minmax(0,1fr) auto; padding: 14px 13px; }
}
