/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blue:    #3b82f6;
    --blue-dk: #2563eb;
    --red:     #ef4444;
    --green:   #22c55e;
    --gray-50: #f9fafb;
    --gray-100:#f3f4f6;
    --gray-200:#e5e7eb;
    --gray-400:#9ca3af;
    --gray-600:#4b5563;
    --gray-900:#111827;
    --radius:  6px;
    --shadow:  0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    color: var(--gray-900);
    background: var(--gray-50);
}

body.fullscreen {
    overflow: hidden;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 200;
}

nav.nav-map {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 2px 12px rgba(0,0,0,0.06);
}

.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -.3px;
    color: var(--gray-900);
}
.nav-brand:hover { text-decoration: none; }

.nav-links { display: flex; gap: .5rem; align-items: center; }
.nav-links a { font-size: .875rem; color: var(--gray-600); padding: .3rem .65rem; border-radius: 99px; transition: background .15s, color .15s; }
.nav-links a:hover { color: var(--gray-900); background: rgba(0,0,0,.05); text-decoration: none; }
.nav-links a.btn-primary { background: var(--blue); color: #fff; font-weight: 500; }
.nav-links a.btn-primary:hover { background: var(--blue-dk); }

/* ── Full-screen map ── */
#map {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* ── Container / layout ── */
.container {
    max-width: 760px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.form-page {
    max-width: 480px;
}

h1 { font-size: 1.6rem; margin-bottom: 1.25rem; }
h2 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }

hr { border: none; border-top: 1px solid var(--gray-200); margin: 1.5rem 0; }

/* ── Forms ── */
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .35rem;
    color: var(--gray-600);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    background: #fff;
    transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-group p.field-value {
    padding: .5rem 0;
    font-size: 1rem;
}
.form-check label {
    display: flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
}

.required { color: var(--red); }

.hint {
    font-size: .85rem;
    color: var(--gray-400);
    margin-bottom: .5rem;
}

.muted { color: var(--gray-400); font-style: italic; }

/* ── Profile page sticky action footer ── */
.profile-sticky-footer {
    position: sticky;
    bottom: 0;
    z-index: 150;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-top: 1px solid var(--gray-200);
    padding: .75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}
.profile-sticky-footer a {
    font-size: .875rem;
    color: var(--blue);
    text-decoration: none;
}
.profile-sticky-footer a:hover { text-decoration: underline; }

/* ── Site footer (legal links) ── */
.site-footer {
    text-align: center;
    padding: 1.25rem 1rem;
    font-size: .8rem;
    color: var(--gray-400);
    border-top: 1px solid var(--gray-200);
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
}
.site-footer a { color: var(--gray-400); }
.site-footer a:hover { color: var(--gray-600); text-decoration: underline; }
.site-footer-sep { color: var(--gray-200); }

/* ── Legal pages & Markdown preview ── */
.legal-content {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--gray-600);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 720px;
    margin-bottom: 2rem;
}
/* Markdown-rendered prose inside .legal-content */
.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 { color: var(--gray-900); margin: 1.25rem 0 .5rem; font-weight: 700; line-height: 1.3; }
.legal-content h1 { font-size: 1.4rem; }
.legal-content h2 { font-size: 1.15rem; border-bottom: 1px solid var(--gray-200); padding-bottom: .3rem; }
.legal-content h3 { font-size: 1rem; }
.legal-content h4 { font-size: .9rem; }
.legal-content p  { margin: .65rem 0; }
.legal-content ul,
.legal-content ol { padding-left: 1.6rem; margin: .65rem 0; }
.legal-content li { margin: .25rem 0; }
.legal-content a  { color: var(--blue); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { font-weight: 700; color: var(--gray-900); }
.legal-content em { font-style: italic; }
.legal-content hr { border: none; border-top: 1px solid var(--gray-200); margin: 1.25rem 0; }
.legal-content code {
    background: var(--gray-100);
    border-radius: 3px;
    padding: .1em .35em;
    font-size: .85em;
    font-family: ui-monospace, monospace;
}
.legal-content pre {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: .9rem 1rem;
    overflow-x: auto;
    font-size: .82rem;
    margin: .75rem 0;
}
.legal-content pre code { background: none; padding: 0; }
.legal-content blockquote {
    border-left: 3px solid var(--gray-200);
    margin: .75rem 0;
    padding: .25rem .9rem;
    color: var(--gray-400);
    font-style: italic;
}

/* ── Markdown editor (admin settings) ── */
.md-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .4rem;
    flex-wrap: wrap;
    gap: .4rem;
}
.md-editor-header label { margin-bottom: 0; }
.md-tab-bar {
    display: flex;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    overflow: hidden;
}
.md-tab {
    padding: .25rem .75rem;
    font-size: .8rem;
    font-weight: 500;
    background: var(--gh-bg);
    border: none;
    cursor: pointer;
    color: var(--gh-text-muted);
    transition: background .1s, color .1s;
}
.md-tab + .md-tab { border-left: 1px solid var(--gh-border); }
.md-tab.active    { background: #fff; color: var(--gh-text); }
.md-tab:hover:not(.active) { background: var(--gh-hover); }
.md-textarea {
    width: 100%;
    font-size: .85rem;
    font-family: ui-monospace, monospace;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    padding: 8px 10px;
    resize: vertical;
    line-height: 1.6;
}
.md-textarea:focus {
    outline: none;
    border-color: var(--gh-accent);
    box-shadow: 0 0 0 3px rgba(9,105,218,.1);
}
.md-preview { min-height: 120px; }

.form-footer {
    margin-top: 1.25rem;
    font-size: .875rem;
    color: var(--gray-600);
    text-align: center;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    padding: .55rem 1.25rem;
    background: var(--blue);
    color: #fff !important;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}
.btn-primary:hover { background: var(--blue-dk); text-decoration: none; }
.btn-block { display: block; width: 100%; text-align: center; }

.btn-secondary {
    display: inline-block;
    padding: .5rem 1rem;
    background: var(--gray-100);
    color: var(--gray-900) !important;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .9rem;
    cursor: pointer;
    text-decoration: none;
}
.btn-secondary:hover { background: var(--gray-200); text-decoration: none; }

.btn-danger {
    display: inline-block;
    padding: .5rem 1rem;
    background: var(--red);
    color: #fff !important;
    border: none;
    border-radius: var(--radius);
    font-size: .9rem;
    cursor: pointer;
}
.btn-danger:hover { opacity: .9; }

.btn-sm { padding: .3rem .7rem; font-size: .8rem; }

/* ── Alerts ── */
.alert {
    padding: .75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: .9rem;
}
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ── Profile pin map / edit map ── */
#pin-map {
    height: 320px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    margin-bottom: .5rem;
    isolation: isolate;
}

#profile-map {
    height: 280px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    margin-bottom: 1rem;
    isolation: isolate;
}

