:root {
  --navy:#2a3874; --ink:#202c40; --muted:#526178; --line:#dce3ee;
  --paper:#f6f7fa; --tint:#edf1f8;
  font-family:Pretendard,"Noto Sans KR","Malgun Gothic",system-ui,sans-serif;
  color:var(--ink); background:var(--paper); line-height:1.65;
}
* { box-sizing:border-box }
[hidden] { display:none !important }
body { margin:0; min-height:100vh; display:flex; flex-direction:column }
a { color:inherit; text-decoration:none }
button,input,textarea,select { font:inherit }
button { cursor:pointer }
:focus-visible { outline:3px solid #647cbd; outline-offset:3px }
.skip { position:absolute; top:8px; left:8px; transform:translateY(-160%); background:white; padding:10px; z-index:2 }
.skip:focus { transform:none }
header,footer { background:white }
header { border-bottom:1px solid var(--line) }
.header-inner { max-width:1120px; min-height:79px; margin:auto; padding:10px 32px; display:flex; align-items:center; justify-content:space-between; gap:16px }
.brand { display:flex; align-items:center; gap:18px; color:var(--navy); font-size:15px }
.brand img { width:112px; height:auto; max-height:60px; object-fit:contain }
.brand strong { border-left:1px solid var(--line); padding-left:18px }
.shell { flex:1; width:100%; max-width:960px; padding:50px 32px 64px; margin:auto }
.intro { margin-bottom:27px }
.kicker { color:var(--navy); font-weight:700; margin:0 0 12px }
.kicker span { color:#8792ad; margin:0 6px; font-weight:400 }
h1 { font-size:clamp(29px,4.7vw,41px); line-height:1.26; letter-spacing:-.045em; margin:0 0 14px; word-break:keep-all }
.intro>p:last-child,.intro-note { color:var(--muted); margin:0; font-size:15px; word-break:keep-all }
.steps { list-style:none; margin:0 0 13px; padding:0; display:flex; gap:25px; color:var(--muted); font-size:13px }
.steps li { display:flex; gap:7px; align-items:center }
.steps span { width:24px; height:24px; display:grid; place-items:center; border:1px solid #d0daeb; border-radius:5px; background:white }
.steps [aria-current] { font-weight:750; color:var(--navy) }
.steps [aria-current] span { background:var(--navy); border-color:var(--navy); color:white }
.panel { background:white; border:1px solid #d2dbea; box-shadow:0 7px 25px #2a387408; border-radius:12px; padding:26px }
h2 { font-size:21px; letter-spacing:-.04em; margin:0 0 16px }
.options,.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
.option { display:grid; grid-template-columns:1fr auto; align-items:center; text-align:left; background:white; border:1px solid var(--line); padding:15px 17px; border-radius:8px; color:var(--navy); min-height:78px; gap:7px 12px }
.option:hover { background:var(--tint); border-color:#aab8d6 }
.option strong { font-size:16px }
.option small { grid-column:1; margin:0; color:var(--muted); font-size:13px; line-height:1.55 }
.option span { grid-area:1/2/3/3; color:#60749d; font-size:20px }
.guide { padding:15px 17px; background:#f3f6fb; border:1px solid var(--line); border-radius:8px; font-size:14px; color:#405371 }
.guide p { margin:5px 0 0 }
#special { margin-top:20px }
#special:empty { margin:0 }
label { display:block; font-size:14px; font-weight:650; min-width:0 }
label b { color:var(--navy) }
label small,small { display:block; color:var(--muted); font-size:12px; font-weight:400; margin-top:6px }
input:not([type=file]):not([type=checkbox]),select,textarea { display:block; width:100%; margin-top:5px; background:white; border:1px solid #cbd5e4; border-radius:7px; padding:9px 11px; color:var(--ink); font-size:16px }
#details label { font-weight:500 }
#details .field-choices label { font-weight:400 }
#details input:not([type=file]):not([type=checkbox]),#details select,#details textarea {
  font-size:14px; font-weight:400; line-height:1.55;
}
#details input::placeholder,#details textarea::placeholder { color:#68768b; opacity:1 }
#example { color:#68768b; font-size:12px; font-weight:400; line-height:1.55 }
textarea { resize:vertical; min-height:115px }
.block { margin-top:18px }
fieldset { border:0; border-top:1px solid var(--line); margin:24px 0 0; min-width:0; padding:15px 0 0 }
legend { font-size:17px; font-weight:700; padding:0 8px 0 0 }
.field-choices { margin:0; padding:0; border:0 }
.field-choices legend { font-size:14px; font-weight:650 }
.field-choices label { display:inline-flex; align-items:center; gap:6px; margin:4px 12px 0 0; font-weight:400 }
.field-choices input { margin:0; accent-color:var(--navy) }
.material-group { padding:12px 15px; border:1px solid #e0e5ee; border-radius:7px; background:#f8f9fc }
.material-group + .material-group { margin-top:9px }
.material-group-primary { padding:14px 15px; border-color:#b9c6e5; border-left:4px solid var(--navy); background:#eef2fb }
.material-label { margin:0; font-size:15px; font-weight:700 }
.material-group-primary .material-label { color:var(--navy) }
.material-help { margin:4px 0 0; font-size:14px; color:var(--muted) }
.material-list { display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; margin:8px 0 0 }
.material-list li { padding:3px 8px; border:1px solid #dce3ee; border-radius:5px; font-size:14px; word-break:keep-all }
.material-group-primary li { border-color:#c9d4ec; background:white; color:var(--navy); font-weight:700 }
.file-picker { display:flex; flex-wrap:wrap; align-items:center; gap:5px 10px; margin-top:13px }
.file-picker small { margin:0 }
.secondary,.primary { padding:9px 15px; border-radius:7px; border:1px solid #cbd5e4; color:var(--navy); background:white; font-weight:650; font-size:14px; cursor:pointer }
.primary { padding:9px 15px; border-radius:7px; border:1px solid #cbd5e4; color:var(--navy); background:white; font-weight:650; font-size:14px; cursor:pointer }
.primary { background:var(--navy); border-color:var(--navy); color:white }
.primary:hover { background:#202c61 }
.secondary:hover { background:var(--tint) }
.actions { display:flex; justify-content:space-between; gap:10px; margin-top:23px }
#file-list { list-style:none; padding:0; font-size:13px; overflow-wrap:anywhere }
#file-list:empty { margin:0 }
#summary { margin:0 }
#summary div { display:grid; grid-template-columns:minmax(100px,28%) 1fr; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:14px }
#summary dt { font-weight:700; color:var(--navy) }
#summary dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere }
footer { border-top:1px solid var(--line); color:var(--muted); font-size:13px }
footer .header-inner { min-height:62px }
.footer-home { display:inline-flex; align-items:center; gap:8px; color:var(--navy); font-weight:500 }
.footer-home svg { flex:none }
.footer-home:hover { text-decoration:underline }
@media(max-width:600px) {
  .header-inner { min-height:65px; padding:8px 18px; gap:10px }
  .brand { gap:8px; font-size:12px }
  .brand img { width:73px }
  .brand strong { padding-left:8px }
  .shell { padding:31px 18px 46px }
  .steps { gap:14px }
  .panel { padding:17px }
  .options { gap:8px }
  .option { padding:11px 9px; gap:4px; min-height:86px }
  .option small { font-size:11px; word-break:keep-all }
  .option span { font-size:16px }
  .grid { grid-template-columns:1fr }
  #details input:not([type=file]):not([type=checkbox]),#details select,#details textarea { font-size:16px }
}
