@import url('/static/uds-semantic.css');
@import url('/static/admin.css');
:root{font-family:Pretendard,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#1a1a1a;background:#f5f5f7;--ink:#1a1a1a;--muted:#55555e;--line:#d8d8df;--accent:#c60764;--tint:#fff1f7}*{box-sizing:border-box}body{margin:0}p{line-height:1.5}button,input{font:inherit}button,a,label{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit;text-underline-offset:4px}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible+span{outline:3px solid #205bc5;outline-offset:3px}.primary{border:0;border-radius:12px;background:var(--accent);color:white;font-size:24px;font-weight:800;min-height:60px;padding:12px 24px;cursor:pointer}.primary:disabled{background:#e4e4e9;color:#666670}.primary:active:not(:disabled){background:#a20552}.secondary{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 16px;min-height:44px;font-weight:600}.note{font-size:13px;color:var(--muted)}.brand{font-weight:800;letter-spacing:-.04em}.eyebrow{color:var(--accent);font-size:13px;font-weight:700}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* 내용을 잘라 숨기지 않고, 보이는 화면 안에 질문과 완료 버튼을 배치합니다. */
.survey-page{height:100dvh}.survey-shell{width:calc(100% - 40px);max-width:1400px;height:calc(100dvh - 32px);margin:16px auto;padding:22px 28px;background:#fff;border:1px solid #e1e1e6;border-radius:20px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:14px;min-height:0}.brand-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e4e4ea}.brand{font-size:20px}.store{font-size:14px;color:#55555e}.intro h1{font-size:clamp(26px,3.4vw,34px);line-height:1.25;letter-spacing:-.045em;margin:0 0 6px;word-break:keep-all}.intro p{margin:0;color:#55555e;font-size:15px}.instruction-row{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#f4f4f6;border-radius:10px;padding:12px 16px}.instruction-row p{margin:0;font-size:18px;font-weight:700;word-break:keep-all}.instruction-row strong{font-size:15px;color:var(--accent);white-space:nowrap}.survey-page #survey{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:14px}.question-list{display:grid;grid-template-rows:1.22fr 1fr 1.1fr;gap:12px;min-height:0}.question-card{margin:0;padding:16px 18px;border:2px solid #dcdce3;border-radius:14px;min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:center;gap:10px;background:#fff}.question-heading{display:flex;gap:12px;align-items:flex-start}.question-number{flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#26262d;color:white;font-size:21px;font-weight:800}.question-heading h2{font-size:22px;line-height:1.4;letter-spacing:-.035em;word-break:keep-all;margin:0;font-weight:800}.answer-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:#55555e}.answer-hint>span{font-weight:700}.answer-state{font-weight:500}.question-card.answered{border-color:#b4b4bf}.answered .answer-state{color:#9a064e;font-weight:700}.choices{display:grid;gap:10px;min-height:0}.carriers{grid-template-columns:repeat(6,minmax(0,1fr))}.carriers label{grid-column:span 2}.carriers label:nth-child(n+4){grid-column:span 3}.binary{grid-template-columns:repeat(2,minmax(0,1fr))}.choices label{position:relative;min-width:0;cursor:pointer}.choices input{position:absolute;opacity:0;width:1px;height:1px}.choices label>span{display:flex;justify-content:center;align-items:center;gap:12px;min-height:62px;border:2px solid #b9b9c4;border-radius:10px;background:#fff;color:#202027;padding:8px 10px;transition:background .12s,border-color .12s}.choices b{font-size:24px;line-height:1.2;font-weight:700;word-break:keep-all}.choice-indicator{width:24px;height:24px;border:2px solid #8a8a98;border-radius:50%;display:block;position:relative;flex:none;background:white}.choices input:checked+span{border-color:var(--accent);background:var(--tint);color:#a90555}.choices input:checked+span .choice-indicator{border:7px solid var(--accent)}.choices input:disabled+span{cursor:default}.completion-area{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:18px}.status{font-size:17px;line-height:1.45;margin:0;color:#464650;word-break:keep-all}.status.error{color:#ad1c15;font-weight:700}.completion-area .primary{min-height:64px;font-size:28px;width:100%}.survey-page footer{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid #e4e4ea;padding-top:10px;font-size:11px;color:#62626b}.survey-page footer p{margin:0;line-height:1.5}.survey-page footer a{white-space:nowrap}.success{grid-row:4;text-align:center;align-self:center;padding:20px}.success-mark{display:inline-block;border-radius:100px;background:#edf8f1;color:#146c3d;padding:10px 20px;font-size:18px;font-weight:700}.success h2{font-size:30px;margin:24px 0 12px;word-break:keep-all}.success p{font-size:20px;color:#55555e}.success .primary{margin-top:12px}
@media(orientation:landscape) and (min-width:900px){.survey-shell{padding:22px 28px;gap:14px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.intro h1{font-size:30px;max-width:65%;margin:0}.intro p{font-size:13px;max-width:36%}.question-list{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr;gap:14px}.question-card{justify-content:flex-start;padding:20px 16px;gap:14px}.question-heading{min-height:126px}.question-heading h2{font-size:24px;line-height:1.5}.answer-hint{font-size:13px}.answer-hint .answer-state{max-width:65%;text-align:right}.choices{margin-top:auto}.choices label>span{min-height:76px}.choices b{font-size:23px}.choice-indicator{width:22px;height:22px}.carriers{gap:8px}.carriers label>span{gap:5px;padding:8px 5px}.carriers b{font-size:22px}.carriers .choice-indicator{width:18px;height:18px}.carriers input:checked+span .choice-indicator{border-width:5px}.binary{grid-template-columns:1fr;gap:8px}.completion-area{grid-template-columns:minmax(0,1fr) 280px}.completion-area .primary{min-height:68px;font-size:30px}}
@media(orientation:landscape) and (min-width:900px) and (max-height:720px){.survey-shell{margin:10px auto;height:calc(100dvh - 20px);padding:16px 22px;gap:10px}.brand-row{padding-bottom:8px}.intro h1{font-size:26px}.intro p{font-size:12px}.instruction-row{padding:9px 12px}.instruction-row p{font-size:17px}.question-card{padding:14px 12px;gap:10px}.question-heading{min-height:112px;gap:8px}.question-heading h2{font-size:21px;line-height:1.45}.question-number{width:29px;height:29px;font-size:19px}.choices label>span{min-height:62px}.choices b{font-size:22px}.answer-hint .answer-state{font-size:12px}.completion-area .primary{min-height:58px;font-size:27px}.status{font-size:16px}.survey-page footer{padding-top:8px}}
@media(orientation:portrait) and (min-width:650px){.survey-shell{max-width:860px}.question-card{padding:12px 18px;gap:8px}.question-heading h2{font-size:22px}.choices label>span{min-height:58px}.choices b{font-size:24px}}
@media(max-width:649px){.survey-shell{width:100%;height:100dvh;margin:0;border:0;border-radius:0;padding:12px;gap:8px}.brand-row{padding-bottom:6px}.brand{font-size:15px}.store{font-size:11px}.intro h1{font-size:21px;margin-bottom:3px}.intro p{font-size:11px}.instruction-row{padding:8px 10px;gap:8px}.instruction-row p{font-size:13px}.instruction-row strong{font-size:11px}.question-list{gap:8px;grid-template-rows:1.25fr 1fr 1.15fr}.question-card{padding:8px 10px;gap:6px;border-radius:10px}.question-number{width:24px;height:24px;font-size:16px}.question-heading{gap:8px}.question-heading h2{font-size:16px;line-height:1.4}.answer-hint{font-size:11px}.answer-state{display:none}.choices{gap:6px}.choices label>span{min-height:42px;padding:6px;gap:8px}.choices b{font-size:18px}.choice-indicator{width:18px;height:18px}.choices input:checked+span .choice-indicator{border-width:5px}.completion-area{grid-template-columns:1fr 100px;gap:10px}.completion-area .primary{min-height:48px;font-size:23px}.status{font-size:12px}.survey-page footer{padding-top:6px;font-size:9px}.survey-page footer p span{display:none}.survey-page #survey{gap:8px}.success h2{font-size:24px}.success p{font-size:16px}}
@media(max-height:650px) and (max-width:649px){.survey-shell{padding:8px;gap:5px}.brand-row{padding-bottom:4px}.intro h1{font-size:18px}.intro p{font-size:10px}.instruction-row{padding:5px 8px}.instruction-row p{font-size:11px}.question-card{padding:6px 8px;gap:4px}.question-heading h2{font-size:14px}.question-number{width:21px;height:21px;font-size:14px}.answer-hint{display:none}.choices label>span{min-height:36px}.choices b{font-size:16px}.question-list{gap:5px}.completion-area .primary{min-height:42px}.status{font-size:11px}.survey-page #survey{gap:5px}.survey-page footer{font-size:8px;padding-top:4px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
@media(orientation:portrait){.question-list{grid-template-rows:auto auto auto}}
@media(orientation:portrait) and (min-width:650px) and (max-height:1050px){.survey-shell{padding:16px 22px;gap:10px}.brand-row{padding-bottom:8px}.intro h1{font-size:28px}.intro p{font-size:13px}.instruction-row{padding:9px 12px}.instruction-row p{font-size:16px}.question-card{padding:10px 14px;gap:6px}.question-heading h2{font-size:21px}.choices label>span{min-height:52px}.question-list{gap:10px}.answer-hint{font-size:13px}.completion-area .primary{min-height:54px;font-size:26px}.status{font-size:15px}.survey-page #survey{gap:10px}.survey-page footer p span{display:none}}
@media(orientation:landscape) and (min-width:900px){.carriers label>span{flex-direction:column;gap:6px}}
.survey-page{display:flow-root}
.intro p{word-break:keep-all}
@media(orientation:landscape) and (min-width:900px){.answer-hint{margin-top:auto}.choices{margin-top:0}}

/* 강조 문구는 크기·굵기를 바꾸지 않아 기존 화면 배치를 유지합니다. */
.question-heading .question-highlight{color:var(--accent);font-size:inherit;font-weight:inherit}