/* ── Profile view ── */
.profile-view h1 { margin-bottom: .25rem; }
.profile-fields { margin-bottom: 1.5rem; }
.profile-fields .form-group { border-bottom: 1px solid var(--gray-100); padding-bottom: .75rem; }

/* ── GitHub-style admin ─────────────────────────────────────────── */
:root {
    --gh-bg:           #f6f8fa;
    --gh-border:       #d0d7de;
    --gh-border-muted: #d8dee4;
    --gh-text:         #24292f;
    --gh-text-muted:   #57606a;
    --gh-accent:       #0969da;
    --gh-accent-hover: #0860ca;
    --gh-accent-subtle:#ddf4ff;
    --gh-success:      #1a7f37;
    --gh-success-bg:   #dafbe1;
    --gh-danger:       #cf222e;
    --gh-danger-bg:    #ffebe9;
    --gh-warn:         #9a6700;
    --gh-warn-bg:      #fff8c5;
}

/* Top bar */
.gh-topbar {
    background: #fff;
    border-bottom: 1px solid var(--gh-border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.gh-topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gh-topbar-brand {
    font-weight: 700;
    font-size: 15px;
    color: var(--gh-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gh-topbar-brand:hover { text-decoration: none; color: var(--gh-text); }
.gh-topbar-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    background: var(--gh-accent-subtle);
    color: var(--gh-accent);
    letter-spacing: .02em;
}
.gh-topbar-links {
    display: flex;
    gap: 16px;
}
.gh-topbar-links a {
    font-size: 13px;
    color: var(--gh-text-muted);
    text-decoration: none;
}
.gh-topbar-links a:hover { color: var(--gh-accent); text-decoration: none; }

/* Preview-as controls in topbar */
.gh-topbar-preview-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gh-topbar-preview-label {
    font-size: 12px;
    color: var(--gh-text-muted);
    margin-right: 2px;
}
.gh-topbar-preview-btn {
    font-size: 12px;
    padding: 3px 10px;
    border: 1px solid var(--gh-border);
    border-radius: 99px;
    background: none;
    color: var(--gh-text-muted);
    cursor: pointer;
    transition: background .12s, color .12s;
}
.gh-topbar-preview-btn:hover { background: var(--gh-border-muted); color: var(--gh-text); }

/* Topbar pill + exit button when in preview */
.gh-preview-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 99px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffc10740;
}
.gh-topbar-exit-preview {
    font-size: 12px;
    padding: 3px 10px;
    border: 1px solid #ffc10780;
    border-radius: 99px;
    background: #fff3cd;
    color: #856404;
    cursor: pointer;
    font-weight: 600;
    transition: background .12s;
}
.gh-topbar-exit-preview:hover { background: #ffe69c; }

/* Preview banner (full width, below topbar) */
.gh-preview-banner {
    background: #fff3cd;
    border-bottom: 1px solid #ffc10740;
    padding: 8px 24px;
    font-size: 13px;
    color: #664d03;
    text-align: center;
}

/* Preview — normal user access denied state */
.gh-preview-denied {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    color: var(--gh-text-muted);
}
.gh-preview-denied-icon { font-size: 48px; margin-bottom: 16px; }
.gh-preview-denied h2   { font-size: 20px; color: var(--gh-text); margin-bottom: 8px; }
.gh-preview-denied p    { font-size: 14px; max-width: 420px; line-height: 1.6; }

/* Admin layout */
.gh-admin-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* Sidebar */
.gh-sidebar {
    width: 210px;
    flex-shrink: 0;
    position: sticky;
    top: 76px; /* 52px topbar + 24px wrapper padding */
    align-self: flex-start;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
}
.gh-sidebar-nav {
    list-style: none;
}
.gh-sidebar-nav li a {
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--gh-text);
    text-decoration: none;
    transition: background .1s;
}
.gh-sidebar-nav li a:hover { background: var(--gh-border-muted); text-decoration: none; }
.gh-sidebar-nav li a.active {
    background: var(--gh-accent);
    color: #fff;
    font-weight: 600;
}
.gh-sidebar-nav li a.active:hover { background: var(--gh-accent-hover); }
.gh-sidebar-sep   { border: none; border-top: 1px solid var(--gh-border); margin: 8px 0; }
.gh-sidebar-label { font-size: 11px; font-weight: 600; color: var(--gh-text-muted); text-transform: uppercase; letter-spacing: .06em; padding: 4px 12px 2px; }

/* Main content area */
.gh-admin-main {
    flex: 1;
    min-width: 0;
}
.gh-admin-main h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gh-text);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gh-border);
}

