:root {
  --bg: #f6f4f1; --card: #fff; --ink: #1c1c1e; --quiet: #6b6b70; --line: #e4e1dc;
  --blue: #3d5a99; --orange: #d9772b; --green: #2f7d5b; --purple: #7a55c2; --red: #c0453a; --teal: #2a8a8a;
  --ok: #2f9e5a; --warn: #c98a12; --bad: #c0453a;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 -apple-system, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif; }
a { color: inherit; }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #1c1c1e; color: #fff; }
header.top a { color: #fff; text-decoration: none; margin-left: 16px; font-size: 14px; opacity: .85; }
header.top .brand { font-weight: 700; margin: 0; opacity: 1; }
main { max-width: 1080px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 17px; margin: 28px 0 10px; }
.sub { color: var(--quiet); margin: 0 0 20px; }
.flash { background: #fff7e0; border: 1px solid #f0d58a; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.boss { text-align: center; margin: 0 auto 22px; background: #1c1c1e; color: #fff; border-radius: 12px; padding: 10px 26px; width: fit-content; }
.boss small { display: block; opacity: .7; font-size: 12px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.agent { background: var(--card); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.agent .face { height: 96px; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; color: #fff; }
.agent .body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.agent .no { font-size: 12px; font-weight: 700; }
.agent h3 { margin: 2px 0 0; font-size: 17px; }
.agent .role { color: var(--quiet); font-size: 13px; margin: 0 0 8px; }
.agent ul { margin: 0 0 10px; padding-left: 16px; font-size: 13px; }
.agent .note { font-size: 12px; color: var(--quiet); margin-bottom: 8px; }
.agent .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: #bbb; }
.dot.on { background: var(--ok); }
.agent .go { font-weight: 700; text-decoration: none; }
.c-blue { --c: var(--blue); } .c-orange { --c: var(--orange); } .c-green { --c: var(--green); }
.c-purple { --c: var(--purple); } .c-red { --c: var(--red); } .c-teal { --c: var(--teal); }
.agent .face { background: var(--c); } .agent .no, .agent .go { color: var(--c); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin-bottom: 16px; }
label { display: block; font-size: 13px; color: var(--quiet); margin: 10px 0 4px; }
input[type=text], input[type=password], input[type=datetime-local], input[type=url], textarea, select {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
textarea { min-height: 90px; resize: vertical; }
button, .btn { display: inline-block; border: 0; border-radius: 8px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer;
  background: #1c1c1e; color: #fff; text-decoration: none; }
button.light, .btn.light { background: #ece9e4; color: var(--ink); }
button.danger { background: var(--bad); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { font-size: 12px; color: var(--quiet); font-weight: 600; }
.chip { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #ece9e4; white-space: nowrap; }
.s-scheduled { background: #e3ecff; } .s-published { background: #dcf3e4; } .s-failed { background: #fbe0dd; }
.s-manual { background: #fff1cc; } .s-processing, .s-publishing { background: #efe6ff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err { color: var(--bad); font-size: 13px; margin-top: 6px; }
.muted { color: var(--quiet); font-size: 13px; }
video { width: 100%; max-height: 420px; background: #000; border-radius: 10px; }
pre.copy { white-space: pre-wrap; background: #f3f1ee; padding: 10px; border-radius: 8px; font-size: 12px; max-height: 160px; overflow: auto; }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } header.top a { margin-left: 10px; } }
