:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #182230; background: #f3f6fa; }
* { box-sizing: border-box; }
body { margin: 0; }
.shell { max-width: 1180px; margin: 0 auto; padding: 28px 16px 64px; }
.card { background: #fff; border: 1px solid #e4eaf1; border-radius: 14px; padding: 22px; margin-bottom: 18px; box-shadow: 0 8px 24px #19304d0b; }
.narrow { max-width: 420px; margin: 10vh auto; }
h1, h2 { margin: 0 0 8px; }
h2 { font-size: 18px; }
.muted { color: #697789; }
label { display: grid; gap: 6px; font-size: 13px; color: #566273; }
input { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 11px; font: inherit; background: #fff; }
button { border: 0; border-radius: 8px; padding: 10px 14px; color: #fff; background: #1d65d6; cursor: pointer; font: inherit; }
button.secondary { background: #e9eff7; color: #324154; }
button.danger { background: #fff0f0; color: #b42318; }
form { display: grid; gap: 14px; }
.topbar, .section-title, .form-actions, .filters, .summary { display: flex; align-items: center; gap: 12px; }
.topbar, .section-title { justify-content: space-between; }
.summary { flex-wrap: wrap; margin-bottom: 18px; }
.source-help { margin: -6px 0 18px; padding: 10px 12px; border: 1px solid #f2d28b; border-radius: 8px; color: #7a5710; background: #fff9e8; }
.stat { background: #fff; border: 1px solid #e4eaf1; border-radius: 10px; padding: 12px 16px; min-width: 150px; }
.stat strong { display: block; font-size: 22px; }
.location-form { grid-template-columns: repeat(3, minmax(0, 1fr)); background: #f7f9fc; border-radius: 10px; padding: 14px; margin: 14px 0; }
.location-form .check { display: flex; align-items: center; gap: 8px; padding-top: 24px; }
.location-form .check input { width: auto; }
.form-actions { grid-column: 1 / -1; }
.form-error { grid-column: 1 / -1; margin: 0; }
.filters { margin: 16px 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; border-bottom: 1px solid #edf1f5; padding: 12px 8px; vertical-align: top; }
th { color: #697789; font-size: 12px; font-weight: 600; }
.status-ok { color: #087443; }.status-error { color: #b42318; }.status-never { color: #697789; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.error { min-height: 20px; color: #b42318; }
.alert { border: 1px solid #ffd4d4; background: #fff8f8; border-radius: 9px; padding: 12px; margin-top: 8px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.empty { color: #697789; padding: 20px 0; }
@media (max-width: 760px) { .location-form { grid-template-columns: 1fr 1fr; }.filters { flex-wrap: wrap; }.filters input { flex: 1 1 180px; } }

