/* PilotAdda public site. System fonts, no web-font download; readable on small screens. */
:root { color-scheme: light dark; --ink: #1b2430; --muted: #556070; --accent: #0b5cad; --bg: #ffffff; --line: #d8dee6; }
@media (prefers-color-scheme: dark) { :root { --ink: #e8edf3; --muted: #a7b2c0; --accent: #7cb4ff; --bg: #10151c; --line: #2a3440; } }
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
main, .site-header, .site-footer { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
a { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 1.5rem 0 0.75rem; }
h2 { font-size: 1.3rem; margin-top: 2rem; }
.hero p, .summary { font-size: 1.15rem; color: var(--muted); }
.stages { padding-left: 1.4rem; }
.guides { list-style: none; padding: 0; }
.guides li { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.guides p { margin: 0.25rem 0 0; color: var(--muted); }
.crumbs { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.empty { color: var(--muted); }
.reviewed { color: var(--muted); font-size: 0.9rem; }
.site-footer { margin-top: 3rem; padding-top: 1rem; padding-bottom: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.checker { display: grid; gap: 0.5rem; max-width: 24rem; margin: 1.5rem 0; }
.checker input, .checker select, button { font: inherit; padding: 0.5rem; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--bg); color: var(--ink); }
button { background: var(--accent); color: var(--bg); border-color: var(--accent); cursor: pointer; justify-self: start; }
.error { color: #b3261e; }
.fine { color: var(--muted); font-size: 0.85rem; }
.results li.yes strong { color: var(--accent); }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; }
th, td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.left-out td { color: var(--muted); text-decoration: line-through; }
.left-out td:last-child { text-decoration: none; }
.total { font-size: 1.15rem; }
.site-header nav a { margin-left: 1rem; }
.filters { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 0.75rem; align-items: center; margin: 1rem 0; }
.filters input, .filters select { font: inherit; padding: 0.4rem; border: 1px solid var(--line); border-radius: 0.375rem; background: var(--bg); color: var(--ink); }
.filters button { grid-column: 2; }
button.secondary { background: var(--bg); color: var(--accent); }
.cards { list-style: none; padding: 0; }
.card { border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.75rem 1rem; margin: 0.75rem 0; }
.card h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.distance { color: var(--muted); font-weight: normal; font-size: 0.9rem; }
.address { margin: 0.25rem 0; color: var(--muted); }
.medicals { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0; }
.medicals li { border: 1px solid var(--line); border-radius: 1rem; padding: 0.1rem 0.6rem; font-size: 0.85rem; }
.medicals li.ended { color: var(--muted); text-decoration: line-through; }
.flag { color: #b3261e; font-size: 0.8rem; text-decoration: none; display: inline-block; }
.iaf { border-color: var(--accent); }
.hint, .cities a { font-size: 0.95rem; }
.cities a { margin-right: 0.75rem; display: inline-block; }
tr.ended td { color: var(--muted); }
.map { height: 22rem; margin: 1rem 0; border: 1px solid var(--line); border-radius: 0.5rem; }
.map[hidden] { display: none; }
.map .leaflet-popup-content a { color: #0b5cad; }
.pick { font-size: 0.9rem; color: var(--muted); }
.compare { margin: 1rem 0; }
.table-scroll { overflow-x: auto; }
.compare-table th[scope="row"] { text-align: left; color: var(--muted); font-weight: normal; }
.compare-table td, .compare-table th { vertical-align: top; padding: 0.4rem 0.75rem 0.4rem 0; }
.status { font-weight: 600; }
.status.open { color: var(--accent); }
.card.open { border-color: var(--accent); }
