:root { --ink:#1f2937; --mute:#6b7280; --line:#e5e7eb; --bg:#f6f7f9; --card:#fff; --accent:#1d4ed8; --ok:#15803d; --warn:#b45309; --bad:#b91c1c; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html, body { margin:0; background:var(--bg); color:var(--ink); font:14px/1.55 "Malgun Gothic","Apple SD Gothic Neo",system-ui,sans-serif; }
#top { background:var(--card); border-bottom:1px solid var(--line); padding:12px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { font-weight:700; font-size:16px; display:flex; align-items:center; gap:8px; }
.brand .dot { width:10px; height:10px; border-radius:50%; background:var(--accent); display:inline-block; }
#nav { display:flex; align-items:center; gap:6px; }
#nav a { color:var(--ink); text-decoration:none; padding:6px 10px; border-radius:6px; }
#nav a.on, #nav a:hover { background:#eef2ff; color:var(--accent); }
#nav .who { color:var(--mute); margin:0 8px; }
main, .view { max-width:1180px; margin:0 auto; padding:20px 24px 60px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:10px; padding:18px 22px; margin-bottom:16px; }
.card.narrow { max-width:440px; margin:60px auto; }
h1 { margin:0 0 10px; font-size:20px; }
h2 { margin:0 0 10px; font-size:15px; }
.step { margin-top:14px; padding-top:12px; border-top:1px dashed var(--line); }
.row { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
input[type=text], input[type=date], input[type=password], input[type=number], textarea, select { padding:8px 10px; border:1px solid #cbd5e1; border-radius:6px; font:inherit; background:#fff; }
button { padding:8px 14px; border:1px solid var(--accent); background:var(--accent); color:#fff; border-radius:6px; font:inherit; cursor:pointer; }
button.ghost { background:#fff; color:var(--accent); }
button.small { padding:4px 10px; font-size:13px; }
button:disabled { opacity:.5; cursor:default; }
.muted { color:var(--mute); } .small { font-size:12.5px; }
.ok { color:var(--ok); } .warn { color:var(--warn); } .bad { color:var(--bad); }
.err { color:var(--bad); }
.warnBar { background:#fffbeb; border:1px solid #fde68a; border-radius:6px; padding:8px 12px; }
.issues { background:#fffbeb; border:1px solid #fde68a; border-radius:6px; padding:8px 12px; margin:8px 0; }
.pill { display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px; border:1px solid var(--line); background:#f1f5f9; margin:0 4px; }
.pill.ok { background:#dcfce7; border-color:#bbf7d0; } .pill.bad { background:#fee2e2; border-color:#fecaca; }
.checkOut { margin-top:8px; }
table { border-collapse:collapse; width:100%; font-size:13px; }
th, td { border-bottom:1px solid var(--line); padding:5px 8px; text-align:left; vertical-align:top; }
th { background:#f1f5f9; position:sticky; top:0; }
td.num { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
tr.same td { color:var(--mute); }
tr.diff td.new { font-weight:600; color:var(--accent); }
body.onlydiff tr.same { display:none; }
.sheet { border:1px solid var(--line); border-radius:6px; margin:8px 0; }
.sheet > summary { padding:8px 12px; cursor:pointer; background:#f8fafc; display:flex; gap:10px; align-items:center; }
.sheet > summary .n { color:var(--mute); font-size:12px; }
.sheet .body { padding:8px 12px; max-height:420px; overflow:auto; }
ul.notes { margin:6px 0 0; padding-left:18px; color:var(--mute); font-size:12.5px; }
pre#log { white-space:pre-wrap; font:12px Consolas,monospace; color:var(--mute); margin:0; max-height:200px; overflow:auto; }
code { background:#f1f5f9; padding:1px 4px; border-radius:3px; }
form#loginForm { display:flex; gap:8px; } form#loginForm input { flex:1; }
@media (max-width:640px) { .view { padding:12px; } #top { padding:10px 12px; } }
