:root { --fg: #1d2330; --muted: #667085; --line: #d0d5dd; --accent: #1f5fbf; --bad: #b42318; --good: #067647; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.55 system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: var(--fg); background: #fff; }
main { max-width: 1100px; margin: 0 auto; padding: 16px; }
nav.top, nav.sub { display: flex; gap: 16px; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
nav.top .brand { font-weight: 700; }
nav.top .logout { margin-left: auto; display: flex; gap: 8px; align-items: center; }
nav.sub { background: #f8f9fb; font-size: 14px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 22px; } h2 { font-size: 18px; margin-top: 24px; }
input, button { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; }
button { background: var(--accent); color: #fff; border-color: var(--accent); cursor: pointer; }
button[disabled] { background: #98a2b3; border-color: #98a2b3; cursor: not-allowed; }
a.button { display: inline-block; padding: 6px 10px; border: 1px solid var(--accent); border-radius: 6px; }
form.search { display: flex; gap: 8px; flex-wrap: wrap; } form.search input[name=q] { flex: 1; min-width: 240px; }
form.inline { display: inline-flex; gap: 6px; margin: 4px 8px 4px 0; }
section.login { max-width: 360px; margin: 64px auto; } section.login label { display: block; margin: 12px 0; }
section.login input { width: 100%; }
table { border-collapse: collapse; width: 100%; margin: 8px 0; }
th, td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
table.kv th { width: 160px; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); font-size: 14px; }
.error { color: var(--bad); } .ok { color: var(--good); }
pre { white-space: pre-wrap; word-break: break-word; font: inherit; margin: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .cols pre { background: #f8f9fb; padding: 12px; border-radius: 6px; }
@media (max-width: 720px) { .cols { grid-template-columns: 1fr; } }
ul.inline { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.detail { margin: 8px 0 8px 16px; padding-left: 12px; border-left: 3px solid var(--line); }
.htmx-indicator { display: none; color: var(--muted); }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { display: inline; }
h1.title { font-size: 20px; }
