:root { --ink: #1c1f24; --muted: #667085; --line: #e3e6ea; --accent: #2b6cb0; --bg: #fafbfc; --card: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--accent); }
header.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); }
header.top .brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
header.top nav a, header.top nav button.link { margin-left: 16px; }
form.inline { display: inline; }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; }
main { max-width: 1100px; margin: 0 auto; padding: 24px; }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 24px; }
.flash { background: #fff8e1; border-bottom: 1px solid #f3d98b; padding: 10px 24px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #eef1f4; }
.card .body { padding: 12px; }
.card h3 { margin: 0 0 4px; font-size: 16px; }
.muted { color: var(--muted); font-size: 13px; }
.search { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
input, textarea, select { font: inherit; padding: 8px 10px; border: 1px solid #c9ced6; border-radius: 6px; background: #fff; }
textarea { width: 100%; min-height: 120px; }
button, .btn { font: inherit; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.secondary, button.secondary { background: #fff; color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; max-width: 640px; }
.field label { font-weight: 600; }
.error { color: #b42318; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 800px) { .detail { grid-template-columns: 1fr; } }
.map { height: 360px; border: 1px solid var(--line); border-radius: 8px; background: #eef1f4; }
table { border-collapse: collapse; width: 100%; background: #fff; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tag { display: inline-block; background: #eef2f7; border-radius: 4px; padding: 1px 8px; font-size: 13px; margin: 0 4px 4px 0; }
.status { font-size: 12px; padding: 2px 8px; border-radius: 10px; background: #eef2f7; }
.status.ready { background: #e6f4ea; color: #1e7b34; } .status.failed { background: #fdecec; color: #b42318; } .status.processing, .status.queued { background: #fff4e0; color: #9a5b00; }
pre { background: #f2f4f7; padding: 10px; border-radius: 6px; overflow: auto; }
