/* 온라인 행정실 — 증명서 발급 신청 (inc/lisd-cert.php, 2026-09-29) */
.lc { --r: #A71836; --ink: oklch(0.22 0.01 20); --text: oklch(0.32 0.01 20); --muted: oklch(0.55 0.01 20); --line: oklch(0.9 0.006 20); --soft: #FAF7F3; color: var(--ink); scroll-margin-top: 120px; }
.lc *, .lc *::before, .lc *::after { box-sizing: border-box; }
.lc-steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lc-steps li { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-left: 1px solid var(--line); }
.lc-steps li:first-child { border-left: 0; padding-left: 0; }
.lc-steps b { font-family: "Noto Serif KR", serif; font-size: 22px; font-weight: 500; color: var(--r); line-height: 1; }
.lc-steps span { font-size: 16px; font-weight: 700; }
.lc-steps small { font-size: 13px; color: var(--muted); line-height: 1.6; }
.lc-alert { margin: 0 0 24px; padding: 14px 18px; background: oklch(0.96 0.02 12); color: oklch(0.4 0.15 12); font-size: 15px; font-weight: 500; }
.lc-form { display: flex; flex-direction: column; gap: 0; background: #fff; border: 1px solid var(--line); padding: 8px 44px 44px; position: relative; }
.lc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lc-sec { border: 0; margin: 0; padding: 32px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lc-sec legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.lc-sec legend em { font-style: normal; font-family: "Noto Serif KR", serif; font-size: 24px; font-weight: 500; color: var(--r); }
.lc-sec legend + * { clear: both; }
.lc-help { margin: 0; font-size: 14px; color: var(--muted); }
.lc-req { color: var(--r); }
.lc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lc-field > span { font-size: 14px; font-weight: 700; }
.lc-field--full { grid-column: 1 / -1; }
.lc-field--half { max-width: calc(50% - 10px); }
.lc input[type="text"], .lc input[type="tel"], .lc input[type="email"], .lc input[type="date"], .lc select, .lc textarea { width: 100%; height: 50px; padding: 0 14px; border: 1px solid oklch(0.85 0.008 20); border-radius: 0; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); outline: none; box-shadow: none; }
.lc textarea { height: auto; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.lc input:focus, .lc select:focus, .lc textarea:focus { border-color: var(--r); }
.lc input[type="radio"], .lc input[type="checkbox"] { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--r); }
.lc-radios { display: flex; flex-wrap: wrap; gap: 10px 22px; min-height: 50px; align-items: center; }
.lc-radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.lc-radios--big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lc-radios--big label { padding: 16px 18px; border: 1px solid oklch(0.85 0.008 20); display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; }
.lc-radios--big label small { grid-column: 2; font-size: 13px; color: var(--muted); }
.lc-radios--big label:has(input:checked) { border-color: var(--r); background: var(--soft); }
.lc-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lc-doc { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 12px 12px 18px; border: 1px solid oklch(0.88 0.006 20); transition: border-color .2s, background .2s; }
.lc-doc.is-on { border-color: var(--r); background: var(--soft); }
.lc-doc__name { font-size: 15px; font-weight: 600; }
.lc-doc__fee { font-size: 13px; color: var(--muted); }
.lc-qty { display: inline-flex; align-items: center; border: 1px solid oklch(0.85 0.008 20); background: #fff; }
.lc-qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 17px; color: var(--ink); cursor: pointer; padding: 0; line-height: 1; }
.lc-qty button:hover { color: var(--r); background: none; }
.lc .lc-qty input { width: 38px; height: 34px; border: 0; border-left: 1px solid oklch(0.9 0.006 20); border-right: 1px solid oklch(0.9 0.006 20); text-align: center; padding: 0; font-size: 15px; font-weight: 600; -moz-appearance: textfield; }
.lc-qty input::-webkit-outer-spin-button, .lc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lc-addr[hidden] { display: none; }
.lc-total { margin: 32px 0 0; padding: 22px 24px; background: var(--soft); border-left: 3px solid var(--r); }
.lc-total > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.lc-total span { font-size: 15px; font-weight: 600; }
.lc-total strong { font-size: 26px; font-weight: 800; color: var(--r); letter-spacing: -0.02em; }
.lc-total p { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.lc-agree { display: flex; gap: 10px; align-items: flex-start; margin: 24px 0 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.lc-agree input { margin-top: 3px !important; }
.lc-agree small { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--muted); line-height: 1.7; }
.lc-agree a { color: var(--r); text-decoration: underline; }
.lc-submit, .lc-back { align-self: flex-end; margin-top: 28px; display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 32px; border: 0; background: var(--r); color: #fff; font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none; }
.lc-submit:hover, .lc-back:hover { background: #8F1A2A; color: #fff; }
.lc-submit i, .lc-back i { display: inline-block; width: 28px; height: 1px; background: currentColor; }
/* 완료 화면 */
.lc-done { display: flex; flex-direction: column; max-width: 860px; }
.lc-done__eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--r); }
.lc-done__title { margin: 0 0 28px; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.lc-done__box { border-top: 1px solid var(--ink); }
.lc-done__box dl { margin: 0; }
.lc-done__box dl > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.lc-done__box dt { font-size: 14px; font-weight: 700; color: var(--muted); }
.lc-done__box dd { margin: 0; font-size: 16px; display: flex; flex-direction: column; gap: 4px; }
.lc-done__box .is-total dd { font-size: 26px; font-weight: 800; color: var(--r); }
.lc-done__box .is-total small { font-size: 14px; font-weight: 500; color: var(--muted); }
.lc-done__box .is-bank { background: var(--soft); padding-left: 16px; padding-right: 16px; }
.lc-done__box .is-bank dd { font-size: 18px; font-weight: 700; }
.lc-done__notes { margin: 24px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.9; color: var(--text); }
.lc-back { align-self: flex-start; }
@media (max-width: 900px) {
	.lc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lc-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
	.lc-steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.lc-docs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.lc-form { padding: 0 18px 24px; }
	.lc-grid, .lc-radios--big { grid-template-columns: 1fr; }
	.lc-field--half { max-width: none; }
	.lc-steps li { padding: 16px 12px; }
	.lc-submit, .lc-back { align-self: stretch; justify-content: center; }
	.lc-done__box dl > div { grid-template-columns: 1fr; gap: 6px; }
	.lc-done__title { font-size: 24px; }
}
