:root { --accent: #2f6fe4; --accent-dark: #2563d6; --ink: #1a2233; --muted: #5b6577; --line: #e7ebf3; --bg: #f4f6fb; --ok: #12a150; --bad: #e5484d; --warn: #e08600; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Malgun Gothic", "맑은 고딕", "Segoe UI", system-ui, sans-serif; font-size: 14.5px; color: var(--ink);
  background: radial-gradient(1100px 480px at 50% -160px, #e4ecff 0%, var(--bg) 62%) fixed; min-height: 100vh; }
body.center { display: flex; align-items: center; justify-content: center; padding: 28px 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px rgba(30, 38, 51, .08); }
.auth { width: 100%; max-width: 480px; padding: 30px 28px 26px; }
.auth.narrow { max-width: 380px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.brand.sm { margin: 0; }
.mark { width: 42px; height: 42px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 19px; font-weight: 800; box-shadow: 0 6px 14px rgba(47, 111, 228, .3); }
.brand.sm .mark { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
.bname { font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.bname .dot { color: var(--accent); }
.bsub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.step { border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 6px; margin: 0 0 14px; background: #fbfcff; }
.step h2 { margin: 0 0 4px; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.step .n { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; }
.hint { margin: 0 0 12px; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
label { display: block; font-size: 12.5px; font-weight: 700; color: #475569; margin: 0 0 12px; }
input { display: block; width: 100%; margin-top: 5px; padding: 12px 13px; font-size: 15px; font-family: inherit; color: var(--ink);
  border: 1px solid #dbe1ea; border-radius: 11px; outline: none; background: #fff; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 111, 228, .15); }
.primary { width: 100%; padding: 14px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 800; font-family: inherit; cursor: pointer; margin-top: 4px; }
.primary:hover { background: var(--accent-dark); }
.primary:disabled { background: #a9c1f5; cursor: not-allowed; }
.ghost { display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 700;
  font-family: inherit; cursor: pointer; text-decoration: none; }
.ghost:hover { border-color: #cdd6e2; }
.ghost:disabled { opacity: .6; cursor: default; }
.linkrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 2px 0 12px; }
.st { font-size: 13px; font-weight: 700; color: var(--muted); }
.st.ok { color: var(--ok); } .st.bad { color: var(--bad); } .st.warn { color: var(--warn); }
.err { margin: 6px 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff0f0; color: var(--bad); font-size: 13px; font-weight: 700; line-height: 1.45; }
.okmsg { margin: 6px 0 10px; padding: 10px 12px; border-radius: 10px; background: #eaf8f0; color: var(--ok); font-size: 13px; font-weight: 700; }
.fine { margin: 12px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
.stores { margin: 0 0 12px; }
.stl { font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.chip { display: inline-block; margin: 0 6px 6px 0; padding: 4px 11px; border-radius: 20px; background: #eef3ff; color: var(--accent); font-size: 12.5px; font-weight: 800; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; background: #fff; border-bottom: 1px solid var(--line); }
.top .right { display: flex; align-items: center; gap: 12px; }
.who { color: var(--muted); font-size: 13px; }
.wrap { max-width: 860px; margin: 0 auto; padding: 28px 18px 60px; display: grid; gap: 16px; }
.hello, .soon { padding: 26px 26px 20px; }
.hello h1 { margin: 10px 0 6px; font-size: 24px; letter-spacing: -.4px; }
.soon h2 { margin: 0 0 6px; font-size: 16px; }
.muted { color: var(--muted); margin: 0 0 14px; line-height: 1.55; }
.badge { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 800; }
.badge.ok { background: #eaf8f0; color: var(--ok); }
@media (max-width: 520px) { .auth { padding: 24px 18px 20px; border-radius: 16px; } .bname { font-size: 19px; } .top { padding: 10px 14px; } }

.rule { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 7px; }
.rule i { font-style: normal; font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 20px; background: #f1f4f9; color: #8a94a6; }
.rule i.ok { background: #eaf8f0; color: var(--ok); }
.pad { padding: 24px 24px 20px; }
.rowhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rowhead h1, .pad h1 { margin: 0 0 4px; font-size: 21px; }
.primary.sm { width: auto; padding: 9px 14px; font-size: 13.5px; margin: 0; text-decoration: none; display: inline-block; }
.tbl { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.trow { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.trow:last-child { border-bottom: 0; }
.tid { flex: 1 1 200px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tmeta { flex: 1 1 220px; color: var(--muted); font-size: 12.5px; }
.tact { display: flex; gap: 8px; }
.inl { display: inline; margin: 0; }
.role { display: inline-block; padding: 2px 9px; border-radius: 20px; background: #eef2f8; color: #5b6577; font-size: 11.5px; font-weight: 800; vertical-align: 2px; }
.role.sup { background: #fff3e0; color: #c46a00; }
.role.me { background: #eef3ff; color: var(--accent); }
.danger { color: var(--bad); }
.fine.left { text-align: left; }
.narrowwrap { max-width: 520px; }
.pwrow { display: flex; gap: 8px; align-items: stretch; }
.pwrow input { margin-top: 5px; }
.pwrow .ghost { margin-top: 5px; white-space: nowrap; }
.cur { margin: -2px 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cur .k { font-size: 12px; font-weight: 800; color: #8a6200; }
.cur code { font-size: 15px; font-weight: 800; word-break: break-all; color: var(--ink); }