/* GitHub-style box */
.gh-box {
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    margin-bottom: 16px;
}
.gh-box-header {
    padding: 12px 16px;
    background: var(--gh-bg);
    border-bottom: 1px solid var(--gh-border);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.gh-box-header h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gh-text);
    border: none;
    padding: 0;
}
.gh-box-body   { padding: 16px; }
.gh-box-footer {
    padding: 12px 16px;
    background: var(--gh-bg);
    border-top: 1px solid var(--gh-border);
    border-radius: 0 0 6px 6px;
    font-size: 12px;
    color: var(--gh-text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.gh-box-warn   { border-color: #d29922; background: var(--gh-warn-bg); }

/* Stat grid */
.gh-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0;
}
.gh-stat {
    padding: 16px;
    border-right: 1px solid var(--gh-border);
    text-align: center;
}
.gh-stat:last-child { border-right: none; }
.gh-stat-num   { display: block; font-size: 28px; font-weight: 700; color: var(--gh-accent); line-height: 1.1; }
.gh-stat-label { font-size: 12px; color: var(--gh-text-muted); margin-top: 2px; }
.gh-stat-warn .gh-stat-num { color: var(--gh-warn); }

/* GitHub-style table */
.gh-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.gh-table th {
    padding: 8px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--gh-text-muted);
    border-bottom: 1px solid var(--gh-border);
    white-space: nowrap;
}
.gh-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gh-border-muted);
    vertical-align: middle;
    font-size: 14px;
}
.gh-table tr:last-child td { border-bottom: none; }
.gh-table tr:hover td { background: var(--gh-bg); }
.gh-table input[type="text"],
.gh-table input[type="number"],
.gh-table select {
    padding: 4px 8px;
    font-size: 13px;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
}
.gh-table input[type="text"]:focus,
.gh-table select:focus { outline: none; border-color: var(--gh-accent); box-shadow: 0 0 0 3px rgba(9,105,218,.15); }

