:root { --ink: #17212b; --muted: #63717c; --surface: #ffffff; --panel: #f4f6f7; --line: #d6dde2; --accent: #14705e; --accent-strong: #0c5749; --warning: #a34b08; --nav-height: 64px; } html, body, #app, .app-shell, .map-app, .map-stage { width: 100%; height: 100%; margin: 0; overflow: hidden; } html, body { font-family: Inter, "Segoe UI", Arial, sans-serif; background: #d8e0e4; color: var(--ink); } button, input, select { font: inherit; } button { min-height: 42px; border: 0; border-radius: 6px; padding: 0 14px; background: var(--accent); color: #fff; font-weight: 700; } button:active:not(:disabled) { transform: translateY(1px); } button:disabled { opacity: 0.48; } input, select { width: 100%; min-height: 44px; border: 1px solid #bfcbd2; border-radius: 6px; padding: 0 11px; background: #fff; color: var(--ink); } input[type="range"], input[type="checkbox"] { min-height: auto; } .map-stage { position: relative; } #map { position: absolute; inset: 0; background: #d8e0e4; } .map-toolbar { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 7px 8px 7px 13px; border: 1px solid rgba(255, 255, 255, 0.54); border-radius: 8px; background: rgba(22, 31, 38, 0.9); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22); color: #fff; } .app-identity { display: flex; align-items: baseline; gap: 10px; min-width: 0; } .app-identity strong { font-size: 18px; white-space: nowrap; } .app-identity span { overflow: hidden; color: #bfe6dc; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .toolbar-button { min-height: 38px; background: #fff; color: var(--ink); } .map-search { position: absolute; top: 72px; left: 12px; right: 12px; z-index: 890; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; max-width: 640px; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.96); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 140ms ease, transform 140ms ease; } .map-search.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); } .gps-overlay { position: absolute; right: 12px; bottom: 78px; z-index: 850; display: grid; grid-template-columns: minmax(160px, auto) auto auto; align-items: center; gap: 7px; max-width: calc(100% - 24px); padding: 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2); } .gps-state { display: grid; min-width: 0; padding: 0 6px; font-size: 11px; } .gps-state span, .gps-state strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .gps-state strong { color: #a33227; } .gps-main, .gps-center { min-height: 38px; padding: 0 10px; white-space: nowrap; } .gps-center { background: #e7ecef; color: var(--ink); } .tool-sheet { position: absolute; top: 0; bottom: var(--nav-height); left: 0; z-index: 1100; display: flex; flex-direction: column; width: min(430px, calc(100% - 48px)); border-right: 1px solid var(--line); background: var(--panel); box-shadow: 7px 0 24px rgba(0, 0, 0, 0.24); } .sheet-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 16px 13px; border-bottom: 1px solid var(--line); background: #fff; } .eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; } h1, h2, p { margin-top: 0; } h1 { margin-bottom: 0; font-size: 22px; line-height: 1.12; } h2 { margin: 10px 0 2px; font-size: 15px; } .close-button { width: 42px; min-width: 42px; padding: 0; background: #e9eef0; color: var(--ink); font-size: 27px; line-height: 1; } .panel-content { display: grid; gap: 12px; overflow-y: auto; padding: 15px 16px 24px; } label { display: grid; gap: 5px; color: #45545f; font-size: 12px; font-weight: 800; } .button-row { display: flex; gap: 8px; } .button-row > * { flex: 1; } .primary-command, .secondary-command { width: 100%; } .secondary-command { border: 1px solid #b9c7ce; background: #fff; color: var(--ink); } .file-picker { position: relative; min-height: 52px; place-items: center; border: 1px dashed #7e969f; border-radius: 8px; background: #fff; color: var(--accent-strong); cursor: pointer; } .file-picker input { position: absolute; inset: 0; opacity: 0; cursor: pointer; } .catalog-progress, .service-note { display: grid; gap: 7px; padding: 11px; border: 1px solid #c7dce0; border-radius: 8px; background: #edf7f5; color: #24443e; font-size: 12px; line-height: 1.4; } .catalog-progress progress { width: 100%; accent-color: var(--accent); } .service-note p { margin-bottom: 0; } .protected-service { border-color: #ead4b9; background: #fff7ea; color: #5d4024; } .layer-toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 4px 0; } .layer-toggles label, .toggle-line { display: flex; align-items: center; gap: 8px; } .layer-toggles input, .toggle-line input { width: 18px; height: 18px; } .map-info { position: absolute; left: 12px; bottom: 76px; z-index: 820; max-width: min(620px, calc(100% - 460px)); border-radius: 8px; padding: 9px 11px; background: rgba(22, 31, 38, 0.88); color: #fff; font-size: 12px; pointer-events: none; } .bottom-tabs { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1200; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: var(--nav-height); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #bcc7cd; background: rgba(255, 255, 255, 0.98); } .bottom-tabs button { min-width: 0; min-height: 0; border-radius: 0; padding: 0 5px; background: transparent; color: #52616c; font-size: 12px; } .bottom-tabs button.active { box-shadow: inset 0 3px 0 var(--accent); color: var(--accent-strong); } footer { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; } .leaflet-bottom { bottom: calc(var(--nav-height) + 6px); } #blazor-error-ui { position: fixed; right: 8px; bottom: calc(var(--nav-height) + 8px); left: 8px; z-index: 2000; display: none; border: 1px solid #e4be77; border-radius: 8px; padding: 10px 42px 10px 12px; background: #fff3cd; color: #5f4614; } #blazor-error-ui .dismiss { position: absolute; top: 7px; right: 10px; cursor: pointer; } .status-bar-safe-area { display: none; } @media (max-width: 700px) { .map-toolbar { top: 8px; left: 8px; right: 8px; } .map-search { top: 68px; left: 8px; right: 8px; } .tool-sheet { top: 10%; bottom: var(--nav-height); width: 100%; border-top: 1px solid var(--line); border-right: 0; border-radius: 8px 8px 0 0; box-shadow: 0 -7px 24px rgba(0, 0, 0, 0.24); } .gps-overlay { right: 8px; bottom: 116px; left: 8px; grid-template-columns: minmax(0, 1fr) auto auto; max-width: none; } .gps-main, .gps-center { padding: 0 8px; font-size: 11px; } .map-info { right: 8px; bottom: 72px; left: 8px; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bottom-tabs button { font-size: 11px; } } @media (max-width: 380px) { .app-identity span { display: none; } .gps-state { min-width: 0; } .gps-center { display: none; } .bottom-tabs button { font-size: 10px; } }