:root { color-scheme: light; font-family: Arial, "Noto Sans KR", sans-serif; }
body { margin: 0; background: #f5f7fa; color: #1f2937; }
.wrap { max-width: 1180px; margin: 32px auto; padding: 0 18px 60px; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px; margin-bottom: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
h1 { margin: 0 0 8px; font-size: 26px; }
h2 { margin-top: 0; font-size: 19px; }
.muted { color: #6b7280; font-size: 14px; }
.warn { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 12px; border-radius: 10px; }
.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 12px; border-radius: 10px; }
.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 12px; border-radius: 10px; white-space: pre-wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px; }
.stat { border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px; }
.stat b { display:block; font-size: 24px; margin-top: 4px; }
label { display:block; font-weight: 700; margin: 14px 0 6px; }
input[type=number], input[type=file], select { width:100%; box-sizing:border-box; padding:10px; border:1px solid #d1d5db; border-radius:8px; background:white; }
button, .button { display:inline-block; padding:10px 16px; border:0; border-radius:8px; background:#111827; color:#fff; text-decoration:none; cursor:pointer; font-weight:700; }
button.secondary, .button.secondary { background:#4b5563; }
button.danger { background:#b91c1c; }
button:disabled { opacity:.45; cursor:not-allowed; }
table { width:100%; border-collapse:collapse; margin-top:12px; font-size:14px; }
th, td { border-bottom:1px solid #e5e7eb; padding:9px 7px; text-align:left; vertical-align:top; }
th { background:#f9fafb; position:sticky; top:0; }
.table-wrap { max-height:420px; overflow:auto; border:1px solid #e5e7eb; border-radius:10px; }
.actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; align-items:center; }
.badge { display:inline-block; padding:3px 8px; border-radius:999px; font-size:12px; background:#eef2ff; }
.info { background:#eff6ff; border:1px solid #bfdbfe; color:#1e3a8a; padding:12px; border-radius:10px; }
.compact { padding:10px 12px; }
.auth-line { margin:12px 0 0; }
code { background:#f3f4f6; padding:2px 5px; border-radius:5px; }