/* ── Scrollable table wrapper ── */
.table-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* Sticky action column */
.gh-table .col-sticky {
    position: sticky;
    right: 0;
    background: #fff;
    z-index: 2;
    box-shadow: -3px 0 8px rgba(0,0,0,.06);
    white-space: nowrap;
}
.gh-table tr:hover .col-sticky { background: var(--gh-bg); }

/* ── Table pagination ── */
.tbl-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--gh-border);
    font-size: 13px;
    color: var(--gh-text-muted);
    gap: 8px;
    flex-wrap: wrap;
}
.tbl-pagination-btns { display: flex; gap: 4px; }
.tbl-page-btn {
    padding: 4px 10px;
    font-size: 12px;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    background: #fff;
    color: var(--gh-text);
    cursor: pointer;
}
.tbl-page-btn:hover:not(:disabled) { background: var(--gh-bg); border-color: var(--gh-text-muted); }
.tbl-page-btn:disabled { opacity: .4; cursor: default; }
.tbl-page-btn.active { background: var(--gh-accent); color: #fff; border-color: var(--gh-accent); }

/* ── Table search bar ── */
.tbl-search-bar {
    padding: 10px 16px;
    border-bottom: 1px solid var(--gh-border);
    background: var(--gh-bg);
}
.tbl-search-bar input {
    width: 100%; max-width: 320px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid var(--gh-border);
    border-radius: 6px;
    background: #fff;
}
.tbl-search-bar input:focus { outline: none; border-color: var(--gh-accent); box-shadow: 0 0 0 3px rgba(9,105,218,.15); }

/* GitHub-style buttons (admin context) */
.gh-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--gh-border);
    background: var(--gh-bg);
    color: var(--gh-text);
    cursor: pointer;
    text-decoration: none;
    transition: background .1s, border-color .1s;
    white-space: nowrap;
}
.gh-btn:hover { background: var(--gh-border-muted); text-decoration: none; border-color: #b1bac4; }
.gh-btn-primary {
    background: var(--gh-accent);
    border-color: rgba(0,0,0,.1);
    color: #fff;
}
.gh-btn-primary:hover { background: var(--gh-accent-hover); color: #fff; }
.gh-btn-danger  { color: var(--gh-danger); }
.gh-btn-danger:hover { background: var(--gh-danger-bg); border-color: var(--gh-danger); }
.gh-btn-sm { padding: 3px 8px; font-size: 12px; }

/* Role / status badges */
.gh-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}
.gh-badge-super   { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.gh-badge-admin   { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.gh-badge-banned  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.gh-badge-hidden  { background: #f3f4f6; color: #6b7280; border: 1px solid #d1d5db; }
.gh-badge-ok      { background: var(--gh-success-bg); color: var(--gh-success); border: 1px solid #7ee787; }
.gh-badge-warn    { background: var(--gh-warn-bg); color: var(--gh-warn); border: 1px solid #d29922; }
.gh-badge-fail    { background: var(--gh-danger-bg); color: var(--gh-danger); border: 1px solid #ffadad; }
.gh-badge-neutral { background: var(--gh-bg); color: var(--gh-text-muted); border: 1px solid var(--gh-border); }

/* Alerts */
.gh-alert {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.gh-alert-success { background: var(--gh-success-bg); color: var(--gh-success); border: 1px solid #7ee787; }
.gh-alert-error   { background: var(--gh-danger-bg);  color: var(--gh-danger);  border: 1px solid #ffadad; }
.gh-alert-warn    { background: var(--gh-warn-bg);    color: var(--gh-warn);    border: 1px solid #d29922; }

/* Form tweaks in admin context */
.gh-admin-main .form-group label { color: var(--gh-text); font-size: 14px; font-weight: 600; }
.gh-admin-main .form-group input,
.gh-admin-main .form-group select {
    border-color: var(--gh-border);
    font-size: 14px;
}
.gh-admin-main .hint { color: var(--gh-text-muted); font-size: 13px; }
.gh-form-actions { padding-top: 12px; border-top: 1px solid var(--gh-border); margin-top: 16px; display: flex; gap: 8px; }

/* Field-add form row */
.gh-field-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 12px; }
.gh-field-row .form-group { flex: 1; min-width: 140px; margin-bottom: 0; }

code { background: var(--gh-bg); padding: .1em .4em; border-radius: 3px; font-size: .85em; border: 1px solid var(--gh-border-muted); color: var(--gh-text); }

/* Legacy admin table — keep for non-admin pages */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
}
.admin-table th {
    background: var(--gray-100);
    padding: .6rem .75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--gray-200);
}
.admin-table td {
    padding: .6rem .75rem;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table input[type="text"],
.admin-table input[type="number"],
.admin-table select { padding: .3rem .5rem; font-size: .85rem; }
.field-form { background: #fff; padding: 1.25rem; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 1.5rem; }
.field-form-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.field-form-row .form-group { flex: 1; min-width: 160px; margin-bottom: 0; }

/* ── Filter panel ── */
#filter-panel {
    position: absolute;
    right: 0;
    z-index: 950;
    width: 300px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.5);
    border-left: none;
    border-radius: 0 0 0 12px;
    box-shadow: -4px 4px 24px rgba(0,0,0,.14);
}
#filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .45rem .75rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    position: sticky;
    top: 0;
    z-index: 1;
}
.filter-panel-title {
    font-size: .7rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.filter-clear-btn {
    font-size: .75rem;
    color: var(--blue);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.filter-clear-btn:hover { text-decoration: underline; }

.filter-row {
    padding: .55rem .75rem;
    border-bottom: 1px solid var(--gray-100);
    transition: background .1s;
}
.filter-row-active { background: #eff6ff; }
.filter-row-label {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .3rem;
}
.filter-row-controls {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    align-items: center;
}
.filter-input {
    font-size: .8rem;
    padding: .28rem .5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: #fff;
    color: var(--gray-900);
}
.filter-input:focus { outline: none; border-color: var(--blue); }
select.filter-input  { max-width: 155px; }
input.filter-input[type="text"]   { width: 120px; }
input.filter-input[type="date"]   { width: 128px; }
input.filter-input[type="number"] { width: 68px; }
.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: .22rem;
    width: 100%;
    padding-top: .1rem;
}
.filter-cb-label {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    cursor: pointer;
}
.filter-cb-label input[type="checkbox"] { width: auto; margin: 0; accent-color: var(--blue); }
.filter-range-sep { font-size: .8rem; color: var(--gray-400); }
.filter-unit      { font-size: .75rem; color: var(--gray-400); }

/* Filter button badge */
#filter-toggle-btn.has-filters {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue-dk);
}
.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    font-size: .6rem;
    font-weight: 700;
    margin-left: .3rem;
    vertical-align: middle;
}

/* ── Map toolbar ── */
#pin-hidden-notice {
    position: absolute;
    top: 0; /* sits just below nav, above toolbar — set by positionBars() on the toolbar; this is the nav height placeholder */
    left: 0; right: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 1rem;
    background: #fef3c7;
    color: #78350f;
    font-size: .8rem;
    border-bottom: 1px solid #fcd34d;
}
#pin-hidden-notice a { color: #92400e; font-weight: 600; text-decoration: underline; }
#pin-hidden-notice a:hover { color: #78350f; }
#pin-hidden-dismiss { margin-left: auto; background: none; border: none; cursor: pointer; font-size: 1.1rem; color: #92400e; line-height: 1; padding: 0 2px; }
#pin-hidden-dismiss:hover { color: #78350f; }

#map-toolbar {
    position: absolute;
    top: 0; /* exact value set by JS positionBars() */
    left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .4rem .75rem;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.07);
}
.toolbar-group { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
#toolbar-right { margin-left: auto; gap: .5rem; }

.tb-btn {
    padding: .3rem .75rem;
    font-size: .8rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    border-radius: 99px;
    background: #fff;
    color: var(--gray-600);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.tb-btn:hover  { background: rgba(0,0,0,.05); color: var(--gray-900); text-decoration: none; border-color: rgba(0,0,0,.1); }
.tb-btn.active { background: #6366f1; color: #fff; border-color: #4f46e5; box-shadow: 0 1px 4px rgba(99,102,241,.35); }

.tb-filter-group { display: flex; border: 1px solid var(--gray-200); border-radius: 99px; overflow: hidden; }
.tb-filter-group .tb-btn { border: none; border-radius: 0; padding: .3rem .6rem; }
.tb-filter-group .tb-btn:first-child { border-radius: 99px 0 0 99px; }
.tb-filter-group .tb-btn:last-child  { border-radius: 0 99px 99px 0; }
.tb-filter-group .tb-btn.active { background: #6366f1; color: #fff; border-color: #4f46e5; }

/* ── Place-pin hint banner ── */
#place-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(30,30,30,.88);
    color: #fff;
    padding: .6rem 1.25rem;
    border-radius: 99px;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    backdrop-filter: blur(4px);
}
#place-hint button {
    background: rgba(255,255,255,.2);
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    border-radius: 99px;
    padding: .2rem .7rem;
    font-size: .8rem;
    cursor: pointer;
}
#place-hint button:hover { background: rgba(255,255,255,.3); }

/* ── Custom pin markers ── */
.pin-icon   { background: transparent !important; border: none !important; }
.pin-dot {
    width: 14px; height: 14px;
    background: var(--blue);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.pin-dot-me {
    width: 18px; height: 18px;
    background: #f59e0b;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 6px rgba(245,158,11,.5);
}

/* ── Cluster markers ── */
.cluster-icon { background: transparent !important; border: none !important; }
.cluster-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: #fff;
    border: 3px solid rgba(255,255,255,.6);
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    transition: transform .15s;
}
.cluster-dot:hover { transform: scale(1.1); }
.cluster-sm { width: 34px; height: 34px; font-size: .8rem;  background: #3b82f6; }
.cluster-md { width: 42px; height: 42px; font-size: .9rem;  background: #6366f1; }
.cluster-lg { width: 50px; height: 50px; font-size: 1rem;   background: #8b5cf6; }

/* ── Pin popup base (dark theme via #cpop — overrides below) ── */
.pin-popup              { min-width: 180px; }

/* ── Toast ── */
.map-toast {
    position: fixed;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #1e293b;
    color: #fff;
    padding: .55rem 1.25rem;
    border-radius: 99px;
    font-size: .875rem;
    z-index: 2000;
    opacity: 0;
    transition: opacity .2s, transform .2s;
    pointer-events: none;
}
.map-toast.map-toast-show  { opacity: 1; transform: translateX(-50%) translateY(0); }
.map-toast.map-toast-error { background: var(--red); }

/* ── New field types ── */
.field-radio-group, .field-checkbox-group {
    display:flex; flex-direction:column; gap:.35rem; padding:.25rem 0;
}
.field-radio-label, .field-checkbox-label {
    display:flex; align-items:center; gap:.45rem; font-size:1rem; cursor:pointer;
}
.field-radio-label input, .field-checkbox-label input { width:auto; margin:0; }
.field-hide-toggle { margin-top:-.75rem; margin-bottom:.5rem; }
.field-hide-toggle .field-checkbox-label { font-size:.85rem; color:var(--text-muted,#6b7280); }

.field-range-wrap { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.field-range-wrap input[type="number"] { width:110px; padding:.5rem .75rem; border:1px solid var(--gray-200); border-radius:var(--radius); font-size:1rem; }
.field-range-dash { color:var(--gray-400); font-weight:600; padding:0 .1rem; }
.field-range-sub-label { font-size:.8rem; color:var(--gray-600); white-space:nowrap; }

.field-combined-wrap    { display:flex; flex-direction:column; gap:.5rem; }
.field-combined-group   { border:1px solid var(--gray-200); border-radius:var(--radius); padding:.5rem .75rem; }
.field-combined-group-label { display:flex; align-items:center; gap:.45rem; font-weight:600; font-size:.95rem; cursor:pointer; }
.field-combined-group-label input[type="checkbox"] { width:auto; margin:0; }
.field-combined-subs    { margin-top:.4rem; margin-left:1.4rem; display:flex; flex-direction:column; gap:.3rem; }
.field-combined-sub-label { display:flex; align-items:center; gap:.4rem; font-size:.9rem; cursor:pointer; }
.field-combined-sub-label input[type="radio"] { width:auto; margin:0; }
.field-combined-readonly { list-style:none; padding:.25rem 0; display:flex; flex-direction:column; gap:.2rem; }

/* ── Temp pin dots ── */
.pin-dot-temp {
    width: 14px; height: 14px;
    background: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(16,185,129,.4);
}
.pin-dot-temp-me {
    width: 18px; height: 18px;
    background: #f97316;
    border: 2.5px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(249,115,22,.5);
}

/* ── Temp pin popup badge (dark glass theme) ── */
.pin-popup-type-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    color: #6ee7b7;
    background: rgba(16,185,129,.18);
    border-radius: 99px;
    padding: .1rem .5rem;
    margin-bottom: .35rem;
}

/* ── Temp pin pick button active state ── */
#temp-pick-btn.active {
    background: #10b981;
    color: #fff;
    border-color: #059669;
}

/* ── Temp pins table ── */
.tp-expired-row td { opacity: .55; }
.tp-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 600;
    color: #92400e;
    background: #fef3c7;
    border-radius: 99px;
    padding: .1rem .45rem;
    margin-left: .4rem;
    vertical-align: middle;
}
.btn-danger-sm {
    padding: .25rem .65rem;
    font-size: .8rem;
    background: #fff;
    border: 1px solid var(--red);
    color: var(--red);
    border-radius: var(--radius);
    cursor: pointer;
}
.btn-danger-sm:hover { background: var(--red); color: #fff; }

/* ── Temp-pin map container ── */
#temp-map {
    height: 280px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    margin-top: .25rem;
    isolation: isolate;
}
.field-combined-readonly li::before { content:'• '; color:var(--gray-400); }

/* ── Guest consent popup ── */
#consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#consent-modal {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0,0,0,.3);
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: consent-in .22s ease;
}
@keyframes consent-in {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
#consent-modal h2 {
    margin: 0;
    padding: 1.4rem 1.6rem 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
#consent-body {
    padding: 1.1rem 1.6rem;
    overflow-y: auto;
    flex: 1;
    font-size: .93rem;
    line-height: 1.65;
    color: #374151;
}
#consent-body p   { margin: 0 0 .75rem; }
#consent-body p:last-child { margin-bottom: 0; }
#consent-body h1,#consent-body h2,#consent-body h3 { margin: 1rem 0 .4rem; font-size: 1rem; }
#consent-body ul,#consent-body ol { margin: 0 0 .75rem 1.2rem; }
#consent-body a   { color: var(--blue,#3b82f6); }
#consent-footer {
    padding: 1rem 1.6rem 1.4rem;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
}
#consent-accept {
    width: 100%;
    padding: .65rem 1rem;
    background: var(--blue,#3b82f6);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
#consent-accept:hover { background: #2563eb; }

/* ── Custom popup ── */
#cpop {
    position: absolute;
    z-index: 1100;
    width: min(280px, calc(100vw - 32px));
    background: rgba(14, 14, 22, 0.75);
    backdrop-filter: blur(20px) saturate(200%);
    -webkit-backdrop-filter: blur(20px) saturate(200%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.07) inset;
    color: #f0f0f0;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(6px) scale(.97);
    transition: opacity .18s ease, transform .18s ease;
}
#cpop.cpop-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
#cpop-body { padding: 0; }
#cpop-header {
    padding: .65rem 2rem .65rem 1rem;
    background: rgba(0,0,0,.25);
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 16px 16px 0 0;
}
#cpop-content { padding: .6rem 1rem .9rem; }
#cpop-close {
    position: absolute;
    top: 8px; right: 10px;
    background: none; border: none;
    color: rgba(255,255,255,.4);
    font-size: 13px; cursor: pointer;
    line-height: 1; padding: 3px 5px;
    border-radius: 5px;
    transition: color .12s, background .12s;
}
#cpop-close:hover { color: #fff; background: rgba(255,255,255,.12); }

/* Arrow */
#cpop-arrow {
    position: absolute;
    bottom: -9px;
    left: var(--arrow-left, 50%);
    transform: translateX(-50%);
    width: 18px; height: 9px;
    overflow: hidden;
    pointer-events: none;
}
#cpop-arrow::after {
    content: '';
    position: absolute;
    top: -9px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px; height: 14px;
    background: rgba(14,14,22,0.75);
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
#cpop.cpop-flip #cpop-arrow {
    bottom: auto; top: -9px;
}
#cpop.cpop-flip #cpop-arrow::after {
    top: auto; bottom: -9px;
    border-right: none; border-bottom: none;
    border-left: 1px solid rgba(255,255,255,0.12);
    border-top:  1px solid rgba(255,255,255,0.12);
}

/* ── Pin popup inner content (dark theme) ── */
.pin-popup              { font-size: .875rem; }
.pin-popup-name         { font-weight: 700; font-size: 1rem; color: #fff; margin: 0; padding-right: .5rem; }
.pin-popup-fields       { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .5rem; }
.pin-popup-field        { font-size: .8rem; color: rgba(255,255,255,.72); }
.pin-popup-label        { font-weight: 600; display: block; font-size: .68rem;
                          color: rgba(255,255,255,.38); text-transform: uppercase;
                          letter-spacing: .05em; margin-bottom: 1px; }
.pin-popup-combined-item { display: block; padding-left: .5rem; color: rgba(255,255,255,.65); }
.pin-popup-combined-item::before { content: '• '; color: rgba(255,255,255,.28); }
.pin-popup-url          { color: #93c5fd; word-break: break-all; font-size: .78rem; }
.pin-popup-url:hover    { color: #bfdbfe; }
.pin-popup-link         { display: block; margin-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: .5rem; font-size: .8rem; color: rgba(255,255,255,.5); text-decoration: none; }
.pin-popup-link:hover   { color: #93c5fd; text-decoration: none; }
.pin-popup-date         { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: .35rem; text-align: right; }
.pin-popup-private      { font-size: .75rem; color: rgba(255,255,255,.4); margin: .25rem 0; }
.pin-popup-pin-hidden   { font-size: .78rem; color: #fcd34d; margin: .35rem 0 .1rem; line-height: 1.4; }
.pin-popup-pin-hidden a { color: #fde68a; text-decoration: underline; }
.pin-popup-pin-hidden a:hover { color: #fff; }
.pin-popup-type-badge   { font-size: .72rem; color: rgba(255,255,255,.45); margin-bottom: .35rem; }

/* ── Announcement marker ── */
.ann-marker-wrap { background: none !important; border: none !important; }
.ann-marker {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(99,102,241,.5), 0 0 0 3px rgba(255,255,255,.7);
    cursor: pointer;
    transition: transform .15s;
}
.ann-marker:hover { transform: scale(1.1); }

/* ── Announcement popup ── */
.ann-popup { min-width: 200px; }
.ann-popup-title { font-size: .95rem; font-weight: 700; color: #e0d7ff; margin: 0; padding-right: .5rem; }
.ann-popup-body  { font-size: .82rem; color: rgba(255,255,255,.72); margin-bottom: .55rem; white-space: pre-wrap; line-height: 1.5; }
.ann-popup-footer{ display: flex; align-items: center; justify-content: flex-end; gap: .4rem; flex-wrap: wrap; padding-top: .4rem; border-top: 1px solid rgba(255,255,255,.1); }
.ann-pin-meta    { font-size: .75rem; color: rgba(255,255,255,.45); font-weight: 500; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.ann-role-badge  {
    display: inline-flex; align-items: center;
    background: #ede9fe; color: #6d28d9;
    border-radius: 999px; padding: 1px 8px;
    font-size: .7rem; font-weight: 600;
    letter-spacing: .02em;
}

/* ── Map legend ── */
#map-legend {
    position: absolute;
    bottom: 2rem;
    right: .75rem;
    z-index: 1000;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,.14);
    overflow: hidden;
    min-width: 160px;
}
.legend-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
    padding: .4rem .65rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.legend-toggle:hover { background: rgba(0,0,0,.04); }
#legend-chevron { font-size: .6rem; color: var(--gray-400); }
#legend-body {
    padding: .35rem .65rem .55rem;
    border-top: 1px solid rgba(0,0,0,.07);
}
.legend-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .22rem 0;
    font-size: .78rem;
    color: var(--gray-600);
}
.legend-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,.7);
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}
.legend-ann {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(99,102,241,.4);
}

/* ── GitHub-style register/login page polish ── */
body:not(.fullscreen) .nav-brand {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Report pin popup ── */
.pin-popup-report-wrap  { margin-top: .5rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: .5rem; }
.pin-popup-report-btn   { background: none; border: none; color: rgba(255,255,255,.35); font-size: .75rem; cursor: pointer; padding: 0; }
.pin-popup-report-btn:hover { color: rgba(255,100,100,.8); }
.pin-popup-report-form  { display: flex; flex-direction: column; gap: .4rem; margin-top: .4rem; }
.pin-popup-report-form textarea { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; color: #eee; font-size: .78rem; padding: .35rem .5rem; resize: none; font-family: inherit; }
.pin-popup-report-submit { align-self: flex-end; background: rgba(220,50,50,.7); border: none; border-radius: 6px; color: #fff; font-size: .75rem; cursor: pointer; padding: .3rem .7rem; }
.pin-popup-report-submit:hover { background: rgba(220,50,50,.9); }
.pin-popup-reported     { font-size: .75rem; color: rgba(120,220,120,.8); }
.pin-popup-reported-err { font-size: .75rem; color: rgba(255,120,120,.8); }

