@charset "UTF-8";
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #4b9fff; outline-offset: 4px; }
.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; }
.invitation-body { background: #140503; }
.invitation { width: 100%; max-width: 800px; margin: 0 auto; position: relative; }
.image-stage { position: relative; width: 100%; }
.page-image { display: block; width: 100%; height: auto; border: 0; }
/* 입력·클릭 위치 = 원본 x/1080, y/2200, w/1080, h/2200 × 100. */
.employee-input { position: absolute; left: 10.277778%; top: 45.5%; width: 79.444444%; height: 5.954545%; margin: 0; border: 0; border-radius: 5px; padding: 0 3%; background: #fff; color: #29201c; font-size: clamp(16px, 4.15vw, 34px); text-align: center; -webkit-appearance: none; appearance: none; }
.employee-input::placeholder { color: #898989; opacity: 1; }
.login-button { position: absolute; left: 10.277778%; top: 52.863636%; width: 79.444444%; height: 5.954545%; border: 0; border-radius: 4px; padding: 0; background: transparent; }
.login-button:active, .image-link:active { background: rgba(255,255,255,.12); }
.login-button:disabled { background: rgba(40,0,0,.25); cursor: wait; }
.login-error { position: absolute; top: 60%; left: 10.277778%; width: 79.444444%; color: #fff0d5; font-size: clamp(13px, 3.5vw, 23px); line-height: 1.55; text-align: center; margin: 0; text-shadow: 0 1px 6px #320000; }
.image-link { position: absolute; display: block; }
/* 메인 메뉴 원본: x=190, w=700, h=120 / y=1265,1415,1565 */
.menu-link { left: 17.592593%; width: 64.814815%; height: 5.454545%; border-radius: 999px; }
.menu-link-01 { top: 57.5%; }
.menu-link-02 { top: 64.318182%; }
.menu-link-03 { top: 71.136364%; }
.page-home { position: absolute; top: 1.5%; left: 4%; min-width: 76px; min-height: 44px; padding: 11px 14px; font-size: 15px; font-weight: 600; text-decoration: none; color: #fff2d7; background: rgba(23,7,3,.68); border: 1px solid rgba(255,229,171,.5); border-radius: 5px; display: flex; align-items: center; gap: 8px; }
.detail-navigation { display: flex; background: #240903; color: #f6dbac; border-top: 1px solid #634424; padding-bottom: env(safe-area-inset-bottom); }
.detail-navigation a { flex: 1; text-align: center; padding: 18px 5px; text-decoration: none; font-size: 15px; }
.detail-navigation a[aria-current="page"] { background: #6f2012; color: #fff; }
.logout-form { text-align: center; background: #140503; padding: 12px 10px calc(20px + env(safe-area-inset-bottom)); }
.logout-form button { background: none; border: 0; color: #d7c1ae; min-height: 44px; text-decoration: underline; font-size: 14px; }
.success-toast { position: fixed; z-index: 10; top: calc(14px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); background: #fff7e7; color: #56220a; font-size: 15px; padding: 15px 18px; margin: 0; box-shadow: 0 5px 25px #0005; border-radius: 6px; }
.survey-body { background: #190704; color: #31251c; }
.survey-page { max-width: 800px; min-height: 100vh; margin: auto; padding: 16px 20px 25px; background: radial-gradient(ellipse at 50% -20%, #ce9f4d55, transparent 60%), linear-gradient(150deg, #390906, #190704 52%, #69170c); }
/* 상단 3줄을 붙이고 위쪽 여백을 줄여 설문 시작 위치를 올립니다. */
.survey-header { display: flex; flex-direction: column; gap: 4px; text-align: center; color: #ffe6b3; padding: 0 0 16px; }
.survey-header .eyebrow { margin: 0; line-height: 1.2; }
.eyebrow { font-size: 12px; letter-spacing: .15em; margin: 0 0 12px; font-weight: 600; }
.survey-brand { font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 13vw, 76px); font-style: italic; line-height: 1; margin: 0; color: #ffeac0; text-shadow: 0 3px 15px #ff961c66; }
.survey-header > p:last-child { margin: 0; font-size: 15px; line-height: 1.2; letter-spacing: .04em; }
.survey-card { background: #fffaf0; padding: 30px 24px; border: 1px solid #dec189; box-shadow: 0 8px 40px #0004; }
.eyebrow.dark { color: #8b5f29; font-size: 11px; }
.survey-card h1 { font-size: 27px; letter-spacing: -.05em; margin: 0 0 12px; color: #5e1a10; }
.survey-intro { font-size: 14px; color: #77685a; line-height: 1.8; margin: 0 0 32px; word-break: keep-all; }
.question { padding: 0; margin: 0 0 32px; border: 0; min-width: 0; }
.question legend, .question-long > label { font-size: 19px; font-weight: 700; line-height: 1.6; display: block; width: 100%; padding: 0; word-break: keep-all; }
.question-number { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; color: #9d3921; margin-bottom: 10px; }
.answer-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.answer-option { display: flex; align-items: center; gap: 8px; border: 1px solid #dfd2bc; padding: 15px 10px; background: #fffdf9; cursor: pointer; min-height: 56px; }
.answer-option input { margin: 0; width: 18px; height: 18px; accent-color: #8f2517; flex-shrink: 0; }
.answer-option span { font-size: 16px; }
.answer-option b { font-weight: 500; color: #a38a67; margin-right: 4px; }
.answer-option input:checked + span { color: #912415; font-weight: 700; }
.question-long { border-top: 1px solid #e6dcc9; padding-top: 27px; margin-bottom: 24px; }
.question textarea { display: block; width: 100%; min-height: 170px; margin-top: 18px; padding: 16px; resize: vertical; border: 1px solid #d8c8ad; border-radius: 0; background: #fff; color: #31251c; font-size: 16px; line-height: 1.7; }
.question textarea::placeholder { color: #9a938a; }
.character-count { font-size: 12px; color: #8a7f6e; margin: 8px 0 0; text-align: right; }
.survey-submit { width: 100%; min-height: 56px; padding: 15px; border: 1px solid #a48343; background: linear-gradient(110deg, #ffedc9, #e7bc73); color: #4d1d10; font-size: 17px; font-weight: 700; }
.survey-submit span { margin-left: 12px; }
.survey-submit:disabled { opacity: .65; cursor: wait; }
.submit-note { text-align: center; color: #887b6a; font-size: 12px; margin: 14px 0 0; }
.form-error { background: #ffe8e0; border: 1px solid #dfb6a8; padding: 12px; color: #972b19; font-size: 14px; line-height: 1.6; }
.survey-footer { color: #ffdf9c; text-align: center; font-size: 12px; padding: 32px 0 8px; }
.survey-footer strong { font-size: 23px; letter-spacing: -.04em; }
@media (min-width: 600px) {
	.survey-page { padding: 20px 52px 32px; }
	.survey-card { padding: 40px; }
	.survey-intro { font-size: 16px; }
	.question legend, .question-long > label { font-size: 22px; }
	.answer-option { padding: 18px; }
}
@media (max-width: 359px) {
	.survey-page { padding: 12px 12px 20px; }
	.survey-card { padding: 26px 18px; }
	.question legend, .question-long > label { font-size: 18px; }
	.answer-option { padding: 13px 8px; gap: 6px; }
	.answer-option span { font-size: 15px; }
}
