/* 어드민 — 단순/안정 (디자인 편집기가 아님). 라이트모드 전용. */
* { box-sizing: border-box; }
html, body { margin: 0; background: #f4f6fb; color: #1b2438; font-family: var(--font-sans, -apple-system, "Segoe UI", "Malgun Gothic", system-ui, sans-serif); }

.topbar { display: flex; align-items: center; gap: 20px; padding: 12px 20px; background: #ffffff; border-bottom: 1px solid #e2e8f4; box-shadow: 0 1px 3px rgba(27,36,56,0.05); position: sticky; top: 0; z-index: 10; flex-wrap: wrap; }
.brand { font-weight: 900; letter-spacing: 0.02em; color: #1b2438; }
.brand__dot { display: inline-block; width: 0.6em; height: 0.6em; border-radius: 50%; background: #f5b301; margin-right: 4px; }
.ver { color: #5b6b8c; font-weight: 600; font-size: 13px; }
.tabs { display: flex; gap: 6px; }
.tab { font: inherit; font-weight: 700; color: #5b6b8c; background: transparent; border: 0; padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.tab:hover { background: #eef2fb; }
.tab.is-on { background: #2f6fed; color: #fff; }
.ro-badge { font-weight: 700; font-size: 13px; color: #5b6b8c; background: #eef2fb; border: 1px solid #dbe3f4; padding: 6px 12px; border-radius: 999px; }
.cost-pill { margin-left: auto; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #eef2fb; color: #2f4068; border: 1px solid #dbe3f4; }
.cost-pill.warn { background: #f6e2a8; color: #5a4500; border-color: #e9cd76; }
.cost-pill.danger { background: #ff5a5f; color: #fff; border-color: #ff5a5f; }

.view { padding: 24px; max-width: 1100px; margin: 0 auto; }
h2.sec { font-size: 18px; margin: 28px 0 12px; }
h2.sec:first-child { margin-top: 0; }

.card { background: #ffffff; border: 1px solid #e2e8f4; border-radius: 14px; padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(27,36,56,0.04); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef1f7; font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv b { color: #5b6b8c; font-weight: 600; }

.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.s-review { background: #fbe9b8; color: #6b4e00; }
.s-live { background: #cdeed7; color: #14622f; }
.s-approved { background: #2f6fed; color: #fff; }
.s-scheduled { background: #dde3f0; color: #3a4768; }
.s-ended, .s-archived, .s-draft { background: #e7ebf3; color: #5b6b8c; }

.btn { font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; border: 1px solid #d3ddf0; background: #eef2fb; color: #1b2438; border-radius: 8px; padding: 7px 12px; }
.btn:hover { background: #e1e8f7; }
.btn--main { background: #2f6fed; border-color: #2f6fed; color: #fff; }
.btn--main:hover { background: #2a63d6; }
.btn--warn { background: #d23b40; border-color: #d23b40; color: #fff; }
.btn--warn:hover { background: #bd3236; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: #eef2fb; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.content-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.content-row .meta { min-width: 0; }
.content-row .title { font-weight: 800; font-size: 16px; }
.content-row .sub { color: #5b6b8c; font-size: 13px; margin-top: 4px; }

.filterbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.filterbar .btn.is-on { background: #f5b301; color: #5a4500; border-color: #f5b301; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.dot.ok { background: #2f9e5b; } .dot.warn { background: #e0a106; } .dot.error { background: #ff5a5f; } .dot.unknown { background: #a3afc9; }

input, select { font: inherit; background: #ffffff; color: #1b2438; border: 1px solid #cdd6e8; border-radius: 8px; padding: 7px 9px; }
input:focus, select:focus { outline: none; border-color: #2f6fed; box-shadow: 0 0 0 3px rgba(47,111,237,0.15); }
label.f { display: block; font-size: 12px; color: #5b6b8c; margin: 8px 0 3px; }

.pl-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef1f7; }
.pl-item:last-child { border-bottom: 0; }
.pl-item .grow { flex: 1; }
.muted { color: #8a97b3; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #2f6fed; color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 700; z-index: 50; box-shadow: 0 12px 30px rgba(27,36,56,0.25); }
.toast.err { background: #ff5a5f; }

a.link { color: #2f6fed; text-decoration: none; font-size: 13px; }
a.link:hover { text-decoration: underline; }
.banner { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-weight: 700; }
.banner.safe { background: #e3f7ec; color: #1d7a45; }
.banner.warn { background: #fdf3d6; color: #8a6d10; }
.banner.danger { background: #fde6e7; color: #b3262b; }
