/* 접근 요청·승인·관리자 로그인 공통 (업무 보관함 포털 화면 톤) */
:root { --bg: #f3f1f7; --card: #fff; --text: #1f1d24; --muted: #6c6877; --line: #e4e0ec; --soft: #f4f1f9;
  --accent: #2e5f4c; --accent-2: #5b4b8a; --ok: #2e7d4f; --err: #b3372f;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 14px; }
.card { width: min(460px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 30px 22px; box-shadow: 0 18px 50px rgba(60, 40, 100, .08); }
.card.wide { width: min(560px, 100%); }
.mark { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; }
.mark .logo { width: 42px; height: 42px; border-radius: 12px; background: #ece6f6; color: var(--accent-2); display: grid; place-items: center; font-size: 20px; }
.mark b { display: block; font-size: 17px; }
.mark small { color: var(--muted); font-size: 11px; letter-spacing: .12em; }
.eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: #4c4458; }
h1 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.01em; }
h2 { font-size: 15px; margin: 22px 0 8px; }
.lead { margin: 0 0 18px; color: #4a4653; font-size: 14.5px; line-height: 1.6; }
.lbl { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
input[type=text], input:not([type]), input[type=password], input[type=email], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d8d3e2; border-radius: 10px; background: #fff; outline: none; font-size: 15px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-2); }
.consent { margin: 16px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); font-size: 13px; color: #4a4653; line-height: 1.6; }
.consent p { margin: 8px 0 6px; }
.consent ul { margin: 6px 0 0; padding-left: 18px; }
.chk { display: flex; gap: 8px; align-items: center; cursor: pointer; color: var(--text); font-size: 14px; }
.chk input { width: 18px; height: 18px; }
.go { width: 100%; border: 0; background: var(--accent); color: #fff; padding: 14px; border-radius: 10px; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 6px; }
.go:disabled { opacity: .55; cursor: default; }
.go span { margin-left: 8px; }
.ghost { width: 100%; border: 1px solid #d8d3e2; background: #fff; padding: 13px; border-radius: 10px; font-weight: 600; cursor: pointer; }
.row2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 18px; }
.steps { display: flex; justify-content: center; gap: 14px; list-style: none; padding: 0; margin: 16px 0 0; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 6px; }
.steps i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #ece8f2; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #4c4458; }
.steps li.on i { background: var(--accent); color: #fff; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0 12px; }
.foot { margin: 0; text-align: center; font-size: 12.5px; color: var(--muted); }
.below { font-size: 12px; color: var(--muted); margin-top: 16px; }
.msg { min-height: 1.2em; margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }
.pulse { height: 56px; display: grid; place-items: center; }
.pulse i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: p 1.4s infinite ease-out; }
@keyframes p { 0% { box-shadow: 0 0 0 0 rgba(46,95,76,.45); } 100% { box-shadow: 0 0 0 22px rgba(46,95,76,0); } }
.timer { text-align: center; color: var(--muted); font-size: 13px; }
.who { display: flex; gap: 12px; align-items: center; background: #f1ecf8; border-radius: 14px; padding: 14px 16px; margin: 10px 0 14px; }
.who .av { width: 34px; height: 34px; border-radius: 9px; background: #e2d9f1; display: grid; place-items: center; font-weight: 700; color: #4c4458; }
.who b { display: block; }
.who small { color: var(--muted); }
.kv { margin: 0; }
.kv dt { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.kv dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv dd small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.kv a { color: var(--accent-2); }
.dev { margin: 10px 0; font-size: 13px; color: #4a4653; }
.dev p { word-break: break-all; color: var(--muted); }
.note { background: #f1ecf8; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #4a4653; line-height: 1.6; }
.grp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; }
.grp em { font-style: normal; font-size: 12.5px; color: var(--muted); width: 40px; }
.tog { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; cursor: pointer; background: #fff; }
.tog:has(input:checked) { border-color: var(--accent); background: #eef5f1; }
.tog input { margin: 0; }
@media (max-width: 440px) { .card { padding: 22px 18px 18px; border-radius: 18px; } h1 { font-size: 23px; } .row2 { grid-template-columns: 1fr; } }
