@font-face { font-family: "Noto Sans CJK KR"; src: url(/assets/NotoSansCJKkr-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans CJK KR"; src: url(/assets/NotoSansCJKkr-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #f3f3f2; --card: #ffffff; --ink: #141414; --sub: #5b5b5b; --line: #d9d9d6;
  --soft: #f6f6f5; --red: #c8102e; --red-ink: #ffffff; --ok: #141414;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans CJK KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--red); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 8px 40px; }
.top { background: #141414; color: #fff; }
.top .in { max-width: 760px; margin: 0 auto; padding: 14px 14px; display: block; }
.top img { height: 15px; display: inline-block; vertical-align: middle; }
.top span { display: inline-block; vertical-align: middle; margin-left: 10px; font-size: 13px; color: #ff8a9a; font-weight: 700; letter-spacing: 1px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 14px; margin-top: 10px; }
.card h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.4; border-left: 4px solid var(--red); padding-left: 10px; }
.card h1 { margin: 4px 0 8px; font-size: 22px; line-height: 1.4; }
.muted { color: var(--sub); font-size: 14px; }
.kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.kv th { width: 104px; text-align: center; background: var(--soft); border: 1px solid var(--line); padding: 8px 6px; font-weight: 700; vertical-align: middle; }
.kv td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; word-break: break-all; }
label.f { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=password], textarea {
  width: 100%; font: inherit; font-size: 17px; padding: 12px 12px; border: 1.5px solid #bdbdb9; border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus { outline: none; border-color: var(--ink); }
.btn { display: block; width: 100%; font: inherit; font-size: 17px; font-weight: 700; padding: 14px 16px; border-radius: 8px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; margin-top: 12px; text-align: center; text-decoration: none; }
.btn.red { background: var(--red); border-color: var(--red); }
.btn.line { background: #fff; color: var(--ink); }
.btn:disabled { opacity: .45; cursor: default; }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.row2 .btn { margin-top: 0; width: auto; white-space: nowrap; font-size: 15px; padding: 12px 14px; }
.msg { margin-top: 8px; font-size: 14px; }
.msg.err { color: var(--red); font-weight: 700; }
.msg.ok { color: var(--ok); font-weight: 700; }
.pages img { display: block; width: 100%; height: auto; border: 1px solid var(--line); margin-top: 10px; background: #fff; }
.pad { display: block; width: 100%; height: 190px; border: 2px dashed #9a9a96; border-radius: 8px; background: #fff; touch-action: none; }
.chk { display: block; padding: 12px 12px; border: 1.5px solid var(--line); border-radius: 8px; margin-top: 8px; font-size: 15px; line-height: 1.6; cursor: pointer; background: #fff; }
.chk input { width: 20px; height: 20px; margin: 0 8px 0 0; vertical-align: -4px; accent-color: var(--red); }
.notice { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 13.5px; color: #333; margin-top: 10px; }
.foot { max-width: 760px; margin: 0 auto; padding: 0 14px 28px; }
.foot .in { border-top: 1px solid #c9c9c5; padding-top: 12px; font-size: 12.5px; color: var(--sub); display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.foot img { height: 11px; display: block; }
.foot .r { text-align: right; }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; word-break: break-all; overflow-wrap: anywhere; }
.state { text-align: center; padding: 26px 16px; }
.state b { display: block; font-size: 21px; margin-bottom: 6px; }
.hide { display: none !important; }
