: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); } .toolbar-actions, .layer-button { display: flex; align-items: center; gap: 7px; } .toolbar-actions { flex: 0 0 auto; } .layer-button.is-active { background: #ccebe3; color: var(--accent-strong); } .layer-symbol { width: 20px; height: 20px; background: url("../lib/leaflet/images/layers.png") center / contain no-repeat; } .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); } .map-layer-panel { position: absolute; top: 72px; right: 12px; bottom: calc(var(--nav-height) + 8px); z-index: 940; display: grid; box-sizing: border-box; width: min(480px, 50vw); overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: 9px; background: rgba(255, 255, 255, 0.98); box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22); } .map-layer-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 7px 4px; border-bottom: 1px solid var(--line); } .layer-panel-close { width: 36px; min-width: 36px; min-height: 34px; padding: 0; background: #e9eef0; color: var(--ink); font-size: 23px; } .map-layer-option { display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 6px 4px; border-bottom: 1px solid #e5eaed; } .map-layer-option input { flex: 0 0 auto; width: 19px; height: 19px; } .map-layer-option span { display: grid; gap: 2px; } .map-layer-option small { color: var(--muted); font-size: 10px; font-weight: 600; } .layer-panel-actions { display: grid; gap: 7px; padding-top: 9px; } .layer-tree-section { display: grid; gap: 6px; padding-top: 9px; } .layer-tree-section > header { display: grid; gap: 2px; padding: 0 4px; } .layer-tree-section > header small { color: var(--muted); font-size: 10px; } .layer-manager-tree, .layer-manager-children { display: grid; gap: 4px; } .layer-manager-group, .layer-manager-block, .layer-manager-object { border: 1px solid var(--layer-group-border, #dce3e6); border-radius: 6px; background: var(--layer-group-surface, #fff); } .layer-manager-group > summary, .layer-manager-block > summary { background: var(--layer-group-parent, #f6f8f9); } .layer-manager-object > summary { background: var(--layer-group-surface, #fff); } .layer-manager-group > summary, .layer-manager-block > summary, .layer-manager-object > summary { display: grid; grid-template-columns: 28px minmax(0, 1fr) 50px; grid-template-areas: "handle title count" ". visibility moves" ". actions moves"; align-items: start; gap: 6px; min-height: 38px; padding: 4px 6px; cursor: pointer; list-style: none; } .layer-manager-group > summary::-webkit-details-marker, .layer-manager-block > summary::-webkit-details-marker, .layer-manager-object > summary::-webkit-details-marker { display: none; } .layer-drag-handle { grid-area: handle; width: 28px; height: 28px; border: 0; border-radius: 4px; background: #e9eef0; color: var(--ink); font-size: 18px; line-height: 1; touch-action: none; cursor: grab; } .layer-row-actions { grid-area: actions; display: grid; grid-template-columns: minmax(0, 1fr); width: min(130px, 100%); gap: 4px; } .layer-manager-group > summary > input, .layer-manager-block > summary > input, .layer-manager-object > summary > input { grid-area: visibility; justify-self: start; width: 20px; height: 20px; margin: 1px 0; } .layer-rename-button, .layer-remove-button { width: 100%; min-height: 28px; min-width: 0; padding: 4px; border: 1px solid #bfd4cd; border-radius: 4px; background: #eef8f5; color: var(--accent-strong); font-size: 10px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; } .layer-rename-button:active { background: #d9eee7; } .layer-remove-button { border-color: #fecaca; background: #fff1f2; color: #b42318; } .layer-remove-button:active { background: #ffe4e6; } .layer-move-buttons { grid-area: moves; display: inline-grid; grid-template-columns: 24px 24px; gap: 2px; } .layer-move-buttons button { width: 24px; height: 28px; padding: 0; border: 1px solid #cbd5da; border-radius: 4px; background: #f6f8f9; color: var(--ink); font-size: 16px; font-weight: 800; line-height: 1; } .layer-move-buttons button:active { background: #dce8ec; } .layer-manager-title { grid-area: title; min-width: 0; overflow-wrap: anywhere; color: var(--layer-group-accent, var(--ink)); font-size: 12px; } .layer-manager-group > summary > .layer-manager-title { font-size: 13px; font-weight: 800; } .layer-manager-block > summary > .layer-manager-title { font-size: 12px; font-weight: 800; } .layer-manager-object > summary > .layer-manager-title { font-size: 11px; font-style: italic; font-weight: 400; } .layer-manager-count { grid-area: count; justify-self: end; color: var(--muted); font-size: 10px; } .layer-manager-children { margin-left: 4px; padding: 4px 3px 5px 6px; border-left: 2px solid var(--layer-group-border, #dce3e6); } .layer-manager-block > .layer-manager-children { margin-left: 5px; padding-left: 5px; } .layer-manager-object { margin-left: 3px; border-radius: 4px; } .layer-manager-object > summary { grid-template-columns: 24px minmax(0, 1fr) 46px; gap: 4px; padding: 3px 4px; } .layer-manager-object > summary > .layer-drag-handle { width: 24px; height: 24px; font-size: 15px; } .layer-manager-object > summary > .layer-move-buttons { grid-template-columns: 22px 22px; } .layer-manager-object > summary > .layer-move-buttons button { width: 22px; height: 24px; } .layer-manager-object > summary .layer-rename-button, .layer-manager-object > summary .layer-remove-button { min-height: 24px; font-size: 9px; } .layer-manager-details { display: grid; gap: 2px; padding: 0 6px 7px 12px; color: var(--muted); font-size: 10px; } .layer-manager-suboption { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 30px; color: var(--ink); font-size: 11px; font-weight: 700; } .layer-manager-suboption input { margin: 0; } .layer-manager-info { display: grid; gap: 2px; padding: 3px 0 0 24px; } .layer-manager-dragging { opacity: 0.55; outline: 2px solid #2563eb; } .layer-manager-object-selected > summary { background: #fff0fb; box-shadow: inset 3px 0 #ff00d4; } .layer-manager-parent-highlighted > summary, .layer-manager-parent-selected > summary { background: #fff0fb; box-shadow: inset 3px 0 #ff00d4; } .gps-overlay { position: absolute; top: 72px; right: auto; bottom: auto; left: 12px; 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); transition: top 140ms ease; } .gps-overlay.search-open { top: 140px; } .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); } .leaflet-top.leaflet-right { top: 68px; right: 2px; } .map-stage.search-active .leaflet-top.leaflet-right { top: 136px; } .leaflet-touch .leaflet-draw-toolbar a { width: 38px; height: 38px; } .lme-drawing-scope-actions a[aria-disabled="true"] { opacity: 0.45; pointer-events: none; } .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; } .panel-section { display: grid; gap: 12px; padding: 0 0 16px; border-bottom: 1px solid var(--line); } .panel-section:last-child { padding-bottom: 0; border-bottom: 0; } .panel-section h2 { margin-top: 0; } .field-help { margin-top: -7px; color: var(--muted); font-size: 10px; line-height: 1.35; } 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); } .danger-command { width: 100%; border: 1px solid #cfaca8; background: #fff; color: #9b2f26; } .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; } .project-save-option { padding: 10px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; } .project-archive-state { color: var(--muted); font-size: 11px; line-height: 1.35; } .measurement-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; } .measurement-mode-grid button { min-width: 0; padding: 0 8px; } .lme-measure-label { width: 0 !important; height: 0 !important; border: 0 !important; background: transparent !important; pointer-events: none !important; } .lme-measure-label span { position: absolute; transform: translate(-50%, -50%); border: 1px solid rgba(23, 33, 43, 0.35); border-radius: 4px; padding: 2px 5px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24); color: #17212b; font-size: 10px; font-weight: 800; line-height: 1.25; white-space: nowrap; } .lme-measure-label.imported span { border-color: #15806a; color: #0c5749; } .lme-measure-label.drawing span { border-color: #d35d0b; color: #7c2d12; } .lme-measure-label.side span { padding: 1px 4px; font-size: 9px; font-weight: 700; } .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; } .wms-preview[hidden] { display: none; } .wms-preview { position: absolute; inset: 0; z-index: 1400; display: grid; place-items: center; padding: 16px; background: rgba(15, 22, 27, 0.72); } .wms-preview-dialog { display: grid; grid-template-rows: auto minmax(0, 1fr); width: min(980px, 100%); height: min(820px, 100%); overflow: hidden; border-radius: 8px; background: #fff; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34); } .wms-preview-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-bottom: 1px solid var(--line); } .wms-preview-dialog > header div { display: grid; gap: 2px; } .wms-preview-dialog > header small { color: var(--muted); font-size: 10px; } .wms-preview-body { display: grid; min-height: 0; place-items: center; overflow: auto; padding: 12px; background: #eef2f3; color: var(--muted); } .wms-preview-map { position: relative; flex: 0 0 auto; overflow: hidden; background: #fff; } .wms-preview-map[hidden] { display: none; } .wms-preview-map img, .wms-preview-map svg { display: block; width: 100%; height: 100%; } .wms-preview-map svg { position: absolute; inset: 0; pointer-events: none; } .wms-preview-parcel { fill: rgba(251, 191, 36, 0.28); fill-rule: evenodd; stroke: #ef4444; stroke-width: 4px; vector-effect: non-scaling-stroke; } .wms-preview-gps-parcel { fill: rgba(56, 189, 248, 0.24); fill-rule: evenodd; stroke: #1d4ed8; stroke-width: 4px; vector-effect: non-scaling-stroke; } .bottom-tabs { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1200; display: grid; grid-template-columns: repeat(6, 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; } .map-layer-panel { top: 68px; right: 8px; bottom: calc(var(--nav-height) + 8px); width: 50vw; } .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 { top: 68px; right: 8px; bottom: auto; left: 8px; grid-template-columns: minmax(0, 1fr) auto auto; max-width: none; } .gps-overlay.search-open { top: 136px; } .leaflet-top.leaflet-right { top: 122px; right: 0; } .map-stage.search-active .leaflet-top.leaflet-right { top: 190px; } .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 { padding: 0 2px; font-size: 10px; } .wms-preview { padding: 8px; } } @media (max-width: 380px) { .app-identity span { display: none; } .gps-state { min-width: 0; } .gps-center { display: none; } .bottom-tabs button { font-size: 9px; } }