:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #0B1F3A; background: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; }
button, textarea { font: inherit; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 19px max(24px, calc((100vw - 1200px)/2)); border-bottom: 1px solid #E2E8F0; background: #fff; }
.brand { color: #0B1F3A; text-decoration: none; display: inline-flex; align-items: center; gap: 11px; font-weight: 750; font-size: 17px; letter-spacing: -.02em; }
.brand-logo { display: block; width: 138px; height: auto; }
.header-label { color: #64748b; font-size: 13px; }
main { max-width: 1200px; margin: auto; padding: 64px 24px 30px; }
.intro { max-width: 730px; margin-bottom: 38px; }
.eyebrow, .step { color: #2563EB; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
h1 { font-size: clamp(34px, 4vw, 55px); line-height: 1.07; letter-spacing: -.045em; margin: 16px 0; }
.intro p { color: #475569; line-height: 1.6; font-size: 17px; margin: 0; }
.layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 20px; align-items: start; }
.panel { min-width: 0; background: #fff; border: 1px solid #E2E8F0; padding: 27px; box-shadow: 0 8px 30px rgba(11,31,58,.025); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid #E2E8F0; margin-bottom: 23px; }
h2 { margin: 6px 0 0; font-size: 23px; letter-spacing: -.025em; }
.hint { color: #64748b; font-size: 12px; white-space: nowrap; }
label { display: block; font-size: 13px; color: #475569; margin-bottom: 10px; }
label strong { color: #0B1F3A; }
textarea { display: block; width: 100%; min-height: 242px; resize: vertical; padding: 15px; border: 1px solid #cbd5e1; border-radius: 3px; color: #0B1F3A; background: #fff; font: 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace; }
textarea:focus { outline: 2px solid #60A5FA; outline-offset: 1px; }
textarea::placeholder { color: #94a3b8; }
.actions, .download-bar, .download-bar > div { display: flex; align-items: center; gap: 9px; }
.actions { justify-content: space-between; margin-top: 17px; }
button { cursor: pointer; border: 1px solid #cbd5e1; border-radius: 3px; min-height: 39px; padding: 0 14px; font-size: 12px; font-weight: 700; white-space: nowrap; }
button:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
button:disabled { opacity: .6; cursor: wait; }
.primary { background: #2563EB; color: #fff; border-color: #2563EB; }
.primary:hover:not(:disabled) { background: #1d4ed8; }
.secondary { background: #fff; color: #0B1F3A; }
.secondary:hover { background: #EFF6FF; }
.note { color: #64748b; line-height: 1.55; font-size: 12px; margin: 23px 0 0; }
code { color: #334155; }
.empty { display: grid; place-items: center; min-height: 315px; text-align: center; color: #94a3b8; background: #f8fafc; border: 1px dashed #cbd5e1; padding: 25px; font-size: 14px; }
.empty.error { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.hidden { display: none !important; }
.download-bar { justify-content: space-between; flex-wrap: wrap; margin-bottom: 15px; color: #475569; font-size: 12px; }
.download-bar button { min-height: 32px; }
.table-scroll { overflow-x: auto; border: 1px solid #E2E8F0; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { text-align: left; background: #EFF6FF; color: #475569; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
td, th { border-bottom: 1px solid #E2E8F0; padding: 13px 12px; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
td:nth-child(1) { font-weight: 700; min-width: 110px; }
td:nth-child(2) { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.found { color: #166534; font-weight: 700; }
.missing { color: #64748b; }
.geojson { max-width: 235px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #475569; }
footer { margin: 30px 0 0; color: #94a3b8; font-size: 12px; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } main { padding-top: 38px; } .site-header { padding-inline: 24px; } }
@media (max-width: 540px) { .header-label { display: none; } .panel { padding: 19px; } .actions { flex-wrap: wrap; } .download-bar > div { width: 100%; } }
