/* Truck parking finder (colors/tokens come from the shared :root in _inc/site.php) */
.pk-hero { background: var(--navy, #12172a); color: #fff; padding: 44px 24px 70px; text-align: center; }
.pk-tag { font-family: var(--font-head, 'Oswald', sans-serif); font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #8fa6f5; margin-bottom: 10px; }
.pk-hero h1 { font-family: var(--font-head, 'Oswald', sans-serif); font-weight: 700; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; margin: 0 auto 12px; max-width: 800px; }
.pk-hero p { font-size: 16.5px; line-height: 1.6; color: #c7cbdb; max-width: 640px; margin: 0 auto; }

.pk-app { max-width: 1240px; margin: -40px auto 0; padding: 0 16px 40px; position: relative; }
.pk-bar { background: #fff; border: 1px solid var(--border, #e3e6ee); border-radius: 16px; padding: 16px; box-shadow: 0 16px 48px rgba(18,23,42,.12); }
.pk-search { display: flex; gap: 10px; flex-wrap: wrap; }
.pk-search input[type=search] { flex: 1 1 260px; min-width: 0; padding: 14px 16px; border: 1.5px solid var(--border, #e3e6ee); border-radius: 10px; font-size: 16px; font-family: inherit; }
.pk-search input[type=search]:focus { outline: none; border-color: var(--accent, #3457e6); }
.pk-btn { padding: 14px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; background: var(--accent, #3457e6); color: #fff; white-space: nowrap; }
.pk-btn:hover { background: var(--accent-dark, #2942b8); }
.pk-btn.alt { background: #fff; color: var(--text, #12172a); border: 1.5px solid var(--border, #e3e6ee); }
.pk-btn.alt:hover { border-color: var(--accent, #3457e6); color: var(--accent, #3457e6); }
.pk-btn:focus-visible, .pk-chip:focus-visible, .st-btn:focus-visible, .lvl:focus-visible { outline: 3px solid rgba(52,87,230,.4); outline-offset: 2px; }
.pk-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.pk-filters select { padding: 9px 12px; border: 1px solid var(--border, #e3e6ee); border-radius: 999px; font-size: 13.5px; font-family: inherit; background: #fff; }
.pk-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border, #e3e6ee); background: #fff; font-size: 13.5px; font-weight: 600; color: var(--text, #12172a); display: inline-flex; align-items: center; gap: 7px; }
.pk-chip .dot { width: 10px; height: 10px; border-radius: 50%; }
.pk-chip.off { opacity: .45; }
.pk-chip.on { background: rgba(52,87,230,.08); border-color: var(--accent, #3457e6); }
.pk-msg { margin-top: 12px; font-size: 14px; color: var(--text-muted, #5b6272); line-height: 1.5; }
.pk-msg.err { color: var(--bad, #c0392b); }
.pk-msg a { color: var(--accent, #3457e6); font-weight: 700; text-decoration: underline; }

.pk-split { display: grid; grid-template-columns: 430px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 900px) { .pk-split { grid-template-columns: 1fr; } }
.pk-list-wrap { background: #fff; border: 1px solid var(--border, #e3e6ee); border-radius: 16px; overflow: hidden; }
.pk-count { padding: 14px 16px; font-size: 13.5px; color: var(--text-muted, #5b6272); border-bottom: 1px solid var(--border, #e3e6ee); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pk-count b { color: var(--text, #12172a); }
.pk-list { list-style: none; margin: 0; padding: 0; max-height: 720px; overflow-y: auto; }
@media (max-width: 900px) { .pk-list { max-height: none; } }
.stop { padding: 14px 16px; border-bottom: 1px solid var(--border, #e3e6ee); cursor: pointer; }
.stop:last-child { border-bottom: none; }
.stop:hover, .stop.sel { background: #f7f9ff; }
.stop-main { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.stop-main .dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.stop-name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.stop-name .tag { font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 2px 6px; border-radius: 99px; background: rgba(52,87,230,.1); color: var(--accent, #3457e6); margin-left: 6px; vertical-align: 2px; }
.stop-addr { font-size: 13px; color: var(--text-muted, #5b6272); margin-top: 2px; line-height: 1.4; }
.stop-dist { font-weight: 700; font-size: 14px; color: var(--text, #12172a); white-space: nowrap; }
.stop-status { margin: 10px 0 0 24px; font-size: 13.5px; line-height: 1.45; display: flex; gap: 8px; align-items: flex-start; }
.stop-status .pill { flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.stop-status small { display: block; color: var(--text-dim, #9aa0b4); font-size: 12px; }
.s-plenty .pill { background: rgba(31,122,61,.12); color: var(--good, #1f7a3d); }
.s-some .pill { background: rgba(183,121,31,.14); color: var(--warn, #b7791f); }
.s-few .pill { background: rgba(214,106,32,.15); color: #c25a12; }
.s-full .pill { background: rgba(192,57,43,.13); color: var(--bad, #c0392b); }
.s-none .pill { background: #eef0f6; color: var(--text-muted, #5b6272); }
.stop-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 0 24px; }
.st-btn { font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border, #e3e6ee); color: var(--text-muted, #5b6272); background: #fff; }
.st-btn:hover { border-color: var(--accent, #3457e6); color: var(--accent, #3457e6); }
.st-btn.pri { background: var(--accent, #3457e6); border-color: var(--accent, #3457e6); color: #fff; }
.st-btn.pri:hover { background: var(--accent-dark, #2942b8); color: #fff; }
.report-box { margin: 10px 0 0 24px; padding: 12px; background: var(--bg-alt, #f4f6fb); border-radius: 10px; }
.report-box p { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.lvls { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lvl { padding: 10px 8px; border-radius: 8px; font-weight: 700; font-size: 13px; border: 1.5px solid var(--border, #e3e6ee); background: #fff; }
.lvl.plenty:hover { border-color: var(--good, #1f7a3d); color: var(--good, #1f7a3d); }
.lvl.some:hover { border-color: var(--warn, #b7791f); color: var(--warn, #b7791f); }
.lvl.few:hover { border-color: #c25a12; color: #c25a12; }
.lvl.full:hover { border-color: var(--bad, #c0392b); color: var(--bad, #c0392b); }
.report-note { font-size: 12.5px; margin-top: 8px; color: var(--text-muted, #5b6272); }
.pk-more { display: block; width: 100%; padding: 14px; font-weight: 700; color: var(--accent, #3457e6); border-top: 1px solid var(--border, #e3e6ee); background: #fff; }
.pk-more:hover { background: #f7f9ff; }

.pk-map-wrap { position: sticky; top: 84px; }
@media (max-width: 900px) { .pk-map-wrap { position: static; order: -1; } }
#pkMap { height: 640px; border-radius: 16px; border: 1px solid var(--border, #e3e6ee); background: #e9edf5; z-index: 1; }
@media (max-width: 900px) { #pkMap { height: 320px; } }
.pk-map-empty { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--text-muted, #5b6272); height: 100%; font-size: 15px; line-height: 1.6; }
.pk-pop b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.pk-pop span { display: block; font-size: 12.5px; color: #5b6272; }
.pk-pop a { color: var(--accent, #3457e6); font-weight: 700; }
.pk-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted, #5b6272); margin-top: 10px; }
.pk-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }

.pk-honest { margin-top: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--border, #e3e6ee); border-radius: 12px; font-size: 13.5px; color: var(--text-muted, #5b6272); line-height: 1.6; }
.pk-honest b { color: var(--text, #12172a); }
.pk-cta { margin-top: 16px; padding: 22px 24px; background: var(--navy, #12172a); color: #fff; border-radius: 14px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pk-cta h2 { font-family: var(--font-head, 'Oswald', sans-serif); font-size: 22px; margin: 0 0 4px; }
.pk-cta p { color: #c7cbdb; font-size: 14.5px; line-height: 1.5; max-width: 560px; }
.pk-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pk-cta .pk-btn.alt { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }

.pk-info { max-width: 900px; margin: 0 auto; padding: 8px 16px 64px; }
.pk-info h2 { font-family: var(--font-head, 'Oswald', sans-serif); font-size: 26px; margin: 30px 0 10px; }
.pk-info p { color: var(--text-muted, #5b6272); line-height: 1.75; margin-bottom: 12px; }
.pk-info details { border: 1px solid var(--border, #e3e6ee); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
.pk-info summary { font-weight: 600; cursor: pointer; }
.pk-info details p { margin: 10px 0 0; }
.pk-states { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pk-states a { padding: 7px 12px; border: 1px solid var(--border, #e3e6ee); border-radius: 999px; font-size: 13.5px; font-weight: 600; }
.pk-states a:hover { border-color: var(--accent, #3457e6); color: var(--accent, #3457e6); }
.pk-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #12172a; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; z-index: 2000; box-shadow: 0 10px 30px rgba(0,0,0,.3); max-width: 90vw; }
