/* GKS 등록 신청서 — 디자인 시안 v9(2026-10-31) 의 스타일 그대로 · teacher.html·student.html 공용 */
:root{--bg:#e7f2e4;--blue:#01487f;--pale:#82aaba;--line:#8aafbc;--soft:#d9e8e0;--sans:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif}
*{box-sizing:border-box;margin:0;padding:0}html{background:var(--bg);color-scheme:light}body{background:var(--bg);color:var(--blue);font:18px/1.6 var(--sans);word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.35}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:4px}[hidden]{display:none!important}::selection{background:#01487f20}
.progress{position:fixed;inset:0 0 auto;height:3px;background:var(--line);z-index:6}.progress i{display:block;height:100%;width:0;background:var(--blue);transition:width .6s cubic-bezier(.16,1,.3,1)}header{position:absolute;top:0;left:0;right:0;padding:28px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;z-index:2}.brand{font-size:25px;font-weight:780;letter-spacing:-.07em;text-decoration:none;line-height:1.2}.language{display:flex;gap:17px}.language button{background:none;border:0;min-height:44px;font-size:11px;opacity:.55}.language button[aria-pressed=true]{opacity:1;font-weight:650}main{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:125px 48px 100px}#stage{width:min(100%,720px);min-width:0}.scene{min-width:0;will-change:opacity,transform}.question{display:flex;align-items:flex-start;gap:12px;margin-left:-32px;margin-bottom:34px}.number{display:grid;place-items:center;min-width:20px;height:22px;border-radius:4px;background:var(--blue);color:var(--bg);font-size:12px;font-weight:650;margin-top:8px}.question h1{font-size:30px;line-height:1.5;font-weight:420;letter-spacing:-.025em;outline:none}.optional{font-size:12px;font-weight:400;color:#507e94;margin-left:10px;white-space:nowrap}.answer{min-width:0}.text-input,.text-area{display:block;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:8px 0 10px;background:none;outline:none;width:100%;min-width:0;font-size:30px;line-height:1.6;font-weight:400}.text-input::placeholder,.text-area::placeholder{color:var(--pale);opacity:1}.text-input:focus,.text-area:focus{border-color:var(--blue);box-shadow:0 1px 0 var(--blue)}.text-area{min-height:100px;height:100px;resize:vertical}.short-input{max-width:250px}.micro{font-size:12px;line-height:1.8;margin-top:12px;color:#507e94}.actions{display:flex;align-items:center;gap:22px;margin-top:30px}.ok{min-height:48px;min-width:80px;display:inline-flex;align-items:center;justify-content:center;padding:10px 23px;border-radius:28px;background:var(--blue);color:var(--bg);border:0;font-size:18px;line-height:1.5;font-weight:600}.skip{min-height:48px;border:0;background:none;font-size:13px;line-height:1.6;color:#507e94;padding:8px 0}.error{font-size:13px;line-height:1.8;margin-top:13px;font-weight:550}.error:empty{display:none}
.choices{display:grid;gap:8px;width:min(100%,420px)}.choice{position:relative;display:block;cursor:pointer;min-width:0}.choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.option{display:flex;align-items:center;gap:11px;min-height:49px;background:var(--soft);border:1px solid #c9ded7;border-radius:28px;padding:9px 14px;line-height:1.55;font-size:18px}.key{display:grid;place-items:center;flex:none;width:24px;height:24px;font-size:11px;font-weight:650;border-radius:50%;border:1px solid #a8c9cb;background:#e7f2e480}.choice input:checked+.option{background:var(--bg);border:2px solid var(--blue);padding:8px 13px}.choice input:checked+.option .key{background:var(--blue);border-color:var(--blue);color:var(--bg)}.choice input:focus-visible+.option{outline:2px solid var(--blue);outline-offset:4px}.days{grid-template-columns:repeat(7,minmax(0,1fr));width:min(100%,490px);gap:7px}.days .option{padding:9px 0;justify-content:center;font-size:16px}.days .key{display:none}.days .choice input:checked+.option{padding:8px 0;background:var(--blue);color:var(--bg)}
.picker{position:relative;min-width:0}.picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:15px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:8px 0 10px;min-height:65px;width:100%;text-align:left;font-size:28px;line-height:1.6}.empty{color:var(--pale)}.chevron{font-size:22px;color:#6b99ab;line-height:1}.picker-menu{position:absolute;top:100%;left:0;z-index:5;width:100%;min-width:0;margin-top:7px;padding:13px;background:var(--bg);border:1px solid #c8dfd1;border-radius:18px;box-shadow:0 5px 22px #01487f0b}.picker-search{width:100%;min-height:49px;padding:5px 10px 10px;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;outline:none;font-size:21px}.picker-search::placeholder{color:var(--pale)}.picker-options{max-height:220px;overflow-y:auto;overscroll-behavior:contain;padding:10px 3px 1px;display:grid;gap:7px;scrollbar-width:thin;scrollbar-color:#82aaba transparent}.pick-option{display:flex;align-items:center;width:100%;min-height:46px;padding:9px 14px;border:1px solid #c9ded7;border-radius:25px;background:var(--soft);font-size:17px;text-align:left;line-height:1.5}.pick-option[aria-selected=true]{border:2px solid var(--blue);background:var(--bg);padding:8px 13px}.phone-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px}.phone-row .picker-trigger{font-size:19px;min-height:65px;white-space:nowrap}.phone-row .picker-menu{width:min(360px,calc(100vw - 68px))}.phone-row .text-input{align-self:end}.dial-other{max-width:180px;margin-top:14px}.year-picker{max-width:270px}.time-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;width:min(100%,460px)}.time-row label{font-size:14px;line-height:1.6}.time-row .text-input{font-size:26px;margin-top:7px}.review{border-top:1px solid #01487f25}.review>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;border-bottom:1px solid #01487f25;padding:12px 0;line-height:1.8}.review dt{font-size:13px;color:#507e94}.review dd{font-size:16px;white-space:pre-wrap;min-width:0}.review button{border:0;background:none;font-size:11px;min-height:30px;color:#507e94;text-decoration:underline}.confirm{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.8;margin-top:24px;cursor:pointer}.confirm input{width:21px;height:21px;accent-color:var(--blue);margin-top:3px;flex:none}.privacy{font-size:12px;line-height:1.9;color:#507e94;margin-top:15px}.privacy summary{min-height:36px;cursor:pointer}.privacy p{padding:8px 0}.welcome{text-align:center}.welcome h1{font-size:39px;line-height:1.6;font-weight:430;letter-spacing:-.035em;outline:none}.welcome p{font-size:17px;line-height:1.9;margin-top:14px;color:#507e94}.welcome .actions{justify-content:center;margin-top:29px}.welcome .alternate{display:inline-flex;align-items:center;min-height:48px;margin-top:14px;font-size:12px;color:#507e94;text-underline-offset:5px}
footer{position:fixed;bottom:0;left:0;right:0;padding:13px 27px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:space-between;gap:15px;pointer-events:none;z-index:1}footer>span{font-size:9px;color:#648c9d}.navigation{display:flex;align-items:center;gap:2px;pointer-events:auto}.navigation>span{font-size:10px;color:#648c9d;margin-right:13px;font-variant-numeric:tabular-nums}.navigation button{border:1px solid #01487f35;background:var(--bg);width:42px;height:42px;font-size:22px;line-height:1;border-radius:4px}.navigation button:disabled{opacity:.3}
@media(hover:hover){.ok:hover:not(:disabled){background:#003a66}.choice:hover .option,.pick-option:hover{border-color:var(--blue)}}
@media(max-width:760px){header{padding:22px 24px}.brand{font-size:23px}.language{gap:15px}main{padding:105px 29px 90px}#stage{width:100%}.question{margin-left:0;gap:9px;margin-bottom:28px}.question h1{font-size:24px;line-height:1.55}.number{min-width:18px;height:21px;font-size:11px;margin-top:6px}.optional{font-size:10px;margin-left:8px}.answer{padding-left:27px}.text-input,.text-area{font-size:25px;padding-block:7px 10px;line-height:1.6}.picker-trigger{font-size:24px;min-height:58px}.actions{margin-top:25px;padding-left:27px;gap:20px}.ok{font-size:16px;min-height:48px;min-width:73px;padding:10px 21px}.skip{font-size:12px}.option{font-size:16px;min-height:48px;padding:9px 12px;gap:10px}.choice input:checked+.option{padding:8px 11px}.key{width:22px;height:22px;font-size:10px}.choices{gap:7px}.days{gap:4px}.days .option{font-size:12px;padding-inline:0}.days .choice input:checked+.option{padding-inline:0}.phone-row{grid-template-columns:91px minmax(0,1fr);gap:11px}.phone-row .picker-trigger{font-size:16px;min-height:58px}.phone-row .text-input{font-size:23px}.phone-row .picker-menu{width:calc(100vw - 85px)}.picker-menu{padding:11px;border-radius:14px}.picker-search{font-size:18px}.pick-option{font-size:15px;min-height:44px}.picker-options{max-height:210px}.year-picker{max-width:220px}.time-row{gap:18px}.time-row .text-input{font-size:20px}.time-row label{font-size:12px}.review>div{grid-template-columns:85px minmax(0,1fr);gap:14px;padding:10px 0}.review dt{font-size:12px}.review dd{font-size:14px}.confirm{font-size:14px}.welcome h1{font-size:31px}.welcome p{font-size:15px}.welcome .actions{padding-left:0}.micro{font-size:11px}.error{font-size:12px;padding-left:27px}footer{padding-inline:20px}footer>span{font-size:8px}.navigation button{width:38px;height:38px}.navigation>span{font-size:9px;margin-right:9px}}
@media(max-width:350px){main{padding-inline:23px}.question h1{font-size:22px}.answer,.actions{padding-left:25px}.phone-row{grid-template-columns:81px minmax(0,1fr)}.phone-row .picker-trigger{font-size:14px}.phone-row .text-input{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* v7: center the question, answer and primary action at every width. */
main{padding:110px 38px}#stage{width:min(100%,640px);margin-inline:auto;transform:none}.question{display:block;margin-left:0;padding-inline:30px;text-align:center}.question h1{position:relative;display:inline-block;text-align:center}.question .number{position:absolute;right:calc(100% + 12px);top:8px;margin:0}.answer{padding:0;text-align:center}.text-input,.text-area{text-align:center}.actions{position:relative;justify-content:center;padding:0}.actions .skip{position:absolute;left:calc(50% + 62px)}.choices,.year-picker,.time-row,.phone-row{margin-inline:auto}.choice .option{position:relative;justify-content:center;padding-inline:43px}.choice input:checked+.option{padding-inline:42px}.choice .key{position:absolute;left:14px}.picker-trigger{position:relative;justify-content:center;text-align:center;padding-inline:25px}.picker-trigger .chevron{position:absolute;right:2px}.flag{display:block;width:28px;height:21px;object-fit:cover;flex:none;border-radius:2px;outline:1px solid #afc7cb}.country-fallback{font-size:18px}.phone-row{grid-template-columns:58px minmax(0,1fr);width:min(100%,540px);gap:13px}.phone-row .picker-trigger{padding-inline:0;justify-content:flex-start}.phone-row .chevron{right:0}.pick-option{gap:12px}.pick-option .flag{width:23px;height:17px}.phone-row .picker-menu{width:min(360px,calc(100vw - 76px))}.choices.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));width:min(100%,390px);gap:7px}.choices.days .choice{display:grid;place-items:center;min-height:48px;min-width:0}.choices.days .choice .option,.choices.days .choice input:checked+.option{display:grid;place-items:center;justify-content:center;padding:0;width:100%;max-width:48px;aspect-ratio:1;min-height:0;border-radius:50%;line-height:1}.choices.days .choice .option>span:last-child{display:block;text-align:center;line-height:1}.choices.days .key{display:none}.language-choices,.religion-choices{grid-template-columns:1fr 1fr;width:min(100%,540px)}.language-choices .option,.religion-choices .option{font-size:16px}.micro,.error{text-align:center;padding-left:0}.review{text-align:left}.confirm{justify-content:center}.privacy{text-align:center}.navigation button{width:48px;height:48px}
@media(max-width:760px){main{padding:95px 34px}.question{padding-inline:28px;margin-left:0}.question .number{right:calc(100% + 9px);top:6px}.question h1{font-size:24px}.answer,.actions,.error{padding-left:0}.choice .option{padding-inline:36px}.choice input:checked+.option{padding-inline:35px}.choice .key{left:10px}.phone-row{grid-template-columns:47px minmax(0,1fr);gap:10px}.phone-row .picker-trigger{padding-inline:0}.flag{width:26px;height:19px}.picker-trigger{padding-inline:24px}.choices.days{gap:4px}.choices.days .choice .option{font-size:13px}.language-choices,.religion-choices{gap:7px}.language-choices .option,.religion-choices .option{font-size:13px;padding-inline:29px 8px;min-height:49px}.language-choices .choice input:checked+.option,.religion-choices .choice input:checked+.option{padding-inline:28px 7px}.language-choices .key,.religion-choices .key{width:17px;height:17px;left:7px;font-size:9px}}
@media(max-width:350px){main{padding-inline:26px}.question h1{font-size:22px}.choices.days{gap:3px}.choices.days .option{font-size:11px}.language-choices .option,.religion-choices .option{font-size:12px}}

/* 2026-10-31 홈페이지 연결 때 더한 것 — 완료 화면의 다음 순서 셋 · 단추 모양 링크 */
a.ok{text-decoration:none}
.welcome .next{list-style:none;display:grid;gap:10px;margin:24px auto 0;max-width:440px;text-align:left}
.welcome .next li{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.7;color:#507e94}
.welcome .next li b{flex:none;display:grid;place-items:center;width:24px;height:24px;margin-top:3px;border-radius:50%;background:var(--blue);color:var(--bg);font-size:12px;font-weight:650}
.confirm+.confirm{margin-top:12px}
@media(max-width:760px){.welcome .next li{font-size:14px}}
