* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    display: flex;
    height: 100vh;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 13px;
    background: #0d1117;
    color: #c9d1d9;
}

#sidebar {
    width: 300px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    background: #161b22;
    border-right: 1px solid #30363d;
    overflow-y: auto;
    z-index: 1000;
}

#map { flex: 1; }

/* ── Sidebar sections ─────────────────────────────── */
.s-header {
    padding: 14px 16px 12px;
    background: #0d1117;
    border-bottom: 1px solid #30363d;
}
.s-header h1 {
    font-size: 16px;
    font-weight: 700;
    color: #f0883e;
    letter-spacing: -0.3px;
}
.s-header small { color: #8b949e; font-size: 11px; }

.section {
    padding: 12px 16px;
    border-bottom: 1px solid #21262d;
}
.section-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8b949e;
    margin-bottom: 8px;
}

/* ── Form controls ────────────────────────────────── */
.row { display: flex; gap: 6px; margin-bottom: 6px; }

input[type="text"], input[type="number"] {
    flex: 1;
    background: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 13px;
    min-width: 0;
}
input:focus {
    outline: none;
    border-color: #f0883e;
    box-shadow: 0 0 0 2px rgba(240,136,62,0.2);
}
input::placeholder { color: #484f58; }

button {
    background: #f0883e;
    color: #0d1117;
    border: none;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
button:hover { background: #d4722e; }

button.ghost {
    background: transparent;
    color: #8b949e;
    border: 1px solid #30363d;
    font-weight: 400;
}
button.ghost:hover { background: #21262d; color: #c9d1d9; }

button.danger {
    background: transparent;
    color: #f85149;
    border: none;
    padding: 2px 6px;
    font-weight: 400;
    font-size: 12px;
}
button.danger:hover { background: rgba(248,81,73,0.1); }

/* ── Collapsible layers section ──────────────────── */
.layers-details > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.layers-details > summary::-webkit-details-marker { display: none; }
.layers-details > summary::after {
    content: '▾';
    font-size: 13px;
    color: #484f58;
    transition: transform 0.2s;
    line-height: 1;
}
.layers-details:not([open]) > summary::after {
    transform: rotate(-90deg);
}

/* ── Layer list ───────────────────────────────────── */
.layer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
}
.layer-row:hover { background: rgba(255,255,255,0.03); margin: 0 -4px; padding: 5px 4px; }

.layer-row input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #f0883e;
    flex-shrink: 0;
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.layer-name { flex: 1; }
.layer-count { color: #484f58; font-size: 11px; }

/* ── Radius tool ──────────────────────────────────── */
.coord-display {
    font-size: 11px;
    font-family: monospace;
    color: #8b949e;
    background: #0d1117;
    padding: 5px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    border: 1px solid #21262d;
}
.coord-display:hover { border-color: #30363d; }

.radius-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    font-size: 12px;
    border-bottom: 1px solid #21262d;
    cursor: pointer;
}
.radius-item:last-child { border: none; }
.radius-item:hover { opacity: 0.8; }
.radius-item .ri-info { flex: 1; line-height: 1.3; }
.radius-item .ri-lat { color: #8b949e; font-size: 10px; font-family: monospace; }

/* ── Status bar ───────────────────────────────────── */
#status {
    margin-top: auto;
    padding: 7px 16px;
    font-size: 11px;
    color: #8b949e;
    background: #0d1117;
    border-top: 1px solid #30363d;
    min-height: 30px;
}
#status.loading { color: #f0883e; }
#status.error   { color: #f85149; }
#status.ok      { color: #3fb950; }

/* ── Leaflet overrides ────────────────────────────── */
.leaflet-popup-content-wrapper {
    background: #161b22;
    color: #c9d1d9;
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}
.leaflet-popup-tip { background: #161b22; }
.leaflet-popup-content { font-size: 13px; line-height: 1.5; }
.popup-name { font-weight: 700; font-size: 14px; color: #e6edf3; }
.popup-type { color: #8b949e; font-size: 11px; margin-top: 2px; }
.popup-coords { color: #484f58; font-size: 10px; font-family: monospace; margin-top: 4px; }
.popup-routes { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.popup-routes-loading {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8b949e;
    font-size: 11px;
}
.popup-spinner {
    width: 12px;
    height: 12px;
    border: 2px solid #30363d;
    border-top-color: #58a6ff;
    border-radius: 50%;
    animation: popup-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes popup-spin {
    to { transform: rotate(360deg); }
}
.route-chip {
    display: inline-block;
    background: #1f6feb;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* ── Select ──────────────────────────────────────── */
select {
    width: 100%;
    background: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
}
select:focus {
    outline: none;
    border-color: #f0883e;
}

/* ── Radius km-Labels ────────────────────────────── */
.radius-km-label span {
    font-size: 10px;
    font-weight: 700;
    color: #000;
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid #000;
    white-space: nowrap;
    opacity: 0.85;
    display: inline-block;
}

/* ── Distance tool ────────────────────────────────── */
button.meas-active {
    background: #58a6ff;
}
button.meas-active:hover { background: #3b82f6; }

.meas-result {
    font-size: 13px;
    color: #c9d1d9;
    background: #0d1117;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #21262d;
    text-align: center;
    margin-top: 8px;
    min-height: 30px;
    line-height: 30px;
}

.meas-icon {
    background: #f0883e;
    color: #0d1117;
    font-weight: 800;
    font-size: 11px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    cursor: grab;
}
.meas-icon:active { cursor: grabbing; }

/* ── Radius centre drag handle ──────────────────── */
.radius-drag-handle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #000;
    cursor: grab;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.radius-drag-handle:active { cursor: grabbing; }

/* ── Click-point crosshair marker ──────────────────── */
.click-marker-icon {
    width: 22px;
    height: 22px;
    border: 2.5px solid #f0883e;
    border-radius: 50%;
    background: rgba(240, 136, 62, 0.18);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
    position: relative;
}
.click-marker-icon::before {
    content: '';
    position: absolute;
    left: 50%; top: 2px; bottom: 2px;
    width: 1.5px;
    background: #f0883e;
    transform: translateX(-50%);
}
.click-marker-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 2px; right: 2px;
    height: 1.5px;
    background: #f0883e;
    transform: translateY(-50%);
}

.meas-line-label {
    display: inline-block;
    background: #0d1117;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
    border: 2px solid #f0883e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.8);
    pointer-events: none;
    line-height: 1.4;
    transform: translateX(-50%);
}

.plz-label {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: 800;
    font-size: 12px;
    color: #1a1a1a;
    text-shadow:
        1px 1px 3px rgba(255,255,255,0.9),
       -1px 1px 3px rgba(255,255,255,0.9),
        1px -1px 3px rgba(255,255,255,0.9),
       -1px -1px 3px rgba(255,255,255,0.9);
    pointer-events: none;
    white-space: nowrap;
}

/* ── Measurement zone labels (semicircles) ────────── */
.zone-label {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.85);
    box-shadow: 0 2px 8px rgba(0,0,0,0.65);
    pointer-events: none;
}
.zone-label-1 { background: #f97316; }
.zone-label-2 { background: #38bdf8; color: #0d1117; }

/* ── Admin Division Checker ──────────────────────── */
.admin-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 4px 0;
    font-size: 12px;
    border-bottom: 1px solid #21262d;
}
.admin-row:last-child { border: none; }
.admin-icon { font-size: 12px; width: 14px; text-align: center; flex-shrink: 0; line-height: 1.6; }
.admin-n    { color: #8b949e; font-size: 11px; flex-shrink: 0; }
.admin-val  { flex: 1; word-break: break-word; }
.admin-match .admin-icon { color: #3fb950; }
.admin-miss  .admin-icon { color: #f85149; }
.admin-na    .admin-icon,.admin-na .admin-val { color: #484f58; }
.admin-loading { font-size: 11px; color: #8b949e; padding: 6px 0; }

/* ── FABs (floating action buttons) ──────────────── */
#printFab,
#styleFab,
#boundaryFab,
#permalinkFab,
#layerFab {
    position: fixed;
    right: 12px;
    z-index: 1200;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #161b22;
    border: 1px solid #30363d;
    color: #c9d1d9;
    font-size: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.55);
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
#printFab     { bottom: 30px; }
#styleFab     { bottom: 84px; }
#boundaryFab  { bottom: 138px; }
#permalinkFab { bottom: 192px; }
#layerFab     { bottom: 246px; }
#printFab:hover,
#styleFab:hover,
#boundaryFab:hover,
#permalinkFab:hover,
#layerFab:hover { background: #21262d; color: #fff; }
#layerFab.lp-active {
    background: rgba(240,136,62,0.12);
    border-color: #f0883e;
    color: #f0883e;
}

/* ── Layer FAB badge ──────────────────────────────── */
.layer-fab-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    background: #f0883e;
    color: #0d1117;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.6);
    pointer-events: none;
}

/* ── Layer panel ──────────────────────────────────── */
#layerPanel {
    position: fixed;
    right: 64px;
    top: 10px;
    bottom: 50px;
    z-index: 1201;
    width: 240px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.7);
    display: none;
    flex-direction: column;
    overflow: hidden;
}
#layerPanel.open { display: flex; }

.lp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 8px;
    border-bottom: 1px solid #21262d;
    flex-shrink: 0;
    gap: 6px;
}
.lp-body {
    overflow-y: auto;
    flex: 1;
    padding: 6px 12px 10px;
}

/* ── Style popover ────────────────────────────────── */
#stylePopover {
    position: fixed;
    bottom: 300px;
    right: 12px;
    z-index: 1201;
    width: 195px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.7);
    display: none;
    flex-direction: column;
    gap: 3px;
}
#stylePopover.open { display: flex; }

/* ── Boundary popover ─────────────────────────────── */
#boundaryPopover {
    position: fixed;
    bottom: 192px;
    right: 12px;
    z-index: 1201;
    width: 210px;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.7);
    display: none;
    flex-direction: column;
    gap: 3px;
}
#boundaryPopover.open { display: flex; }

.bnd-opt {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: 1px solid transparent;
    color: #c9d1d9;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}
.bnd-opt:hover { background: #21262d; color: #fff; }
.bnd-opt.active { background: #21262d; font-weight: 600; }
.bnd-opt.active::after { content: '✓'; margin-left: auto; color: #3fb950; font-size: 13px; }

.bnd-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pp-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #8b949e;
    margin-bottom: 5px;
}
.pp-sep {
    height: 1px;
    background: #30363d;
    margin: 6px 0;
}

.style-opt {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    color: #c9d1d9;
    font-size: 12px;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
}
.style-opt:hover  { background: #21262d; color: #fff; }
.style-opt.active { background: #21262d; border-color: #f0883e; color: #f0883e; font-weight: 600; }

/* ── Print / PDF-Export ───────────────────────────── */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    #sidebar,
    #menuToggle,
    #sidebarBackdrop,
    #errorOverlay,
    #printFab,
    #styleFab,
    #stylePopover,
    #layerFab,
    #layerPanel {
        display: none !important;
    }

    body {
        display: block !important;
        margin: 0 !important;
        background: #fff !important;
    }

    #map {
        position: fixed !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Keep Leaflet tile colours intact */
    .leaflet-container {
        background: #fff !important;
    }
}

/* ── Mobile drawer ────────────────────────────────── */
#menuToggle {
    display: none;
}

#sidebarBackdrop {
    display: none;
}

@media (max-width: 700px) {
    body { display: block; }

    #map {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(320px, 88vw);
        min-width: 0;
        z-index: 2000;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.7);
    }

    #sidebar.open {
        transform: translateX(0);
    }

    #sidebarBackdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 1999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

    #sidebarBackdrop.open {
        opacity: 1;
        pointer-events: auto;
    }

    #menuToggle {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 12px;
        left: 12px;
        z-index: 1500;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: #161b22;
        border: 1px solid #30363d;
        color: #c9d1d9;
        font-size: 20px;
        font-weight: 400;
        box-shadow: 0 2px 12px rgba(0,0,0,0.6);
        padding: 0;
        line-height: 1;
    }

    #menuToggle:hover { background: #21262d; color: #fff; }

    .s-header-close {
        display: flex !important;
    }
}

/* ── About footer ─────────────────────────────────── */
#about-footer {
    position: fixed;
    bottom: 0;
    left: 300px;
    right: 0;
    z-index: 1100;
    background: #161b22;
    border-top: 1px solid #30363d;
    font-size: 11px;
    color: #8b949e;
    padding: 0 12px;
}

#about-footer summary {
    cursor: pointer;
    padding: 5px 0;
    user-select: none;
    list-style: none;
    color: #484f58;
}

