:root { --bg: #f5f7f4; --surface: rgba(255, 255, 255, 0.94); --surface-strong: #ffffff; --ink: #17201b; --muted: #68736c; --line: #dfe5df; --accent: #205c46; --accent-strong: #124c37; --accent-soft: #e4f0e9; --national: #5c43c6; --metro: #e15b3c; --grid: rgba(47, 85, 67, 0.55); --shadow: 0 18px 55px rgba(23, 32, 27, 0.13); --shadow-small: 0 8px 24px rgba(23, 32, 27, 0.1); --radius: 18px; --topbar-height: 70px; --sidebar-width: 350px; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; } body { overflow: hidden; overscroll-behavior: none; } html { overflow: hidden; overscroll-behavior: none; } button, input, select { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { color: inherit; } svg { display: block; } .app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); grid-template-rows: var(--topbar-height) minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 0; } .topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 22px; background: rgba(250, 252, 249, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); z-index: 1200; } .brand { display: flex; align-items: center; gap: 12px; min-width: 270px; } .brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #2d7358, #153f31); box-shadow: 0 8px 22px rgba(32, 92, 70, 0.22); } .brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; } .brand strong { display: block; letter-spacing: -0.02em; } .brand span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); } .topbar-status { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.68); } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #36a269; box-shadow: 0 0 0 4px rgba(54,162,105,0.12); } .topbar-status.is-busy .status-dot { background: #d49331; box-shadow: 0 0 0 4px rgba(212,147,49,0.14); } .topbar-status.is-error .status-dot { background: #c95842; box-shadow: 0 0 0 4px rgba(201,88,66,0.12); } .topbar-actions { display: flex; align-items: center; gap: 9px; } .icon-button, .secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: 160ms ease; } .icon-button { width: 39px; padding: 0; background: var(--surface-strong); } .icon-button svg, .secondary-button svg, .primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .secondary-button { background: var(--surface-strong); font-weight: 650; } .primary-button { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 700; } .icon-button:hover, .secondary-button:hover { border-color: #bfcac2; transform: translateY(-1px); } .primary-button:hover { background: var(--accent-strong); transform: translateY(-1px); } .sidebar { min-height: 0; overflow-y: auto; padding: 18px; background: #f1f4f0; border-right: 1px solid var(--line); scrollbar-width: thin; z-index: 900; } .panel { margin-bottom: 14px; padding: 17px; background: var(--surface); border: 1px solid rgba(213, 222, 215, 0.92); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(31, 45, 36, 0.04); } .compact-panel { padding-bottom: 14px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; } .section-heading h2 { margin: 2px 0 0; font-size: 16px; letter-spacing: -0.01em; } .eyebrow { display: block; color: #77837b; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; } .text-button { padding: 4px 0; border: 0; color: var(--accent); background: none; cursor: pointer; font-size: 12px; font-weight: 750; } .base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; } .base-card { min-width: 0; padding: 8px; display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: 150ms ease; } .base-card:hover { transform: translateY(-1px); border-color: #b9c7bd; } .base-card.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px rgba(32, 92, 70, 0.08); } .base-preview { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 9px; border: 1px solid rgba(27, 43, 33, 0.12); } .preview-standard { background: linear-gradient(135deg, #e7eadc 0 35%, #c8d9c4 35% 53%, #e6d9be 53% 70%, #bcd4df 70%); } .preview-clean { background: repeating-linear-gradient(135deg, #f7f7f4 0 6px, #e8ece9 6px 7px), linear-gradient(#fff, #edf1ee); } .preview-topo { background: repeating-radial-gradient(ellipse at 75% 45%, transparent 0 5px, rgba(93,77,47,.45) 6px 7px), linear-gradient(135deg, #e8e3c8, #cdd9af); } .preview-satellite { background: linear-gradient(135deg, #263e2e, #668056 38%, #6f684c 39% 65%, #344c37 66%); } .preview-relief { background: radial-gradient(circle at 32% 28%, #f0eadb 0 14%, #7c8b6b 15% 31%, #465c46 32% 47%, #233d32 48%); } .base-card strong { display: block; font-size: 11px; white-space: nowrap; } .base-card small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); white-space: nowrap; } .switch-row { min-height: 55px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0ed; cursor: pointer; } .switch-row:first-of-type { border-top: 0; } .switch-copy { flex: 1; min-width: 0; } .switch-copy strong { display: block; font-size: 12px; } .switch-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; } .switch-row input { position: absolute; opacity: 0; pointer-events: none; } .switch { width: 39px; height: 23px; padding: 3px; flex: 0 0 auto; border-radius: 999px; background: #cdd5cf; transition: 150ms ease; } .switch::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,0.18); transition: 150ms ease; } .switch-row input:checked + .switch { background: var(--accent); } .switch-row input:checked + .switch::after { transform: translateX(16px); } .rail-actions { margin-top: 13px; } .full-width { width: 100%; } #railStatus { margin: 9px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.55; } .chip-list { display: flex; flex-wrap: wrap; gap: 7px; } .chip-list button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 11px; transition: 150ms ease; } .chip-list button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); } .cost-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 17px; color: #eef7f1; background: linear-gradient(145deg, #244e3d, #17372b); border-radius: var(--radius); box-shadow: var(--shadow-small); } .cost-card .eyebrow { color: #9fc2b0; } .cost-card strong { display: block; margin-top: 7px; font-size: 13px; } .cost-card p { margin: 7px 0 0; color: #c0d4c8; font-size: 10px; line-height: 1.55; } .cost-card a { flex: 0 0 auto; color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; } .map-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #d9e0da; } #map { width: 100%; height: 100%; background: #d9e0da; } .leaflet-container { font-family: inherit; outline: none; } .leaflet-control-attribution { padding: 3px 7px !important; border-radius: 7px 0 0 0; background: rgba(255,255,255,0.78) !important; font-size: 9px !important; } .leaflet-control-attribution a { color: var(--accent-strong); } .map-toolbar { position: absolute; top: 18px; right: 18px; z-index: 700; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(200, 211, 203, 0.92); border-radius: 13px; box-shadow: var(--shadow-small); } .map-toolbar button { width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.93); cursor: pointer; } .map-toolbar button:last-child { border-bottom: 0; } .map-toolbar button:hover { background: var(--accent-soft); } .map-toolbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .map-legend { position: absolute; left: 18px; bottom: 42px; z-index: 700; min-width: 155px; padding: 12px 14px; border: 1px solid rgba(200, 211, 203, 0.88); border-radius: 13px; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); box-shadow: var(--shadow-small); color: #435047; font-size: 10px; } .legend-title { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; } .map-legend > div:not(.legend-title) { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .map-legend > div[hidden] { display: none; } .legend-line { width: 26px; height: 3px; border-radius: 4px; } .legend-line.national { background: var(--national); } .legend-line.metro { background: var(--metro); } .legend-line.grid { background: var(--grid); } .legend-symbol.contour { width: 23px; height: 8px; border-top: 1px solid #8c7449; border-bottom: 1px solid #b59c68; transform: skewY(-12deg); } .legend-swatch { width: 22px; height: 10px; flex: 0 0 22px; border-radius: 3px; background: linear-gradient(90deg, #1f9d62, #54ad55, #94bd4c); } .legend-swatch.water { background: rgba(79, 182, 220, 0.48); border: 1px solid #227a9f; } .railway-infra-layer img { filter: contrast(1.18) drop-shadow(0 0 1px rgba(255,255,255,0.92)); } .map-readout { position: absolute; right: 18px; bottom: 17px; z-index: 700; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(200, 211, 203, 0.86); border-radius: 10px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); color: #526158; font-size: 9px; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-small); } .map-readout .divider { width: 1px; height: 11px; background: var(--line); } .toast { position: absolute; left: 50%; top: 20px; z-index: 1300; max-width: min(520px, calc(100% - 40px)); padding: 11px 15px; border-radius: 11px; color: #fff; background: rgba(27, 41, 33, 0.91); box-shadow: var(--shadow-small); font-size: 11px; line-height: 1.55; opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: 180ms ease; } .toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.error { background: rgba(127, 54, 42, 0.94); } .leaflet-popup-content-wrapper { border-radius: 13px; box-shadow: var(--shadow-small); } .leaflet-popup-content { margin: 12px 14px; font-size: 11px; line-height: 1.55; } @media (max-width: 900px) { :root { --sidebar-width: 320px; } .topbar-status { display: none; } .brand span { display: none; } .brand { min-width: 0; } .sidebar { position: fixed; top: var(--topbar-height); bottom: 0; left: 0; width: min(360px, calc(100vw - 36px)); transform: translateX(-105%); transition: 220ms ease; box-shadow: var(--shadow); } .sidebar.open { transform: translateX(0); } .app-shell { grid-template-columns: 1fr; } .map-stage { grid-column: 1; } } @media (max-width: 560px) { .app-shell { min-height: 0; } .topbar { padding: 0 12px; gap: 10px; } .brand-mark { width: 38px; height: 38px; } .brand strong { font-size: 13px; } .topbar-actions { gap: 6px; } .topbar-actions .secondary-button { width: 39px; padding: 0; font-size: 0; } .primary-button { padding: 0 11px; } .map-legend { left: 10px; bottom: 46px; min-width: 130px; } .map-readout { left: 10px; right: auto; bottom: 10px; max-width: calc(100% - 20px); } .map-toolbar { right: 10px; top: 10px; } } :root { --bg: #f5f7f4; --surface: rgba(255, 255, 255, 0.94); --surface-strong: #ffffff; --ink: #17201b; --muted: #68736c; --line: #dfe5df; --accent: #205c46; --accent-strong: #124c37; --accent-soft: #e4f0e9; --national: #5c43c6; --metro: #e15b3c; --grid: rgba(47, 85, 67, 0.55); --shadow: 0 18px 55px rgba(23, 32, 27, 0.13); --shadow-small: 0 8px 24px rgba(23, 32, 27, 0.1); --radius: 18px; --topbar-height: 70px; --sidebar-width: 350px; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; } body { overflow: hidden; overscroll-behavior: none; } html { overflow: hidden; overscroll-behavior: none; } button, input, select { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { color: inherit; } svg { display: block; } .app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); grid-template-rows: var(--topbar-height) minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 0; } .topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 22px; background: rgba(250, 252, 249, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); z-index: 1200; } .brand { display: flex; align-items: center; gap: 12px; min-width: 270px; } .brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #2d7358, #153f31); box-shadow: 0 8px 22px rgba(32, 92, 70, 0.22); } .brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; } .brand strong { display: block; letter-spacing: -0.02em; } .brand span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); } .topbar-status { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.68); } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #36a269; box-shadow: 0 0 0 4px rgba(54,162,105,0.12); } .topbar-status.is-busy .status-dot { background: #d49331; box-shadow: 0 0 0 4px rgba(212,147,49,0.14); } .topbar-status.is-error .status-dot { background: #c95842; box-shadow: 0 0 0 4px rgba(201,88,66,0.12); } .topbar-actions { display: flex; align-items: center; gap: 9px; } .icon-button, .secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: 160ms ease; } .icon-button { width: 39px; padding: 0; background: var(--surface-strong); } .icon-button svg, .secondary-button svg, .primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .secondary-button { background: var(--surface-strong); font-weight: 650; } .primary-button { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 700; } .icon-button:hover, .secondary-button:hover { border-color: #bfcac2; transform: translateY(-1px); } .primary-button:hover { background: var(--accent-strong); transform: translateY(-1px); } .sidebar { min-height: 0; overflow-y: auto; padding: 18px; background: #f1f4f0; border-right: 1px solid var(--line); scrollbar-width: thin; z-index: 900; } .panel { margin-bottom: 14px; padding: 17px; background: var(--surface); border: 1px solid rgba(213, 222, 215, 0.92); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(31, 45, 36, 0.04); } .compact-panel { padding-bottom: 14px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; } .section-heading h2 { margin: 2px 0 0; font-size: 16px; letter-spacing: -0.01em; } .eyebrow { display: block; color: #77837b; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; } .text-button { padding: 4px 0; border: 0; color: var(--accent); background: none; cursor: pointer; font-size: 12px; font-weight: 750; } .base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; } .base-card { min-width: 0; padding: 8px; display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: 150ms ease; } .base-card:hover { transform: translateY(-1px); border-color: #b9c7bd; } .base-card.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px rgba(32, 92, 70, 0.08); } .base-preview { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 9px; border: 1px solid rgba(27, 43, 33, 0.12); } .preview-standard { background: linear-gradient(135deg, #e7eadc 0 35%, #c8d9c4 35% 53%, #e6d9be 53% 70%, #bcd4df 70%); } .preview-topo { background: repeating-radial-gradient(ellipse at 75% 45%, transparent 0 5px, rgba(93,77,47,.45) 6px 7px), linear-gradient(135deg, #e8e3c8, #cdd9af); } .preview-satellite { background: linear-gradient(135deg, #263e2e, #668056 38%, #6f684c 39% 65%, #344c37 66%); } .preview-relief { background: radial-gradient(circle at 32% 28%, #f0eadb 0 14%, #7c8b6b 15% 31%, #465c46 32% 47%, #233d32 48%); } .base-card strong { display: block; font-size: 11px; white-space: nowrap; } .base-card small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); white-space: nowrap; } .switch-row { min-height: 55px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0ed; cursor: pointer; } .switch-row:first-of-type { border-top: 0; } .switch-copy { flex: 1; min-width: 0; } .switch-copy strong { display: block; font-size: 12px; } .switch-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; } .switch-row input { position: absolute; opacity: 0; pointer-events: none; } .switch { width: 39px; height: 23px; padding: 3px; flex: 0 0 auto; border-radius: 999px; background: #cdd5cf; transition: 150ms ease; } .switch::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,0.18); transition: 150ms ease; } .switch-row input:checked + .switch { background: var(--accent); } .switch-row input:checked + .switch::after { transform: translateX(16px); } .rail-actions { margin-top: 13px; } .full-width { width: 100%; } #railStatus { margin: 9px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.55; } .chip-list { display: flex; flex-wrap: wrap; gap: 7px; } .chip-list button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 11px; transition: 150ms ease; } .chip-list button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); } .cost-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 17px; color: #eef7f1; background: linear-gradient(145deg, #244e3d, #17372b); border-radius: var(--radius); box-shadow: var(--shadow-small); } .cost-card .eyebrow { color: #9fc2b0; } .cost-card strong { display: block; margin-top: 7px; font-size: 13px; } .cost-card p { margin: 7px 0 0; color: #c0d4c8; font-size: 10px; line-height: 1.55; } .cost-card a { flex: 0 0 auto; color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; } .map-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #d9e0da; } #map { width: 100%; height: 100%; background: #d9e0da; } .leaflet-container { font-family: inherit; outline: none; } .leaflet-control-attribution { padding: 3px 7px !important; border-radius: 7px 0 0 0; background: rgba(255,255,255,0.78) !important; font-size: 9px !important; } .leaflet-control-attribution a { color: var(--accent-strong); } .map-toolbar { position: absolute; top: 18px; right: 18px; z-index: 700; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(200, 211, 203, 0.92); border-radius: 13px; box-shadow: var(--shadow-small); } .map-toolbar button { width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.93); cursor: pointer; } .map-toolbar button:last-child { border-bottom: 0; } .map-toolbar button:hover { background: var(--accent-soft); } .map-toolbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .map-legend { position: absolute; left: 18px; bottom: 42px; z-index: 700; min-width: 155px; padding: 12px 14px; border: 1px solid rgba(200, 211, 203, 0.88); border-radius: 13px; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); box-shadow: var(--shadow-small); color: #435047; font-size: 10px; } .legend-title { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; } .map-legend > div:not(.legend-title) { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .legend-line { width: 26px; height: 3px; border-radius: 4px; } .legend-line.national { background: var(--national); } .legend-line.metro { background: var(--metro); } .legend-line.grid { background: var(--grid); } .legend-symbol.contour { width: 23px; height: 8px; border-top: 1px solid #8c7449; border-bottom: 1px solid #b59c68; transform: skewY(-12deg); } .map-readout { position: absolute; right: 18px; bottom: 17px; z-index: 700; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(200, 211, 203, 0.86); border-radius: 10px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); color: #526158; font-size: 9px; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-small); } .map-readout .divider { width: 1px; height: 11px; background: var(--line); } .toast { position: absolute; left: 50%; top: 20px; z-index: 1300; max-width: min(520px, calc(100% - 40px)); padding: 11px 15px; border-radius: 11px; color: #fff; background: rgba(27, 41, 33, 0.91); box-shadow: var(--shadow-small); font-size: 11px; line-height: 1.55; opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: 180ms ease; } .toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.error { background: rgba(127, 54, 42, 0.94); } .leaflet-popup-content-wrapper { border-radius: 13px; box-shadow: var(--shadow-small); } .leaflet-popup-content { margin: 12px 14px; font-size: 11px; line-height: 1.55; } @media (max-width: 900px) { :root { --sidebar-width: 320px; } .topbar-status { display: none; } .brand span { display: none; } .brand { min-width: 0; } .sidebar { position: fixed; top: var(--topbar-height); bottom: 0; left: 0; width: min(360px, calc(100vw - 36px)); transform: translateX(-105%); transition: 220ms ease; box-shadow: var(--shadow); } .sidebar.open { transform: translateX(0); } .app-shell { grid-template-columns: 1fr; } .map-stage { grid-column: 1; } } @media (max-width: 560px) { .app-shell { min-height: 0; } .topbar { padding: 0 12px; gap: 10px; } .brand-mark { width: 38px; height: 38px; } .brand strong { font-size: 13px; } .topbar-actions { gap: 6px; } .topbar-actions .secondary-button { width: 39px; padding: 0; font-size: 0; } .primary-button { padding: 0 11px; } .map-legend { left: 10px; bottom: 46px; min-width: 130px; } .map-readout { left: 10px; right: auto; bottom: 10px; max-width: calc(100% - 20px); } .map-toolbar { right: 10px; top: 10px; } } .contour-controls { margin: 2px 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #f8faf7; } .contour-controls.is-disabled { display: none; } .control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; } .control-grid.single-grid { grid-template-columns: 1fr; } .contour-controls label { display: block; color: var(--muted); font-size: 10px; font-weight: 750; } .contour-controls select, .contour-controls input[type="number"] { width: 100%; min-width: 0; margin-top: 5px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 10px; } .contour-controls input[type="color"] { width: 100%; height: 31px; margin-top: 5px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .range-label { margin-top: 9px; } .range-label output { float: right; color: var(--ink); font-variant-numeric: tabular-nums; } .contour-controls input[type="range"] { width: 100%; margin: 8px 0 0; accent-color: var(--accent); } :root { --bg: #f5f7f4; --surface: rgba(255, 255, 255, 0.94); --surface-strong: #ffffff; --ink: #17201b; --muted: #68736c; --line: #dfe5df; --accent: #205c46; --accent-strong: #124c37; --accent-soft: #e4f0e9; --national: #5c43c6; --metro: #e15b3c; --grid: rgba(47, 85, 67, 0.55); --shadow: 0 18px 55px rgba(23, 32, 27, 0.13); --shadow-small: 0 8px 24px rgba(23, 32, 27, 0.1); --radius: 18px; --topbar-height: 70px; --sidebar-width: 350px; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; } body { overflow: hidden; overscroll-behavior: none; } html { overflow: hidden; overscroll-behavior: none; } button, input, select { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { color: inherit; } svg { display: block; } .app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); grid-template-rows: var(--topbar-height) minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 0; } .topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 22px; background: rgba(250, 252, 249, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); z-index: 1200; } .brand { display: flex; align-items: center; gap: 12px; min-width: 270px; } .brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #2d7358, #153f31); box-shadow: 0 8px 22px rgba(32, 92, 70, 0.22); } .brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; } .brand strong { display: block; letter-spacing: -0.02em; } .brand span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); } .topbar-status { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.68); } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #36a269; box-shadow: 0 0 0 4px rgba(54,162,105,0.12); } .topbar-status.is-busy .status-dot { background: #d49331; box-shadow: 0 0 0 4px rgba(212,147,49,0.14); } .topbar-status.is-error .status-dot { background: #c95842; box-shadow: 0 0 0 4px rgba(201,88,66,0.12); } .topbar-actions { display: flex; align-items: center; gap: 9px; } .icon-button, .secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: 160ms ease; } .icon-button { width: 39px; padding: 0; background: var(--surface-strong); } .icon-button svg, .secondary-button svg, .primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .secondary-button { background: var(--surface-strong); font-weight: 650; } .primary-button { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 700; } .icon-button:hover, .secondary-button:hover { border-color: #bfcac2; transform: translateY(-1px); } .primary-button:hover { background: var(--accent-strong); transform: translateY(-1px); } .sidebar { min-height: 0; overflow-y: auto; padding: 18px; background: #f1f4f0; border-right: 1px solid var(--line); scrollbar-width: thin; z-index: 900; } .panel { margin-bottom: 14px; padding: 17px; background: var(--surface); border: 1px solid rgba(213, 222, 215, 0.92); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(31, 45, 36, 0.04); } .compact-panel { padding-bottom: 14px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; } .section-heading h2 { margin: 2px 0 0; font-size: 16px; letter-spacing: -0.01em; } .eyebrow { display: block; color: #77837b; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; } .text-button { padding: 4px 0; border: 0; color: var(--accent); background: none; cursor: pointer; font-size: 12px; font-weight: 750; } .base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; } .base-card { min-width: 0; padding: 8px; display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: 150ms ease; } .base-card:hover { transform: translateY(-1px); border-color: #b9c7bd; } .base-card.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px rgba(32, 92, 70, 0.08); } .base-preview { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 9px; border: 1px solid rgba(27, 43, 33, 0.12); } .preview-standard { background: linear-gradient(135deg, #e7eadc 0 35%, #c8d9c4 35% 53%, #e6d9be 53% 70%, #bcd4df 70%); } .preview-topo { background: repeating-radial-gradient(ellipse at 75% 45%, transparent 0 5px, rgba(93,77,47,.45) 6px 7px), linear-gradient(135deg, #e8e3c8, #cdd9af); } .preview-satellite { background: linear-gradient(135deg, #263e2e, #668056 38%, #6f684c 39% 65%, #344c37 66%); } .preview-relief { background: radial-gradient(circle at 32% 28%, #f0eadb 0 14%, #7c8b6b 15% 31%, #465c46 32% 47%, #233d32 48%); } .base-card strong { display: block; font-size: 11px; white-space: nowrap; } .base-card small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); white-space: nowrap; } .switch-row { min-height: 55px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0ed; cursor: pointer; } .switch-row:first-of-type { border-top: 0; } .switch-copy { flex: 1; min-width: 0; } .switch-copy strong { display: block; font-size: 12px; } .switch-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; } .switch-row input { position: absolute; opacity: 0; pointer-events: none; } .switch { width: 39px; height: 23px; padding: 3px; flex: 0 0 auto; border-radius: 999px; background: #cdd5cf; transition: 150ms ease; } .switch::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,0.18); transition: 150ms ease; } .switch-row input:checked + .switch { background: var(--accent); } .switch-row input:checked + .switch::after { transform: translateX(16px); } .rail-actions { margin-top: 13px; } .full-width { width: 100%; } #railStatus { margin: 9px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.55; } .chip-list { display: flex; flex-wrap: wrap; gap: 7px; } .chip-list button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 11px; transition: 150ms ease; } .chip-list button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); } .cost-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 17px; color: #eef7f1; background: linear-gradient(145deg, #244e3d, #17372b); border-radius: var(--radius); box-shadow: var(--shadow-small); } .cost-card .eyebrow { color: #9fc2b0; } .cost-card strong { display: block; margin-top: 7px; font-size: 13px; } .cost-card p { margin: 7px 0 0; color: #c0d4c8; font-size: 10px; line-height: 1.55; } .cost-card a { flex: 0 0 auto; color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; } .map-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #d9e0da; } #map { width: 100%; height: 100%; background: #d9e0da; } .leaflet-container { font-family: inherit; outline: none; } .leaflet-control-attribution { padding: 3px 7px !important; border-radius: 7px 0 0 0; background: rgba(255,255,255,0.78) !important; font-size: 9px !important; } .leaflet-control-attribution a { color: var(--accent-strong); } .map-toolbar { position: absolute; top: 18px; right: 18px; z-index: 700; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(200, 211, 203, 0.92); border-radius: 13px; box-shadow: var(--shadow-small); } .map-toolbar button { width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.93); cursor: pointer; } .map-toolbar button:last-child { border-bottom: 0; } .map-toolbar button:hover { background: var(--accent-soft); } .map-toolbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .map-legend { position: absolute; left: 18px; bottom: 42px; z-index: 700; min-width: 155px; padding: 12px 14px; border: 1px solid rgba(200, 211, 203, 0.88); border-radius: 13px; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); box-shadow: var(--shadow-small); color: #435047; font-size: 10px; } .legend-title { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; } .map-legend > div:not(.legend-title) { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .legend-line { width: 26px; height: 3px; border-radius: 4px; } .legend-line.national { background: var(--national); } .legend-line.metro { background: var(--metro); } .legend-line.grid { background: var(--grid); } .legend-symbol.contour { width: 23px; height: 8px; border-top: 1px solid #8c7449; border-bottom: 1px solid #b59c68; transform: skewY(-12deg); } .map-readout { position: absolute; right: 18px; bottom: 17px; z-index: 700; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(200, 211, 203, 0.86); border-radius: 10px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); color: #526158; font-size: 9px; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-small); } .map-readout .divider { width: 1px; height: 11px; background: var(--line); } .toast { position: absolute; left: 50%; top: 20px; z-index: 1300; max-width: min(520px, calc(100% - 40px)); padding: 11px 15px; border-radius: 11px; color: #fff; background: rgba(27, 41, 33, 0.91); box-shadow: var(--shadow-small); font-size: 11px; line-height: 1.55; opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: 180ms ease; } .toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.error { background: rgba(127, 54, 42, 0.94); } .leaflet-popup-content-wrapper { border-radius: 13px; box-shadow: var(--shadow-small); } .leaflet-popup-content { margin: 12px 14px; font-size: 11px; line-height: 1.55; } @media (max-width: 900px) { :root { --sidebar-width: 320px; } .topbar-status { display: none; } .brand span { display: none; } .brand { min-width: 0; } .sidebar { position: fixed; top: var(--topbar-height); bottom: 0; left: 0; width: min(360px, calc(100vw - 36px)); transform: translateX(-105%); transition: 220ms ease; box-shadow: var(--shadow); } .sidebar.open { transform: translateX(0); } .app-shell { grid-template-columns: 1fr; } .map-stage { grid-column: 1; } } @media (max-width: 560px) { .app-shell { min-height: 0; } .topbar { padding: 0 12px; gap: 10px; } .brand-mark { width: 38px; height: 38px; } .brand strong { font-size: 13px; } .topbar-actions { gap: 6px; } .topbar-actions .secondary-button { width: 39px; padding: 0; font-size: 0; } .primary-button { padding: 0 11px; } .map-legend { left: 10px; bottom: 46px; min-width: 130px; } .map-readout { left: 10px; right: auto; bottom: 10px; max-width: calc(100% - 20px); } .map-toolbar { right: 10px; top: 10px; } } :root { --bg: #f5f7f4; --surface: rgba(255, 255, 255, 0.94); --surface-strong: #ffffff; --ink: #17201b; --muted: #68736c; --line: #dfe5df; --accent: #205c46; --accent-strong: #124c37; --accent-soft: #e4f0e9; --national: #5c43c6; --metro: #e15b3c; --grid: rgba(47, 85, 67, 0.55); --shadow: 0 18px 55px rgba(23, 32, 27, 0.13); --shadow-small: 0 8px 24px rgba(23, 32, 27, 0.1); --radius: 18px; --topbar-height: 70px; --sidebar-width: 350px; font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); } * { box-sizing: border-box; } html, body { height: 100%; margin: 0; } body { overflow: hidden; overscroll-behavior: none; } html { overflow: hidden; overscroll-behavior: none; } button, input, select { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { color: inherit; } svg { display: block; } .app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); grid-template-rows: var(--topbar-height) minmax(0, 1fr); height: 100vh; height: 100dvh; min-height: 0; } .topbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 22px; background: rgba(250, 252, 249, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); z-index: 1200; } .brand { display: flex; align-items: center; gap: 12px; min-width: 270px; } .brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #2d7358, #153f31); box-shadow: 0 8px 22px rgba(32, 92, 70, 0.22); } .brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; } .brand strong { display: block; letter-spacing: -0.02em; } .brand span { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); } .topbar-status { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.68); } .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #36a269; box-shadow: 0 0 0 4px rgba(54,162,105,0.12); } .topbar-status.is-busy .status-dot { background: #d49331; box-shadow: 0 0 0 4px rgba(212,147,49,0.14); } .topbar-status.is-error .status-dot { background: #c95842; box-shadow: 0 0 0 4px rgba(201,88,66,0.12); } .topbar-actions { display: flex; align-items: center; gap: 9px; } .icon-button, .secondary-button, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 39px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); text-decoration: none; cursor: pointer; transition: 160ms ease; } .icon-button { width: 39px; padding: 0; background: var(--surface-strong); } .icon-button svg, .secondary-button svg, .primary-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .secondary-button { background: var(--surface-strong); font-weight: 650; } .primary-button { color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 700; } .icon-button:hover, .secondary-button:hover { border-color: #bfcac2; transform: translateY(-1px); } .primary-button:hover { background: var(--accent-strong); transform: translateY(-1px); } .sidebar { min-height: 0; overflow-y: auto; padding: 18px; background: #f1f4f0; border-right: 1px solid var(--line); scrollbar-width: thin; z-index: 900; } .panel { margin-bottom: 14px; padding: 17px; background: var(--surface); border: 1px solid rgba(213, 222, 215, 0.92); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(31, 45, 36, 0.04); } .compact-panel { padding-bottom: 14px; } .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; } .section-heading h2 { margin: 2px 0 0; font-size: 16px; letter-spacing: -0.01em; } .eyebrow { display: block; color: #77837b; font-size: 9px; font-weight: 800; letter-spacing: 0.16em; } .text-button { padding: 4px 0; border: 0; color: var(--accent); background: none; cursor: pointer; font-size: 12px; font-weight: 750; } .base-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; } .base-card { min-width: 0; padding: 8px; display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); border-radius: 13px; background: #fff; cursor: pointer; transition: 150ms ease; } .base-card:hover { transform: translateY(-1px); border-color: #b9c7bd; } .base-card.active { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px rgba(32, 92, 70, 0.08); } .base-preview { width: 37px; height: 37px; flex: 0 0 37px; border-radius: 9px; border: 1px solid rgba(27, 43, 33, 0.12); } .preview-standard { background: linear-gradient(135deg, #e7eadc 0 35%, #c8d9c4 35% 53%, #e6d9be 53% 70%, #bcd4df 70%); } .preview-topo { background: repeating-radial-gradient(ellipse at 75% 45%, transparent 0 5px, rgba(93,77,47,.45) 6px 7px), linear-gradient(135deg, #e8e3c8, #cdd9af); } .preview-satellite { background: linear-gradient(135deg, #263e2e, #668056 38%, #6f684c 39% 65%, #344c37 66%); } .preview-relief { background: radial-gradient(circle at 32% 28%, #f0eadb 0 14%, #7c8b6b 15% 31%, #465c46 32% 47%, #233d32 48%); } .base-card strong { display: block; font-size: 11px; white-space: nowrap; } .base-card small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); white-space: nowrap; } .switch-row { min-height: 55px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #edf0ed; cursor: pointer; } .switch-row:first-of-type { border-top: 0; } .switch-copy { flex: 1; min-width: 0; } .switch-copy strong { display: block; font-size: 12px; } .switch-copy small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; } .switch-row input { position: absolute; opacity: 0; pointer-events: none; } .switch { width: 39px; height: 23px; padding: 3px; flex: 0 0 auto; border-radius: 999px; background: #cdd5cf; transition: 150ms ease; } .switch::after { content: ""; display: block; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 2px 7px rgba(0,0,0,0.18); transition: 150ms ease; } .switch-row input:checked + .switch { background: var(--accent); } .switch-row input:checked + .switch::after { transform: translateX(16px); } .rail-actions { margin-top: 13px; } .full-width { width: 100%; } #railStatus { margin: 9px 2px 0; color: var(--muted); font-size: 10px; line-height: 1.55; } .chip-list { display: flex; flex-wrap: wrap; gap: 7px; } .chip-list button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 11px; transition: 150ms ease; } .chip-list button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); } .cost-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 17px; color: #eef7f1; background: linear-gradient(145deg, #244e3d, #17372b); border-radius: var(--radius); box-shadow: var(--shadow-small); } .cost-card .eyebrow { color: #9fc2b0; } .cost-card strong { display: block; margin-top: 7px; font-size: 13px; } .cost-card p { margin: 7px 0 0; color: #c0d4c8; font-size: 10px; line-height: 1.55; } .cost-card a { flex: 0 0 auto; color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; } .map-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #d9e0da; } #map { width: 100%; height: 100%; background: #d9e0da; } .leaflet-container { font-family: inherit; outline: none; } .leaflet-control-attribution { padding: 3px 7px !important; border-radius: 7px 0 0 0; background: rgba(255,255,255,0.78) !important; font-size: 9px !important; } .leaflet-control-attribution a { color: var(--accent-strong); } .map-toolbar { position: absolute; top: 18px; right: 18px; z-index: 700; overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(200, 211, 203, 0.92); border-radius: 13px; box-shadow: var(--shadow-small); } .map-toolbar button { width: 41px; height: 41px; display: grid; place-items: center; border: 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.93); cursor: pointer; } .map-toolbar button:last-child { border-bottom: 0; } .map-toolbar button:hover { background: var(--accent-soft); } .map-toolbar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .map-legend { position: absolute; left: 18px; bottom: 42px; z-index: 700; min-width: 155px; padding: 12px 14px; border: 1px solid rgba(200, 211, 203, 0.88); border-radius: 13px; background: rgba(255,255,255,0.88); backdrop-filter: blur(12px); box-shadow: var(--shadow-small); color: #435047; font-size: 10px; } .legend-title { margin-bottom: 8px; color: var(--ink); font-size: 11px; font-weight: 800; } .map-legend > div:not(.legend-title) { display: flex; align-items: center; gap: 8px; margin: 6px 0; } .legend-line { width: 26px; height: 3px; border-radius: 4px; } .legend-line.national { background: var(--national); } .legend-line.metro { background: var(--metro); } .legend-line.grid { background: var(--grid); } .legend-symbol.contour { width: 23px; height: 8px; border-top: 1px solid #8c7449; border-bottom: 1px solid #b59c68; transform: skewY(-12deg); } .map-readout { position: absolute; right: 18px; bottom: 17px; z-index: 700; display: flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid rgba(200, 211, 203, 0.86); border-radius: 10px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); color: #526158; font-size: 9px; font-variant-numeric: tabular-nums; box-shadow: var(--shadow-small); } .map-readout .divider { width: 1px; height: 11px; background: var(--line); } .toast { position: absolute; left: 50%; top: 20px; z-index: 1300; max-width: min(520px, calc(100% - 40px)); padding: 11px 15px; border-radius: 11px; color: #fff; background: rgba(27, 41, 33, 0.91); box-shadow: var(--shadow-small); font-size: 11px; line-height: 1.55; opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: 180ms ease; } .toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.error { background: rgba(127, 54, 42, 0.94); } .leaflet-popup-content-wrapper { border-radius: 13px; box-shadow: var(--shadow-small); } .leaflet-popup-content { margin: 12px 14px; font-size: 11px; line-height: 1.55; } @media (max-width: 900px) { :root { --sidebar-width: 320px; } .topbar-status { display: none; } .brand span { display: none; } .brand { min-width: 0; } .sidebar { position: fixed; top: var(--topbar-height); bottom: 0; left: 0; width: min(360px, calc(100vw - 36px)); transform: translateX(-105%); transition: 220ms ease; box-shadow: var(--shadow); } .sidebar.open { transform: translateX(0); } .app-shell { grid-template-columns: 1fr; } .map-stage { grid-column: 1; } } @media (max-width: 560px) { .app-shell { min-height: 0; } .topbar { padding: 0 12px; gap: 10px; } .brand-mark { width: 38px; height: 38px; } .brand strong { font-size: 13px; } .topbar-actions { gap: 6px; } .topbar-actions .secondary-button { width: 39px; padding: 0; font-size: 0; } .primary-button { padding: 0 11px; } .map-legend { left: 10px; bottom: 46px; min-width: 130px; } .map-readout { left: 10px; right: auto; bottom: 10px; max-width: calc(100% - 20px); } .map-toolbar { right: 10px; top: 10px; } } .contour-controls { margin: 2px 0 12px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #f8faf7; } .contour-controls.is-disabled { display: none; } .control-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 10px; } .contour-controls label { display: block; color: var(--muted); font-size: 10px; font-weight: 750; } .contour-controls select, .contour-controls input[type="number"] { width: 100%; min-width: 0; margin-top: 5px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 10px; } .contour-controls input[type="color"] { width: 100%; height: 31px; margin-top: 5px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .range-label { margin-top: 9px; } .range-label output { float: right; color: var(--ink); font-variant-numeric: tabular-nums; } .contour-controls input[type="range"] { width: 100%; margin: 8px 0 0; accent-color: var(--accent); } .switch-row input:disabled + .switch { opacity: 0.42; } body.hide-map-grid .map-grid-layer, body.hide-map-grid .leaflet-grid-layer { display: none !important; opacity: 0 !important; visibility: hidden !important; } .tool-fields { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 10px; } .tool-field { display: block; color: var(--muted); font-size: 10px; font-weight: 750; } .tool-field input, .visibility-controls input[type="number"] { width: 100%; margin-top: 5px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-size: 11px; } .tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } .tool-button { min-height: 36px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); cursor: pointer; font-size: 10px; font-weight: 750; transition: 150ms ease; } .tool-button:hover { border-color: #aebdb3; background: #f8faf7; } .tool-button.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 0 0 0 1px rgba(32, 92, 70, 0.1); } .tool-button.secondary-tool { grid-column: 1 / -1; } .tool-status { margin: 10px 1px 0; color: var(--muted); font-size: 10px; line-height: 1.55; } .autosave-note { margin: 5px 1px 0; color: var(--muted); font-size: 9px; line-height: 1.45; } .clear-tool { margin-top: 7px; } .clear-tool:hover { color: var(--danger); } .field-hint { margin: 0 0 10px; color: var(--muted); font-size: 9px; line-height: 1.55; } .visibility-controls { padding: 0 12px 12px; } .visibility-color-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 3px 0 6px; color: var(--muted); font-size: 9px; } .visibility-color-heading strong { color: var(--ink); font-size: 10px; } .visibility-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; } .visibility-colors label { color: var(--muted); font-size: 9px; font-weight: 750; } .visibility-colors input[type="color"] { display: block; width: 100%; height: 31px; margin-top: 5px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .drawing-list { display: grid; gap: 7px; margin-top: 12px; } .drawing-empty { margin: 0; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 10px; text-align: center; } .drawing-card { min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: #fff; } .drawing-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; } .drawing-copy { min-width: 0; } .drawing-name { width: 100%; min-width: 0; padding: 5px 6px; border: 1px solid transparent; border-radius: 6px; color: var(--ink); background: transparent; font-size: 11px; font-weight: 750; } .drawing-name:hover, .drawing-name:focus { border-color: var(--line); background: #f8faf7; outline: none; } .drawing-meta { display: block; min-width: 0; margin: 2px 6px 0; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; } .drawing-delete { padding: 6px 8px; border: 1px solid #e5c8c1; border-radius: 8px; color: var(--danger); background: var(--danger-soft); cursor: pointer; font-size: 9px; font-weight: 800; } .drawing-fold { padding: 0; overflow: hidden; } .drawing-fold > summary { position: relative; display: block; padding: 10px 27px 10px 10px; list-style: none; cursor: pointer; user-select: none; } .drawing-fold > summary::-webkit-details-marker { display: none; } .drawing-fold > summary::after { content: "+"; position: absolute; top: 10px; right: 10px; color: var(--muted); font-size: 11px; font-weight: 800; } .drawing-fold[open] > summary::after { content: "-"; } .drawing-fold > summary:hover { background: #f8faf7; } .drawing-title { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } .drawing-body { padding: 0 10px 10px; border-top: 1px solid #edf0ed; } .drawing-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; align-items: center; padding-top: 8px; } .path-profile { margin-top: 8px; padding-top: 3px; } .profile-message { margin: 5px 0; padding: 8px; border-radius: 8px; background: #f7f9f6; color: var(--muted); font-size: 9px; line-height: 1.5; } .profile-message.is-error { color: var(--danger); background: var(--danger-soft); } .profile-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 3px 0 6px; } .profile-heading strong { font-size: 10px; } .profile-heading span { color: var(--muted); font-size: 9px; text-align: right; } .profile-canvas { display: block; width: 100%; height: 138px; border-radius: 8px; background: #f7f9f6; } .node-list-heading { display: flex; justify-content: space-between; margin-top: 9px; padding: 0 3px 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .03em; } .node-list { max-height: 170px; overflow-y: auto; scrollbar-width: thin; } .node-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 3px; border-bottom: 1px solid #edf0ed; } .node-row:last-child { border-bottom: 0; } .node-row strong { display: block; font-size: 9px; } .node-row div > span { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; line-height: 1.45; } .node-row .node-elevation { color: var(--ink); font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; } .drawing-card.is-hidden { border-style: dashed; background: #f6f8f5; } .drawing-card.is-hidden .drawing-title, .drawing-card.is-hidden .drawing-meta { opacity: 0.58; } .drawing-fold > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding-right: 30px; } .drawing-visibility { min-width: 44px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #f8faf7; cursor: pointer; font-size: 9px; font-weight: 800; } .drawing-visibility[aria-pressed="false"] { border-color: #b8c9bd; color: var(--accent-strong); background: var(--accent-soft); } .drawing-style-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: end; margin-top: 8px; padding-top: 8px; border-top: 1px solid #edf0ed; } .drawing-style-controls { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; align-items: end; margin-top: 8px; padding-top: 8px; border-top: 1px solid #edf0ed; } .drawing-style-row .drawing-style-controls { margin-top: 0; padding-top: 0; border-top: 0; } .drawing-color-control, .drawing-opacity-control { min-width: 0; color: var(--muted); font-size: 8px; font-weight: 750; } .drawing-opacity-control > span { display: flex; align-items: baseline; justify-content: space-between; gap: 5px; } .drawing-opacity-control output { color: var(--ink); font-size: 8px; font-variant-numeric: tabular-nums; } .drawing-color-control input[type="color"] { display: block; width: 100%; height: 26px; margin-top: 4px; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: #fff; } .drawing-opacity-control input[type="range"] { display: block; width: 100%; margin: 5px 0 0; accent-color: var(--accent); } .legend-swatch.port { background: rgba(47, 145, 173, 0.28); border: 1px solid #166a86; } .legend-swatch.vegetation { background: rgba(104, 169, 79, 0.3); border: 1px solid #2f6b3b; } .tdt-admin-link, .openmap-admin-link { display: flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 700; text-decoration: none; } .sidebar-footer-links { margin: 4px -18px -18px; } .tdt-admin-link:hover, .openmap-admin-link:hover { color: var(--accent-strong); } .project-file-card { margin: 0 0 14px; padding: 15px; border: 1px solid rgba(213, 222, 215, 0.92); border-radius: var(--radius); background: #fff; box-shadow: 0 6px 18px rgba(31, 45, 36, 0.04); } .project-file-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .project-file-heading strong { display: block; margin-top: 2px; font-size: 14px; } .project-file-heading > span:last-child { padding: 3px 7px; border-radius: 999px; color: var(--accent-strong); background: var(--accent-soft); font-size: 9px; font-weight: 800; } .project-file-card p { margin: 8px 0 11px; color: var(--muted); font-size: 9px; line-height: 1.55; } .project-file-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .project-file-actions button { min-height: 36px; padding: 0 10px; } .leaflet-control-scale { margin-bottom: 46px !important; background: rgba(255,255,255,.82); border-radius: 6px; } .leaflet-control-scale-line { border-color: #17201b !important; color: #17201b !important; } .contour-overlay-canvas { position: absolute; inset: 0; z-index: 500; pointer-events: none; } .visibility-area-canvas { position: absolute; inset: 0; z-index: 520; pointer-events: none; } .terrain-feature-status { margin: 5px 2px 10px; color: var(--muted); font-size: 9px; line-height: 1.45; } .water-status { margin: -5px 2px 10px; color: var(--muted); font-size: 9px; line-height: 1.45; } .terrain-feature-controls { padding: 0 12px 11px; } .terrain-feature-controls .compact-switch-row { min-height: 43px; padding: 0; } .terrain-feature-controls .switch-copy strong { font-size: 10px; } .terrain-feature-controls .switch-copy small { font-size: 8px; } .terrain-threshold { display: block; margin-top: 9px; color: var(--muted); font-size: 9px; font-weight: 750; } .terrain-threshold input { display: block; width: 100%; margin-top: 5px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 10px; } .terrain-feature-marker { border: 0; background: transparent; } .terrain-feature-marker span { display: grid; width: 18px; height: 18px; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 8px; font-weight: 900; line-height: 1; box-shadow: 0 2px 7px rgba(17, 32, 24, 0.34); } .terrain-feature-marker.peak span { background: var(--terrain-peak-color, #a45d2c); } .terrain-feature-marker.valley span { background: var(--terrain-valley-color, #2e628d); } .legend-symbol.terrain-peak, .legend-symbol.terrain-valley { width: auto; height: auto; font-size: 10px; font-weight: 900; line-height: 1; } .legend-symbol.terrain-peak { color: #a45d2c; } .legend-symbol.terrain-valley { color: #2e628d; } body.drawing-mode .leaflet-overlay-pane, body.drawing-mode .leaflet-marker-pane, body.drawing-mode .leaflet-tooltip-pane, body.drawing-mode .leaflet-popup-pane, body.drawing-mode .leaflet-interactive { pointer-events: none !important; } body.drawing-mode #map.leaflet-container, body.drawing-mode #map.leaflet-grab, body.drawing-mode #map.leaflet-drag-target { cursor: crosshair !important; } /* The map is a coordinate-picking surface, so the native crosshair hotspot stays at the centre of the map pointer in both browse and drawing modes. */ #map.leaflet-container, #map.leaflet-container.leaflet-grab, #map.leaflet-container.leaflet-drag-target, #map.leaflet-container .leaflet-interactive, #map.leaflet-container.leaflet-dragging .leaflet-grab, #map.leaflet-container.leaflet-dragging .leaflet-grab .leaflet-interactive { cursor: crosshair !important; } #map.leaflet-container.leaflet-dragging, #map.leaflet-container.leaflet-dragging .leaflet-grab, #map.leaflet-container.leaflet-dragging .leaflet-grab .leaflet-interactive, #map.leaflet-container.leaflet-drag-target { cursor: grabbing !important; } .print-decor { display: none; } body.print-mode .print-decor { display: block; position: absolute; inset: 0; z-index: 1200; pointer-events: none; } .print-frame { --print-stripe: 16px; --print-stripe-end: 32px; position: absolute; left: 48px; top: 48px; width: calc(100% - 96px); height: calc(100% - 96px); z-index: 5; cursor: move; touch-action: none; pointer-events: auto; } .frame-edge { position: absolute; z-index: 4; pointer-events: none; } .frame-top, .frame-bottom { left: 0; right: 0; height: 9px; background: repeating-linear-gradient(90deg, #111 0 var(--print-stripe), #fff var(--print-stripe) var(--print-stripe-end)); } .frame-top { top: 0; } .frame-bottom { bottom: 0; } .frame-left, .frame-right { top: 0; bottom: 0; width: 9px; background: repeating-linear-gradient(180deg, #111 0 var(--print-stripe), #fff var(--print-stripe) var(--print-stripe-end)); } .frame-left { left: 0; } .frame-right { right: 0; } .frame-inner { position: absolute; inset: 9px; border: 1px solid rgba(17,17,17,.7); pointer-events: none; } .frame-handle { position: absolute; z-index: 8; width: 15px; height: 15px; border: 2px solid #111; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); pointer-events: auto; } .frame-handle.corner { width: 18px; height: 18px; } .frame-handle[data-handle="nw"] { left: -8px; top: -8px; cursor: nwse-resize; } .frame-handle[data-handle="ne"] { right: -8px; top: -8px; cursor: nesw-resize; } .frame-handle[data-handle="sw"] { left: -8px; bottom: -8px; cursor: nesw-resize; } .frame-handle[data-handle="se"] { right: -8px; bottom: -8px; cursor: nwse-resize; } .frame-handle[data-handle="n"] { left: 50%; top: -9px; transform: translateX(-50%); cursor: ns-resize; } .frame-handle[data-handle="s"] { left: 50%; bottom: -9px; transform: translateX(-50%); cursor: ns-resize; } .frame-handle[data-handle="e"] { top: 50%; right: -9px; transform: translateY(-50%); cursor: ew-resize; } .frame-handle[data-handle="w"] { top: 50%; left: -9px; transform: translateY(-50%); cursor: ew-resize; } .print-title { position: absolute; top: -48px; left: 0; width: min(430px, calc(100% - 120px)); min-height: 40px; padding: 5px 9px 6px; color: #111; background: #fff; border: 2px solid #111; pointer-events: auto; cursor: text; } .print-title input { display: block; width: 100%; padding: 0; border: 0; outline: 0; color: #111; background: transparent; font-size: 20px; font-weight: 800; letter-spacing: .05em; } .print-title input:focus { background: #f8faf7; box-shadow: 0 0 0 2px rgba(32,92,70,.18); } .print-title span { display: block; margin-top: 1px; overflow: hidden; color: #555; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; } .print-guide { position: absolute; top: 10px; left: 50%; padding: 4px 8px; color: #111; background: rgba(255,255,255,.9); border: 1px solid #111; transform: translateX(-50%); pointer-events: none; font-size: 9px; font-weight: 750; white-space: nowrap; } .print-north { position: absolute; top: 28px; right: 38px; width: 44px; padding: 5px 0; color: #111; background: rgba(255,255,255,.9); border: 2px solid #111; font-size: 12px; font-weight: 900; text-align: center; line-height: 1; pointer-events: none; } .print-north span { display: block; margin-top: 3px; font-size: 22px; } .print-scale { position: absolute; right: 36px; bottom: 76px; min-width: 160px; padding: 7px 9px; color: #111; background: rgba(255,255,255,.92); border: 2px solid #111; pointer-events: none; } .print-scale-bar { display: flex; width: 140px; height: 9px; border: 1px solid #111; } .print-scale-bar span { flex: 1; } .print-scale-bar span:nth-child(odd) { background: #111; } .print-scale-bar span:nth-child(even) { background: #fff; } #printScaleLabel { margin-top: 4px; font-size: 10px; font-weight: 800; } .print-legend { position: absolute; top: 0; left: calc(100% + 22px); width: 150px; padding: 10px 11px; color: #111; background: #fff; border: 2px solid #111; pointer-events: none; } .print-legend > strong { display: block; margin-bottom: 9px; font-size: 12px; } .print-legend > div { display: flex; align-items: center; gap: 7px; margin: 7px 0; color: #222; font-size: 9px; line-height: 1.35; } .print-legend > div[hidden] { display: none; } .print-legend .legend-line { flex: 0 0 24px; } .print-actions { position: absolute; left: 50%; bottom: 20px; z-index: 10; display: flex; gap: 8px; transform: translateX(-50%); pointer-events: auto; } .print-actions button { padding: 8px 12px; border: 2px solid #111; background: rgba(255,255,255,.95); color: #111; cursor: pointer; font-size: 11px; font-weight: 800; } body.print-mode .topbar, body.print-mode .sidebar, body.print-mode .map-toolbar, body.print-mode .map-legend, body.print-mode .map-readout, body.print-mode .toast, body.print-mode .leaflet-control-attribution, body.print-mode .leaflet-control-scale { display: none !important; } body.print-mode .app-shell { display: block; height: 100vh; min-height: 0; } body.print-mode .map-stage { position: fixed; top: 50%; left: 50%; width: 297mm; height: 210mm; background: #fff; transform: translate(-50%, -50%) scale(var(--print-preview-scale, 1)); transform-origin: center; } .fold-panel > summary, .options-fold > summary { list-style: none; cursor: pointer; user-select: none; position: relative; } .fold-panel > summary { padding-right: 38px; } .fold-panel > summary::-webkit-details-marker, .options-fold > summary::-webkit-details-marker { display: none; } .fold-panel > summary::after, .options-fold > summary::after { content: "+"; position: absolute; right: 17px; color: var(--muted); font-weight: 800; pointer-events: none; } .fold-panel[open] > summary::after, .options-fold[open] > summary::after { content: "-"; } .fold-panel > summary .section-heading { margin-bottom: 0; } .fold-panel[open] > summary .section-heading { margin-bottom: 14px; } .fold-panel > summary:hover, .options-fold > summary:hover { color: var(--accent); } .options-fold { margin: 4px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #f8faf7; overflow: hidden; } .options-fold[hidden] { display: none; } .options-fold > summary { padding: 10px 12px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .03em; } .grid-controls { padding: 0 12px 12px; } .grid-controls.is-disabled { display: none; } .grid-controls .control-grid { margin-bottom: 9px; } .grid-controls label { display: block; color: var(--muted); font-size: 10px; font-weight: 750; } .grid-controls select, .grid-controls input[type="number"] { width: 100%; min-width: 0; margin-top: 5px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 10px; } .grid-controls input[type="color"] { width: 100%; height: 31px; margin-top: 5px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } .grid-spacing-field { margin-bottom: 4px; } .grid-spacing-input { display: grid; grid-template-columns: minmax(0, 1fr) 78px; gap: 6px; } .grid-spacing-input input, .grid-spacing-input select { margin-top: 5px; } #gridIntervalEquivalent { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; text-align: right; font-variant-numeric: tabular-nums; } .grid-hint { margin: 0 0 9px; } .grid-controls .range-label { display: block; margin-top: 9px; color: var(--muted); font-size: 10px; font-weight: 750; } .grid-controls .range-label output { float: right; color: var(--ink); } .grid-controls input[type="range"] { width: 100%; margin-top: 8px; accent-color: var(--accent); } .map-legend > div[hidden] { display: none; } @page { size: A4 landscape; margin: 0; } @media print { html, body { width: 297mm; height: 210mm; margin: 0 !important; padding: 0 !important; overflow: hidden !important; } body { print-color-adjust: exact; -webkit-print-color-adjust: exact; background: #fff; } .topbar, .sidebar, .map-toolbar, .map-legend, .toast, .leaflet-control-attribution { display: none !important; } body.print-mode .app-shell { display: block !important; width: 297mm !important; height: 210mm !important; min-height: 0 !important; overflow: hidden !important; } body.print-mode .map-stage { position: relative !important; top: auto !important; left: auto !important; width: 297mm !important; height: 210mm !important; margin: 0 !important; overflow: hidden !important; transform: none !important; } body.print-mode #map { width: 100% !important; height: 100% !important; } body.print-mode .print-decor { display: block !important; position: absolute !important; inset: 0 !important; width: 297mm !important; height: 210mm !important; } body.print-mode .print-actions { display: none !important; } body.print-mode .print-guide { display: none !important; } body.print-mode .frame-handle { box-shadow: none; } } /* Desktop sidebar is part of the grid; make the toolbar button control it too. */ @media (min-width: 901px) { .app-shell.sidebar-collapsed { grid-template-columns: minmax(0, 1fr); } .app-shell.sidebar-collapsed .sidebar { display: none; } .app-shell.sidebar-collapsed .map-stage { grid-column: 1; } } #toggleSidebar[aria-expanded="false"] { color: var(--muted); background: #eef2ee; } #tiandituOverlayOptions { margin-top: 11px; } .boundary-color-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 10px 0 7px; color: var(--muted); font-size: 9px; } .boundary-color-heading strong { color: var(--ink); font-size: 10px; } .boundary-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; } .boundary-colors label { color: var(--muted); font-size: 9px; font-weight: 750; } .boundary-colors input[type="color"] { display: block; width: 100%; height: 34px; margin-top: 5px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; } #boundaryStatus { margin: 9px 0 0; } .local-vector-controls { padding: 0 12px 12px; } .local-vector-layer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 9px; } .local-vector-layer-grid label { display: flex; min-height: 31px; align-items: center; gap: 6px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-size: 9px; font-weight: 750; } .local-vector-layer-grid input { margin: 0; accent-color: var(--accent); } .rail-category-grid { margin: 9px 0 12px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #f8faf7; } .local-vector-admin-label { padding: 2px 5px; border: 0; border-radius: 4px; color: #6e2d1c; background: rgba(255, 248, 243, 0.82); box-shadow: none; font-size: 9px; font-weight: 800; pointer-events: none; } .local-vector-admin-label::before { display: none; } .hillshade-overlay-row { margin-top: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdfb; } :root { --usage-notice-height: 42px; } .app-shell { grid-template-rows: var(--topbar-height) var(--usage-notice-height) minmax(0, 1fr); } .usage-notice { grid-column: 1 / -1; grid-row: 2; min-width: 0; height: var(--usage-notice-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 18px; border-bottom: 1px solid #e4c58e; color: #67410f; background: linear-gradient(90deg, #fff5dc, #fffaf0 65%, #fff5dc); font-size: 11px; z-index: 1190; } .usage-notice-copy { min-width: 0; display: flex; align-items: center; gap: 9px; overflow: hidden; white-space: nowrap; } .usage-notice-copy strong { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: #fff; background: #9a5b1f; font-size: 10px; letter-spacing: .04em; } .usage-notice-copy span { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .usage-notice-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; } .usage-notice-actions > a { color: #7a430d; font-weight: 800; text-decoration: none; white-space: nowrap; } .usage-notice-actions > a:hover { text-decoration: underline; } .usage-notice-report { padding-left: 9px; border-left: 1px solid rgba(154, 91, 31, .28); } .legend-line.railway { background: repeating-linear-gradient(90deg, #8f3f2d 0 6px, transparent 6px 9px); } .legend-swatch.hillshade { background: linear-gradient(135deg, #f1eee2, #9b9b84 52%, #4d5c4e); } .legend-line.boundary { height: 3px; background: linear-gradient(90deg, #8f2e1f 0 36%, #bd4f2e 36% 68%, #d47a2c 68% 100%); } .legend-swatch.local-vector { background: linear-gradient(135deg, #e1b75b 0 25%, #4c875a 25% 50%, #a8c8df 50% 75%, #d9e4d6 75%); } .legend-line.national { height: 4px; border: 1px solid #111; background: repeating-linear-gradient(90deg, #111 0 6px, #fff 6px 12px); } .legend-line.local-roads { background: #d16a35; } .legend-line.local-railways { background: #6847a6; } .legend-line.local-water { background: #378db7; } .legend-line.local-province { background: #8f2e1f; height: 3px; } .legend-line.local-city { background: #b65331; height: 3px; } .legend-line.local-county { background: repeating-linear-gradient(90deg, #c98647 0 6px, transparent 6px 10px); } .legend-line.local-terrain { background: repeating-linear-gradient(90deg, #84633f 0 5px, transparent 5px 9px); } .legend-swatch.local-administration { background: rgba(209, 132, 88, .32); border: 1px solid #98462e; } .legend-swatch.local-settlements { background: rgba(210, 185, 141, .42); border: 1px solid #795334; } .legend-swatch.local-vegetation { background: rgba(109, 163, 108, .38); border: 1px solid #4a8050; } .legend-swatch.local-facilities { background: rgba(182, 151, 114, .32); border: 1px solid #8b7358; } .legend-symbol.local-heritage { width: auto; height: auto; color: #a4544f; font-size: 10px; line-height: 1; } .map-legend > div.legend-subgroup, .print-legend > div.legend-subgroup { display: block; margin-top: 9px; padding-top: 7px; border-top: 1px solid currentColor; color: var(--accent); font-size: 9px; font-weight: 900; } .map-legend > .legend-subgroup[hidden], .print-legend > .legend-subgroup[hidden] { display: none; } .print-legend > div.legend-subgroup { color: #111; } .element-color-controls { padding: 2px 12px 12px; } #elementColorOptions .element-color-controls { padding: 2px 0 0; } .element-rail-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .element-color-style { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 800; } .element-color-style select { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; } .element-color-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 11px; } .element-color-grid label { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fbfdfb; font-size: 9px; font-weight: 750; } .element-color-grid input[type="color"] { width: 32px; height: 24px; flex: 0 0 32px; padding: 1px; border: 1px solid #cfd9d1; border-radius: 6px; background: #fff; } .map-legend > .legend-empty, .print-legend > .legend-empty { display: block; margin: 6px 0 0; color: var(--muted); font-size: 9px; font-style: italic; } .map-legend > .legend-empty[hidden], .print-legend > .legend-empty[hidden] { display: none; } .sidebar, .map-stage { grid-row: 3; } body.print-mode .usage-notice { display: none !important; } @media (max-width: 900px) { .sidebar { top: calc(var(--topbar-height) + var(--usage-notice-height)); } .usage-notice-report { display: none; } } @media (max-width: 560px) { .usage-notice { gap: 8px; padding: 0 10px; font-size: 10px; } .usage-notice-copy span { display: none; } } /* Coordinate-system switcher sits immediately after the product mark. */ .coordinate-system-switcher { display: flex; align-items: center; gap: 7px; min-width: 190px; margin-right: auto; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; } .coordinate-system-switcher > span { flex: 0 0 auto; } .coordinate-system-switcher select { width: auto; min-width: 145px; flex: 1 1 145px; height: 39px; padding: 0 30px 0 11px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background-color: var(--surface-strong); background-image: linear-gradient(45deg, transparent 50%, #647269 50%), linear-gradient(135deg, #647269 50%, transparent 50%); background-position: calc(100% - 14px) 16px, calc(100% - 9px) 16px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; font-size: 11px; font-weight: 700; letter-spacing: 0; appearance: none; -webkit-appearance: none; cursor: pointer; transition: 160ms ease; } .coordinate-system-switcher select:hover, .coordinate-system-switcher select:focus { border-color: #aebcb2; outline: none; box-shadow: 0 0 0 3px rgba(32, 92, 70, 0.09); } .coordinate-system-switcher select:focus-visible { border-color: var(--accent); } #coordReadout { max-width: min(48vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } @media (max-width: 1100px) { .coordinate-system-switcher { min-width: 118px; } .coordinate-system-switcher > span { display: none; } .coordinate-system-switcher select { min-width: 112px; flex: 1 1 auto; } } @media (max-width: 680px) { .brand > div:last-child { display: none; } .brand { min-width: 38px; } .coordinate-system-switcher { min-width: 84px; } .coordinate-system-switcher select { width: 84px; flex: 0 0 84px; min-width: 84px; padding-left: 7px; padding-right: 24px; font-size: 10px; } .map-readout { gap: 6px; } #coordReadout { max-width: 48vw; } } /* Keep the coordinate switch attached to the product mark. */ .topbar { gap: 14px; } .topbar .brand { min-width: 0; flex: 0 0 auto; } .coordinate-system-switcher { margin-right: 0; flex: 0 0 auto; } .topbar-status { margin-left: auto; } .topbar-actions { margin-left: 0; } @media (max-width: 1100px) { .topbar .brand { min-width: 0; } } @media (max-width: 900px) { .topbar-actions { margin-left: auto; } } .readout-format-toggle { flex: 0 0 auto; min-width: 38px; height: 19px; padding: 0 5px; border: 1px solid rgba(120, 138, 127, 0.42); border-radius: 5px; background: rgba(255, 255, 255, 0.76); color: #405248; font: inherit; font-size: 9px; font-weight: 700; line-height: 17px; cursor: pointer; } .readout-format-toggle:hover, .readout-format-toggle:focus-visible { border-color: var(--accent); color: var(--accent); outline: none; box-shadow: 0 0 0 2px rgba(32, 92, 70, 0.1); } .readout-format-toggle:disabled { border-color: var(--line); color: var(--muted); background: rgba(242, 245, 242, 0.82); cursor: default; box-shadow: none; } @media (max-width: 560px) { .readout-format-toggle { min-width: 34px; padding: 0 4px; font-size: 8px; } }