:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #17211c; background: #eef1ed; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } * { box-sizing: border-box; } body { margin: 0; min-width: 320px; } button, input, textarea, select { font: inherit; } button { border: 1px solid #acb8ad; border-radius: 7px; background: linear-gradient(#ffffff, #f4f7f3); color: #17211c; cursor: pointer; min-height: 38px; padding: 0.55rem 0.8rem; box-shadow: 0 1px 1px rgb(23 33 28 / 6%); transition: background 120ms ease, border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease; } button:hover:not(:disabled) { border-color: #6b8c86; background: linear-gradient(#ffffff, #eef6f3); box-shadow: 0 2px 7px rgb(23 33 28 / 10%); } button:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 1px 2px rgb(23 33 28 / 8%); } button:disabled { cursor: not-allowed; opacity: 0.55; } input, textarea, select { width: 100%; border: 1px solid #acb8ad; border-radius: 7px; background: #ffffff; color: #17211c; min-height: 38px; padding: 0.5rem 0.65rem; box-shadow: inset 0 1px 1px rgb(23 33 28 / 4%), 0 1px 0 rgb(255 255 255 / 80%); transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease; } input:hover:not(:disabled), textarea:hover:not(:disabled), select:hover:not(:disabled) { border-color: #7f9588; background: #fcfdfb; } input:focus, textarea:focus, select:focus, button:focus-visible { outline: none; border-color: #226a5d; box-shadow: 0 0 0 3px rgb(34 106 93 / 16%), inset 0 1px 1px rgb(23 33 28 / 4%); } input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; background: #eff2ee; color: #8a958d; } input[type="number"] { padding-right: 2rem; appearance: textfield; } input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { margin: 0; opacity: 0; } label, legend { color: #394840; font-size: 0.84rem; font-weight: 650; } a { color: #0b6977; } .app-shell { display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); min-height: 100vh; } .control-panel { --panel-padding: 1rem; display: flex; flex-direction: column; gap: 1rem; border-right: 1px solid #cdd5c9; background: #fafbf8; padding: var(--panel-padding); overflow-y: auto; } .brand-header h1 { margin: 0; color: #17211c; font-size: 1.65rem; line-height: 1.1; } .brand-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.9rem; } .brand-header p { margin: 0.25rem 0 0; color: #66726a; font-size: 0.92rem; line-height: 1.4; } .control-group { display: flex; flex-direction: column; gap: 0.42rem; margin: 0; min-width: 0; border: 0; padding: 0; } .select-field { position: relative; display: flex; flex-direction: column; gap: 0.42rem; min-width: 0; } .select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; min-height: 40px; border-color: #a9b7ae; background: linear-gradient(180deg, #ffffff 0%, #f6f8f5 100%); padding: 0.5rem 0.65rem 0.5rem 0.75rem; text-align: left; } .select-trigger span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .select-trigger[aria-expanded="true"] { border-color: #226a5d; background: #ffffff; box-shadow: 0 0 0 3px rgb(34 106 93 / 16%), 0 8px 24px rgb(23 33 28 / 10%); } .select-chevron { width: 0.56rem; height: 0.56rem; border-right: 2px solid #52635a; border-bottom: 2px solid #52635a; transform: translateY(-2px) rotate(45deg); flex: 0 0 auto; } .select-trigger[aria-expanded="true"] .select-chevron { transform: translateY(2px) rotate(225deg); } .select-menu { position: absolute; z-index: 1100; top: calc(100% + 0.35rem); left: 0; right: 0; display: grid; gap: 0.18rem; max-height: min(320px, 55vh); overflow: auto; border: 1px solid #9db0a6; border-radius: 8px; background: #ffffff; padding: 0.35rem; box-shadow: 0 18px 38px rgb(23 33 28 / 18%), 0 2px 8px rgb(23 33 28 / 10%); } .select-option { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; min-height: 34px; border: 0; border-radius: 6px; background: transparent; padding: 0.42rem 0.55rem; text-align: left; box-shadow: none; } .select-option:hover, .select-option:focus-visible { background: #eef6f3; box-shadow: none; } .select-option-selected { background: #dcece7; color: #174d44; font-weight: 720; } .select-check { width: 0.42rem; height: 0.72rem; border-right: 2px solid #226a5d; border-bottom: 2px solid #226a5d; transform: rotate(45deg); flex: 0 0 auto; } .select-group { display: grid; gap: 0.18rem; } .select-group + .select-group, .select-option + .select-group { margin-top: 0.25rem; border-top: 1px solid #e1e6df; padding-top: 0.3rem; } .select-group-label { color: #66726a; padding: 0.35rem 0.55rem 0.15rem; font-size: 0.74rem; font-weight: 760; letter-spacing: 0; text-transform: uppercase; } .search-section { display: grid; gap: 0.75rem; border-bottom: 1px solid #e1e6df; padding-bottom: 1rem; } .section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; } .section-heading h2 { margin: 0; font-size: 0.98rem; line-height: 1.2; } .section-heading h3 { margin: 0; font-size: 0.98rem; line-height: 1.2; } .section-heading span, .field-note { color: #66726a; font-size: 0.82rem; line-height: 1.35; } .compact-button { min-height: 30px; border-color: #c3d0c7; border-radius: 6px; background: linear-gradient(#ffffff, #f3f7f4); color: #29433b; padding: 0.32rem 0.58rem; font-size: 0.78rem; font-weight: 720; box-shadow: 0 1px 2px rgb(23 33 28 / 6%), inset 0 1px 0 rgb(255 255 255 / 70%); } .compact-button:hover:not(:disabled) { border-color: #7f9588; background: linear-gradient(#ffffff, #e9f3ef); color: #174d44; box-shadow: 0 2px 6px rgb(23 33 28 / 9%); } .field-note { margin: 0; } .custom-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; } .radius-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(96px, 0.55fr); gap: 0.5rem; align-items: end; } .number-stepper { position: relative; } .number-stepper input { min-height: 40px; } .stepper-buttons { position: absolute; top: 4px; right: 4px; bottom: 4px; display: grid; width: 1.35rem; overflow: hidden; border-left: 1px solid #d5ded7; border-radius: 0 5px 5px 0; background: #f2f6f3; } .stepper-button { position: relative; min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; } .stepper-button:hover:not(:disabled) { border: 0; background: #e4eee8; box-shadow: none; } .stepper-button:focus-visible { border: 0; box-shadow: inset 0 0 0 2px rgb(34 106 93 / 28%); } .stepper-button::before { content: ""; position: absolute; left: 50%; width: 0; height: 0; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; } .stepper-up::before { top: 7px; border-bottom: 5px solid #52635a; } .stepper-down::before { bottom: 7px; border-top: 5px solid #52635a; } .checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; } .checkbox-grid label { display: flex; align-items: center; gap: 0.45rem; border: 1px solid #c8d2ca; border-radius: 7px; background: linear-gradient(#ffffff, #f7f9f6); min-height: 36px; padding: 0.42rem 0.55rem; font-weight: 560; cursor: pointer; transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease; } .checkbox-grid label:hover { border-color: #7f9588; background: #f3f9f6; } .checkbox-grid input { position: relative; flex: 0 0 1rem; width: 1rem !important; min-width: 1rem; max-width: 1rem; height: 1rem; min-height: 1rem; margin: 0; border: 1px solid #8ea098; border-radius: 4px; appearance: none; background: #ffffff; padding: 0; box-shadow: inset 0 1px 1px rgb(23 33 28 / 8%); } .checkbox-grid input::before { content: ""; position: absolute; left: 50%; top: 46%; width: 0.28rem; height: 0.52rem; border-right: 2px solid #ffffff; border-bottom: 2px solid #ffffff; transform: translate(-50%, -50%) rotate(45deg) scale(0); transform-origin: center; transition: transform 120ms ease; } .checkbox-grid input:checked { border-color: #226a5d; background: #226a5d; } .checkbox-grid input:checked::before { transform: translate(-50%, -50%) rotate(45deg) scale(1); } .checkbox-grid label:has(input:checked) { border-color: #5f9488; background: #e5f2ee; box-shadow: inset 0 0 0 1px rgb(34 106 93 / 16%); } .active-filter-list { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; } .active-filter-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; border: 1px solid #d7ded5; border-radius: 6px; background: #ffffff; padding: 0.4rem; } .active-filter-list span { min-width: 0; overflow-wrap: anywhere; color: #394840; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 0.8rem; } .active-filter-list button { min-height: 30px; padding: 0.3rem 0.55rem; font-size: 0.8rem; } .segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; } .segmented-control label { display: flex; align-items: center; gap: 0.45rem; border: 1px solid #c8d2ca; border-radius: 7px; background: linear-gradient(#ffffff, #f7f9f6); min-height: 40px; padding: 0.45rem 0.6rem; font-weight: 620; cursor: pointer; transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease; } .segmented-control label:hover { border-color: #7f9588; background: #f3f9f6; } .segmented-control input { position: relative; flex: 0 0 1.05rem; width: 1.05rem !important; min-width: 1.05rem; max-width: 1.05rem; height: 1.05rem; min-height: 1.05rem; margin: 0; border: 1px solid #8ea098; border-radius: 50%; appearance: none; background: #ffffff; padding: 0; box-shadow: inset 0 1px 1px rgb(23 33 28 / 8%); } .segmented-control input::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #ffffff; transform: translate(-50%, -50%) scale(0); transition: transform 120ms ease; } .segmented-control input:checked { border-color: #226a5d; background: #226a5d; } .segmented-control input:checked::before { transform: translate(-50%, -50%) scale(1); } .segmented-control label:has(input:checked) { border-color: #5f9488; background: #e5f2ee; box-shadow: inset 0 0 0 1px rgb(34 106 93 / 16%); } .viewport-note { margin: -0.25rem 0 0; color: #66726a; font-size: 0.86rem; line-height: 1.4; } .button-row, .query-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; } .primary-button { border-color: #226a5d; background: linear-gradient(180deg, #2b7a6c 0%, #226a5d 100%); color: #ffffff; font-weight: 700; box-shadow: 0 2px 7px rgb(34 106 93 / 22%), inset 0 1px 0 rgb(255 255 255 / 16%); } .primary-button:hover:not(:disabled) { border-color: #174d44; background: linear-gradient(180deg, #2b7368 0%, #174d44 100%); } .query-panel, .results-panel { display: flex; flex-direction: column; min-height: 0; } .query-panel-separated { position: relative; gap: 0.65rem; border-top: 1px solid #dbe3dc; background: linear-gradient(180deg, rgb(238 246 242 / 62%) 0%, rgb(250 251 248 / 0%) 100%); margin: 0.15rem calc(var(--panel-padding) * -1) 0; padding: 1rem var(--panel-padding) 0; } .query-panel-separated::before { content: "Advanced"; position: absolute; top: -0.62rem; left: var(--panel-padding); background: #fafbf8; color: #6b7770; padding-right: 0.55rem; font-size: 0.72rem; font-weight: 760; letter-spacing: 0; text-transform: uppercase; } .query-actions { border: 1px solid #d7ded5; border-radius: 8px; background: #ffffff; padding: 0.45rem; } .query-actions button { min-height: 34px; padding: 0.42rem 0.64rem; font-size: 0.82rem; } .query-mode-control { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; } .query-mode-control label { display: flex; align-items: center; gap: 0.45rem; min-height: 34px; border: 1px solid #c8d2ca; border-radius: 7px; background: linear-gradient(#ffffff, #f7f9f6); padding: 0.42rem 0.55rem; font-weight: 620; cursor: pointer; } .query-mode-control input { position: relative; flex: 0 0 0.95rem; width: 0.95rem !important; min-width: 0.95rem; max-width: 0.95rem; height: 0.95rem; min-height: 0.95rem; margin: 0; border: 1px solid #8ea098; border-radius: 50%; appearance: none; background: #ffffff; padding: 0; } .query-mode-control input::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.44rem; height: 0.44rem; border-radius: 50%; background: #ffffff; transform: translate(-50%, -50%) scale(0); transition: transform 120ms ease; } .query-mode-control input:checked { border-color: #226a5d; background: #226a5d; } .query-mode-control input:checked::before { transform: translate(-50%, -50%) scale(1); } .query-mode-control label:has(input:checked) { border-color: #5f9488; background: #e5f2ee; box-shadow: inset 0 0 0 1px rgb(34 106 93 / 16%); } .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.55rem; } .panel-heading h2 { margin: 0; font-size: 1rem; line-height: 1.2; } .panel-heading span { color: #66726a; font-weight: 700; } .query-preview { overflow: auto; max-height: 260px; margin: 0; border: 1px solid #cbd6cf; border-radius: 6px; background: #16201d; color: #eaf4ef; padding: 0.75rem; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 0.78rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; } .custom-query-input { min-height: 190px; resize: vertical; background: #16201d; color: #eaf4ef; padding: 0.75rem; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 0.78rem; line-height: 1.5; white-space: pre; } .custom-query-input::placeholder { color: #91a39a; } .message { margin: 0; border-left: 3px solid #2e7a70; background: #e8f3ef; color: #29433b; padding: 0.65rem 0.75rem; font-size: 0.9rem; line-height: 1.4; } .error-message { border-left-color: #a13f30; background: #f9e9e5; color: #6d2d23; } .workspace { display: grid; grid-template-rows: minmax(420px, 1fr) minmax(180px, 34vh); min-width: 0; min-height: 100vh; } .map-region { min-width: 0; min-height: 420px; } .map-view { width: 100%; height: 100%; } .map-view-dimmed .leaflet-pane, .map-view-dimmed .leaflet-control-container { opacity: 0.55; transition: opacity 140ms ease; } .map-view .leaflet-control-zoom { overflow: hidden; border: 1px solid #a7b6ad; border-radius: 8px; box-shadow: 0 10px 24px rgb(23 33 28 / 14%), 0 2px 6px rgb(23 33 28 / 10%); } .map-view .leaflet-control-zoom a { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-bottom: 1px solid #d5ded7; background: linear-gradient(#ffffff, #f3f7f4); color: #29433b; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 1.25rem; font-weight: 760; line-height: 1; text-decoration: none; transition: background 120ms ease, color 120ms ease, box-shadow 120ms ease; } .map-view .leaflet-control-zoom a:last-child { border-bottom: 0; } .map-view .leaflet-control-zoom a:hover, .map-view .leaflet-control-zoom a:focus-visible { background: linear-gradient(#ffffff, #e6f1ed); color: #174d44; box-shadow: inset 0 0 0 2px rgb(34 106 93 / 14%); } .map-view .leaflet-control-zoom a.leaflet-disabled { background: #eef2ee; color: #99a59d; cursor: not-allowed; } .map-view .leaflet-tooltip { border: 1px solid #a7b6ad; border-radius: 6px; background: #ffffff; color: #17211c; box-shadow: 0 4px 14px rgb(23 33 28 / 14%); font-size: 0.76rem; font-weight: 720; } .map-view .leaflet-tooltip::before { border-top-color: #ffffff; } .result-marker { display: grid; place-items: center; border: 2px solid #ffffff; border-radius: 50%; background: #0b6977; box-shadow: 0 2px 10px rgb(0 0 0 / 25%); } .result-marker span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #ffffff; } .result-marker-selected { background: #c84830; box-shadow: 0 0 0 4px rgb(200 72 48 / 20%); } .results-panel { border-top: 1px solid #cdd5c9; background: #f7f8f5; padding: 0.9rem 1rem 1rem; overflow: hidden; } .results-list { display: grid; gap: 0.55rem; overflow: auto; margin: 0; padding: 0; list-style: none; } .results-list li { display: grid; gap: 0.35rem; border: 1px solid #d7ded5; border-radius: 8px; background: #ffffff; padding: 0.5rem; } .result-row { display: grid; gap: 0.25rem; width: 100%; border: 0; background: transparent; padding: 0.25rem; text-align: left; } .result-row:hover:not(:disabled), .result-row-selected { background: #eef6f4; } .result-title { color: #17211c; font-weight: 750; } .result-meta, .tag-list { color: #66726a; font-size: 0.82rem; line-height: 1.35; } .osm-link { justify-self: start; padding: 0 0.25rem 0.2rem; font-size: 0.82rem; font-weight: 650; } .empty-state { display: grid; place-items: center; min-height: 120px; border: 1px dashed #b8c2b5; border-radius: 8px; color: #66726a; padding: 1rem; text-align: center; line-height: 1.45; } .modal-backdrop { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; background: rgb(23 33 28 / 38%); padding: 1rem; } .settings-modal { display: grid; gap: 1rem; width: min(560px, 100%); max-height: min(760px, calc(100vh - 2rem)); overflow: auto; border: 1px solid #a7b6ad; border-radius: 10px; background: #fafbf8; padding: 1rem; box-shadow: 0 24px 70px rgb(23 33 28 / 26%), 0 8px 24px rgb(23 33 28 / 16%); } .settings-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #dde5de; padding-bottom: 0.8rem; } .settings-header h2 { margin: 0; font-size: 1.25rem; } .settings-header p { margin: 0.25rem 0 0; color: #66726a; font-size: 0.88rem; line-height: 1.4; } .settings-section { display: grid; gap: 0.75rem; border-bottom: 1px solid #e1e6df; padding-bottom: 1rem; } .settings-section:last-child { border-bottom: 0; padding-bottom: 0; } .settings-toggle-grid { display: grid; gap: 0.5rem; } .settings-toggle-grid label { display: flex; align-items: center; gap: 0.55rem; min-height: 38px; border: 1px solid #c8d2ca; border-radius: 7px; background: linear-gradient(#ffffff, #f7f9f6); padding: 0.48rem 0.6rem; font-weight: 620; cursor: pointer; } .settings-toggle-grid label:hover { border-color: #7f9588; background: #f3f9f6; } .settings-toggle-grid input { position: relative; flex: 0 0 1rem; width: 1rem !important; min-width: 1rem; max-width: 1rem; height: 1rem; min-height: 1rem; margin: 0; border: 1px solid #8ea098; border-radius: 4px; appearance: none; background: #ffffff; padding: 0; } .settings-toggle-grid input::before { content: ""; position: absolute; left: 50%; top: 46%; width: 0.28rem; height: 0.52rem; border-right: 2px solid #ffffff; border-bottom: 2px solid #ffffff; transform: translate(-50%, -50%) rotate(45deg) scale(0); transition: transform 120ms ease; } .settings-toggle-grid input:checked { border-color: #226a5d; background: #226a5d; } .settings-toggle-grid input:checked::before { transform: translate(-50%, -50%) rotate(45deg) scale(1); } .settings-toggle-grid label:has(input:checked) { border-color: #5f9488; background: #e5f2ee; box-shadow: inset 0 0 0 1px rgb(34 106 93 / 16%); } @media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; } .control-panel { border-right: 0; border-bottom: 1px solid #cdd5c9; } .workspace { grid-template-rows: 62vh minmax(260px, auto); min-height: auto; } } @media (max-width: 560px) { .control-panel, .results-panel { --panel-padding: 0.8rem; padding: var(--panel-padding); } .custom-fields, .radius-controls, .segmented-control, .checkbox-grid, .query-mode-control { grid-template-columns: 1fr; } .query-actions, .button-row { flex-direction: column; } .button-row button, .query-actions button { width: 100%; } .settings-header { align-items: stretch; flex-direction: column; } }