#about-footer summary:hover { color: #8b949e; }

#about-footer .about-content {
    padding: 8px 0 10px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

#about-footer .about-content p { max-width: 600px; line-height: 1.5; }

#about-footer a { color: #58a6ff; text-decoration: none; }
#about-footer a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    #about-footer { left: 0; }
}

@media print {
    #about-footer { display: none; }
}

.s-header-close {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #8b949e;
    font-size: 22px;
    font-weight: 400;
    padding: 0 2px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.s-header-close:hover { color: #fff; background: none; }

/* ── Nearest POI display ─────────────────────────── */
.np-row {
    display: grid;
    grid-template-columns: 22px 1fr auto auto;
    align-items: center;
    gap: 4px;
    padding: 3px 0;
    font-size: 12px;
    border-bottom: 1px solid #21262d;
}
.np-row:last-child { border: none; }
.np-row.np-na { opacity: 0.35; }
.np-icon  { text-align: center; font-size: 13px; }
.np-label { color: #8b949e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-name  { color: #c9d1d9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.np-dist  { color: #f0883e; font-size: 11px; font-weight: 600; white-space: nowrap; text-align: right; }

/* ── Same Nearest Checker ────────────────────────── */
/* Keep .nc-result/.nc-match/.nc-miss for error/no-data states */
.nc-result {
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin: 6px 0 4px;
    text-align: center;
}
.nc-match { background: rgba(63,185,80,0.15); color: #3fb950; border: 1px solid #3fb950; }
.nc-miss  { background: rgba(248,81,73,0.15); color: #f85149; border: 1px solid #f85149; }

/* ── Coordinate input row ─────────────────────────── */
.nc-point-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 5px;
}
.nc-point-lbl {
    font-weight: 700;
    color: #f0883e;
    font-size: 12px;
    width: 14px;
    flex-shrink: 0;
    text-align: center;
}

/* ── Map-pick button ──────────────────────────────── */
.nc-pick-btn {
    padding: 4px 7px;
    flex-shrink: 0;
    background: transparent;
    color: #58a6ff;
    border: 1px solid #388bfd55;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.nc-pick-btn:hover {
    background: rgba(88,166,255,0.12);
    border-color: #58a6ff;
}
.nc-pick-btn.meas-active {
    background: #58a6ff;
    color: #0d1117;
    border-color: #58a6ff;
}
.nc-pick-btn.meas-active:hover { background: #3b82f6; }

/* ── Loading placeholder ──────────────────────────── */
.nc-loading {
    font-size: 12px;
    color: #8b949e;
    padding: 4px 0;
}

/* ── Summary bar ──────────────────────────────────── */
.nc-summary {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    margin: 4px 0 8px;
    background: #21262d;
    color: #c9d1d9;
    letter-spacing: 0.3px;
}
.nc-summary.all-match  { background: rgba(63,185,80,0.15);  color: #3fb950; }
.nc-summary.no-match   { background: rgba(248,81,73,0.15);  color: #f85149; }
.nc-summary.part-match { background: rgba(240,136,62,0.12); color: #f0883e; }

/* ── Result rows ──────────────────────────────────── */
.nc-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 5px 0;
    font-size: 12px;
    border-bottom: 1px solid #21262d;
}
.nc-row:last-child { border: none; }
.nc-row-na { opacity: 0.38; }
.nc-st { font-size: 12px; flex-shrink: 0; width: 16px; line-height: 1.5; }
.nc-ic { font-size: 13px; flex-shrink: 0; width: 20px; line-height: 1.4; }
.nc-body { flex: 1; min-width: 0; }
.nc-lbl { color: #8b949e; line-height: 1.4; }
.nc-nm {
    font-size: 11px;
    color: #c9d1d9;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nc-nm-same { color: #3fb950; }
.nc-nm-na   { color: #484f58; }
.nc-d {
    color: #484f58;
    font-size: 10px;
    margin-left: 5px;
}
.nc-pa, .nc-pb {
    display: inline-block;
    width: 16px;
    font-weight: 700;
    font-size: 10px;
    flex-shrink: 0;
}
.nc-pa { color: #f0883e; }
.nc-pb { color: #58a6ff; }

/* ── Changelog ───────────────────────────────────── */
.cl-section { margin-top: auto; }

.cl-badge {
    display: block;
    font-size: 10px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #484f58;
    margin-top: 2px;
}

.cl-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cl-entry {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 5px 7px;
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 5px;
}

.cl-date {
    font-size: 10px;
    color: #484f58;
}

.cl-text {
    font-size: 12px;
    color: #c9d1d9;
    line-height: 1.4;
}

/* ── Tentacles ────────────────────────────────────── */
.tent-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
}
.tent-card-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.tent-card-title {
    font-weight: 700;
    font-size: 13px;
    color: #e6edf3;
}
.tent-card-del {
    padding: 2px 8px;
    font-size: 12px;
}
.tent-pick-btn {
    width: 100%;
    margin-bottom: 6px;
    background: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    font-weight: 400;
}
.tent-pick-btn:hover { background: #30363d; }
.tent-pick-btn.meas-active {
    background: #58a6ff;
    color: #0d1117;
    border-color: #58a6ff;
}
.tent-pick-btn.meas-active:hover { background: #3b82f6; }
.tent-coord {
    font-family: monospace;
    font-size: 11px;
    color: #8b949e;
    text-align: center;
    margin-bottom: 6px;
    padding: 4px 8px;
    background: #161b22;
    border-radius: 4px;
    border: 1px solid #21262d;
}
