:root { --bg:#f6f3ec; --card:#fff; --ink:#1d2b30; --muted:#6b7a7f; --line:#e3ddd0; --teal:#16323a; --blue:#2f6fd6; --orange:#e08a1e; --purple:#7a4fc4; --red:#d0453b; --green:#2e9b5b; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; font-size:16px; line-height:1.55; }
.top { position:sticky; top:0; z-index:5; display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:var(--teal); color:#fff; }
.top a { color:#fff; text-decoration:none; font-weight:700; }
.top .muted { color:#b9cdd2; font-size:13px; }
main { max-width:860px; margin:0 auto; padding:12px 12px 80px; }
h2 { font-size:18px; margin:22px 4px 10px; display:flex; align-items:center; gap:8px; }
.badge { display:inline-block; min-width:22px; padding:1px 8px; border-radius:12px; font-size:13px; color:#fff; background:var(--orange); text-align:center; }
.card { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:14px 16px; margin:10px 0; box-shadow:0 1px 2px rgba(0,0,0,.04); }
a.card { display:block; color:inherit; text-decoration:none; }
a.card:active { background:#faf7f0; }
.card .t { font-weight:700; font-size:16px; }
.card .s { color:var(--muted); font-size:14px; margin-top:2px; }
.muted { color:var(--muted); }
.pad { padding:16px; }
.dot { display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; vertical-align:middle; }
.pending { background:var(--orange); } .approved { background:var(--green); } .changes { background:var(--purple); } .blocked { background:var(--red); } .running { background:var(--blue); }
.row { display:flex; justify-content:space-between; gap:10px; align-items:baseline; flex-wrap:wrap; }
.stage { font-size:13px; padding:2px 8px; border-radius:8px; background:#eef3f4; color:var(--teal); white-space:nowrap; }
.kv { display:grid; grid-template-columns:90px 1fr; gap:4px 10px; font-size:14px; margin-top:8px; }
.kv b { color:var(--muted); font-weight:600; }
.body { font-size:15px; }
.body table { border-collapse:collapse; width:100%; font-size:14px; margin:8px 0; display:block; overflow-x:auto; }
.body th, .body td { border:1px solid var(--line); padding:6px 8px; text-align:left; vertical-align:top; }
.body th { background:#f3efe6; }
.body ul { padding-left:20px; margin:6px 0; }
.body h3 { font-size:16px; margin:14px 0 6px; }
.previews { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; margin:10px 0; }
.previews figure { margin:0; background:#f3efe6; border-radius:10px; overflow:hidden; }
.previews img, .previews video { width:100%; display:block; cursor:zoom-in; }
.previews figcaption { font-size:13px; padding:6px 8px; color:var(--muted); }
.previews .wide { grid-column:1 / -1; }
audio { width:100%; }
.opts label { display:block; border:1px solid var(--line); border-radius:12px; padding:10px 12px; margin:8px 0; cursor:pointer; background:#fff; }
.opts label.sel { border-color:var(--teal); box-shadow:0 0 0 2px rgba(22,50,58,.15); }
.opts input { margin-right:8px; }
.opts .d { display:block; color:var(--muted); font-size:13px; margin-left:24px; }
textarea { width:100%; min-height:90px; border:1px solid var(--line); border-radius:12px; padding:10px; font:inherit; }
.btns { display:flex; gap:10px; margin-top:12px; }
button { font:inherit; border:0; border-radius:12px; padding:12px 16px; cursor:pointer; }
.btn-ok { background:var(--teal); color:#fff; flex:1; font-weight:700; }
.btn-ch { background:#efe8fb; color:var(--purple); flex:1; font-weight:700; }
.btn-ghost { background:transparent; color:var(--muted); }
.decided { border-left:4px solid var(--green); }
.decided.changes { border-left-color:var(--purple); }
.login { max-width:360px; margin:60px auto; }
.login input { width:100%; padding:12px; border:1px solid var(--line); border-radius:12px; font:inherit; margin:10px 0; }
.err { color:var(--red); font-size:14px; }
.lightbox { position:fixed; inset:0; background:rgba(0,0,0,.88); display:flex; align-items:center; justify-content:center; z-index:20; }
.lightbox img { max-width:96vw; max-height:92vh; }
.act { font-size:14px; padding:6px 4px; border-bottom:1px dashed var(--line); }
.act .muted { font-size:12px; margin-right:6px; }
.back { display:inline-block; margin:8px 4px; color:var(--teal); text-decoration:none; font-weight:600; }
