* { box-sizing: border-box; }
:root { --ink: #29332e; --muted: #718078; --red: #a64032; --paper: #fffdf8; --line: #e1ded6; }
body { margin: 0; color: var(--ink); background: #f4f3ee; font-family: Arial, sans-serif; }
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.control-panel::-webkit-scrollbar { display: none; width: 0; height: 0; }
html,
body,
.control-panel { scrollbar-width: none; -ms-overflow-style: none; }
.search-header { min-height: 32px; display: flex; align-items: center; gap: 8px; padding: 2px clamp(10px, 4vw, 60px); background: #fff; border-bottom: 1px solid var(--line); }
.back-link, .home-link { color: var(--red); text-decoration: none; }.back-link { width: 24px; height: 24px; display: block; }.back-link img { width: 100%; height: 100%; display: block; }.home-link { margin-left: auto; font-size: .75rem; }
.eyebrow { display: block; margin-bottom: 3px; color: var(--red); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(.82rem, 1.5vw, 1rem); font-weight: 500; }
.search-layout { display: grid; grid-template-columns: minmax(300px, 390px) 1fr; min-height: calc(100vh - 76px); }
.control-panel { padding: 25px; background: var(--paper); border-right: 1px solid var(--line); overflow-y: auto; }
.search-form { padding-bottom: 22px; border-bottom: 1px solid var(--line); }.search-form > label { display: block; margin-bottom: 9px; font-size: .82rem; font-weight: 700; }
.place-row { display: flex; gap: 7px; }.place-row input { min-width: 0; flex: 1; padding: 11px; border: 1px solid #d2d4cc; border-radius: 4px; outline-color: var(--red); }.place-row button { padding: 0 12px; color: white; background: var(--red); border: 0; border-radius: 4px; font-size: .76rem; font-weight: 700; }
.options-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }.options-row label { color: var(--muted); font-size: .7rem; }.options-row select { width: 100%; margin-top: 5px; padding: 8px; color: var(--ink); background: #fff; border: 1px solid #d2d4cc; border-radius: 4px; }
.status-row { display: flex; align-items: center; gap: 8px; margin: 20px 0 10px; color: var(--muted); font-size: .7rem; }.status-row strong { margin-right: auto; color: var(--ink); font-size: .82rem; }.result-list { display: grid; gap: 9px; }.result-card { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }.result-card:hover { border-color: #c8796c; box-shadow: 0 3px 9px rgba(48,58,50,.1); }.result-icon { display: grid; place-items: center; width: 52px; height: 52px; background: #fff0eb; border-radius: 4px; }.result-icon img { width: 38px; height: 38px; display: block; }.result-card h2 { margin: 0 0 4px; font-size: .86rem; font-weight: 700; }.result-card p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.45; }.empty-result { padding: 25px 5px; color: var(--muted); font-size: .8rem; line-height: 1.5; text-align: center; }
.map-panel { min-height: 500px; position: relative; }.map-panel #map { width: 100%; height: 100%; min-height: 500px; }.map-credit { position: absolute; right: 8px; bottom: 4px; z-index: 500; margin: 0; padding: 3px 5px; color: #53615b; background: rgba(255,255,255,.85); font-size: .58rem; }.search-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px 14px; min-height: 38px; padding: 7px 12px; color: #718078; background: transparent; border-top: 0; font-size: .62rem; line-height: 1.4; }.search-footer a { color: #718078; text-decoration: underline; }
.circuit-sidebar-detail { padding-top: 4px; }.detail-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 17px; color: var(--red); background: none; border: 0; font-size: .75rem; }.detail-back img { width: 22px; height: 22px; }.sidebar-detail-image { width: 100%; height: 145px; display: block; object-fit: cover; margin-bottom: 17px; border-radius: 5px; }.circuit-sidebar-detail h2 { margin: 0 0 7px; font-size: 1.45rem; font-weight: 500; }.detail-place { margin: 0 0 12px; color: var(--red); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }.detail-lead { color: var(--muted); font-size: .82rem; line-height: 1.55; }.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 18px 0; }.detail-fact { padding: 8px 3px; background: #fff1ed; border: 1px solid #f0d4ce; border-radius: 4px; text-align: center; }.detail-fact img { width: 24px; height: 24px; display: block; margin: 0 auto 4px; }.detail-fact strong, .detail-fact span { display: block; }.detail-fact strong { font-size: .68rem; }.detail-fact span { margin-top: 2px; color: var(--muted); font-size: .55rem; }.detail-copy { color: var(--muted); font-size: .75rem; line-height: 1.6; }
@media (max-width: 760px) { .search-header { min-height: 32px; padding: 2px 8px; background: #fff; border-bottom-color: #e5e5e5; -webkit-backdrop-filter: none; backdrop-filter: none; position: sticky; top: 0; z-index: 10; }.search-layout { display: flex; flex-direction: column; }.control-panel { order: 2; padding: 18px 14px 35px; border-right: 0; }.map-panel { order: 1; min-height: 52vh; }.map-panel #map { min-height: 52vh; }.search-footer { gap: 4px 9px; font-size: .58rem; } }
