:root {
  --honey: #F9A825;
  --ink: #1F1B16;
  --ink-2: #5B5348;
  --ink-3: #8E857A;
  --line: #E7E0D2;
  --bg: #FAF8F3;
  --card: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; }
a { color: #8A5A00; }
header { background: var(--ink); color: #fff; }
header .in { max-width: 1000px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; }
header b { margin-right: 14px; white-space: nowrap; }
header a { color: #ddd; text-decoration: none; padding: 6px 10px; border-radius: 8px; white-space: nowrap; font-size: 14px; }
header a.on { background: rgba(255,255,255,.14); color: #fff; }
header .sp { flex: 1; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 18px 16px 60px; }
h1 { font-size: 22px; margin: 4px 0 16px; }
h2 { font-size: 17px; margin: 0 0 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.msg { background: #FFF3CD; border: 1px solid #F3D58A; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.warn { background: #FDECEA; border: 1px solid #F5C2BD; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 16px; }
label { display: block; font-size: 13px; color: var(--ink-2); font-weight: 600; }
label small { display: block; font-weight: 400; color: var(--ink-3); }
input[type=text], input[type=number], input[type=password], select, textarea {
  width: 100%; margin-top: 4px; padding: 9px 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
textarea { min-height: 80px; resize: vertical; }
input[type=color] { width: 48px; height: 36px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; vertical-align: middle; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.btn { display: inline-block; padding: 9px 16px; border-radius: 9px; border: 0; background: var(--honey); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn.sec { background: #EEE8DC; }
.btn.danger { background: #D32F2F; color: #fff; }
.btn.sm { padding: 5px 10px; font-size: 13px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
th { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; background: #f2ede3; display: block; }
.thumb.lg { width: 96px; height: 96px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #fff; }
.muted { color: var(--ink-3); font-size: 13px; }
.status { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.refs { display: flex; flex-wrap: wrap; gap: 10px; }
.refs form { position: relative; }
.refs button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 2px 6px; cursor: pointer; }
.verdict-box { border-left: 6px solid var(--c); padding-left: 12px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
.login { max-width: 360px; margin: 10vh auto; }
.pager { display: flex; gap: 6px; margin-top: 14px; align-items: center; }
@media (max-width: 600px) { .hide-m { display: none; } }
