@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');

:root { color-scheme: light; --ink: #202722; --muted: #727b72; --line: #dfe4d9; --paper: #f7f7f2; --green: #386c50; --pale: #e9efe6; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', 'Noto Sans SC', sans-serif; }
.shell { max-width: 1200px; margin: 0 auto; padding: 0 36px 40px; }
.topbar { height: 82px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: -.3px; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font: 9px 'DM Mono', monospace; letter-spacing: 1.25px; }
.brand-mark { display: grid; place-items: center; background: var(--green); color: white; width: 35px; height: 35px; border-radius: 11px; font-size: 23px; }
h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.7px; margin: 8px 0 0; line-height: 1.12; }
.eyebrow { color: var(--green); text-transform: uppercase; font: 10px 'DM Mono', monospace; letter-spacing: 1.4px; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 44px 0 25px; }
.date-tools { display: flex; align-items: center; gap: 10px; }
label { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.date-tools label { margin-right: 3px; }
input { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 11px 12px; font: inherit; color: var(--ink); }
button { border: 0; cursor: pointer; font: inherit; }
.primary { background: var(--green); color: #fff; border-radius: 8px; padding: 12px 17px; font-weight: 600; transition: background .15s; }
.primary:hover { background: #2b583e; }
.compact { padding: 11px 16px; }
.quiet { color: var(--muted); background: transparent; padding: 9px 12px; }
.danger { color: #a14b3f; border: 1px solid #e8d1cb; background: #fff8f5; border-radius: 8px; padding: 10px 13px; font-size: 12px; font-weight: 600; }
.summary-row { display: flex; align-items: center; gap: 0; min-height: 80px; padding: 13px 18px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #fff; }
.stat { min-width: 165px; padding: 0 22px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 5px; }
.stat span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 6px; }
.stat strong { font-size: 17px; font-weight: 600; }
.summary-row .danger { margin-left: auto; }
.map-wrap { position: relative; border: 1px solid var(--line); border-radius: 0 0 12px 12px; overflow: hidden; background: #edf0e8; }
#map { height: min(67vh, 680px); min-height: 400px; width: 100%; }
.empty { position: absolute; z-index: 500; inset: 0; display: grid; place-items: center; color: var(--muted); pointer-events: none; background: rgba(247,247,242,.63); font-size: 14px; }
footer { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; padding: 13px 3px; }
.login-panel { width: min(430px, 100%); margin: 15vh auto 0; }
.login-panel h1 { max-width: 420px; font-size: 40px; line-height: 1.25; }
.login-panel p { color: var(--muted); margin: 14px 0 31px; font-size: 14px; }
#login-form { display: grid; gap: 9px; }
#login-form input { margin-bottom: 9px; }
.error { min-height: 18px; color: #a14b3f; font-size: 12px; }
.hidden { display: none !important; }
@media (max-width: 700px) { .shell { padding: 0 16px 24px; } .heading-row { align-items: start; flex-direction: column; margin-top: 30px; } .date-tools { width: 100%; } .date-tools label { display: none; } .date-tools input { flex: 1; min-width: 0; } .summary-row { flex-wrap: wrap; gap: 16px 0; padding: 15px; } .stat { min-width: 33.33%; width: 33.33%; padding: 0 8px; } .stat:first-child { padding-left: 8px; } .stat strong { font-size: 14px; } .summary-row .danger { margin: 0 0 0 auto; } #map { min-height: 420px; height: 62vh; } footer { gap: 8px; flex-direction: column; } }
