/* atlas-map.css — styles for atlas-map.js. Themable through the custom properties on .atlas-map.
   Kept identical in mhoydich/pointcast and mhoydich/hello-token-reserve (public/cartography/). */
.atlas-map { --am-ink: #1b1b1b; --am-muted: #5c5c5c; --am-paper: #fbfaf6; --am-panel: #ffffff; --am-rule: #d9d6cc; --am-grid: #e4e1d6; --am-ring: #466e50; --am-accent: #1f5fa6; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--am-ink); background: var(--am-paper); border: 1px solid var(--am-rule); border-radius: 12px; padding: 14px; }
@media (prefers-color-scheme: dark) { .atlas-map { --am-ink: #eceae2; --am-muted: #b3b0a6; --am-paper: #16181a; --am-panel: #1e2124; --am-rule: #34383c; --am-grid: #262a2e; --am-ring: #7fb08a; --am-accent: #7fb2ea; } }
.atlas-map *, .atlas-map *::before, .atlas-map *::after { box-sizing: border-box; }
.atlas-map .am-loading, .atlas-map .am-error { margin: 0; }
.atlas-map .am-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.atlas-map .am-search { flex: 1 1 220px; min-width: 0; padding: 8px 10px; border: 1px solid var(--am-rule); border-radius: 8px; background: var(--am-panel); color: inherit; font: inherit; }
.atlas-map .am-select { padding: 8px 10px; border: 1px solid var(--am-rule); border-radius: 8px; background: var(--am-panel); color: inherit; font: inherit; max-width: 100%; }
.atlas-map .am-check { display: inline-flex; gap: 6px; align-items: center; color: var(--am-muted); white-space: nowrap; }
.atlas-map .am-stats { margin: 10px 0 6px; color: var(--am-muted); font-size: 13.5px; }
.atlas-map .am-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.atlas-map .am-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--am-rule); border-radius: 999px; background: var(--am-panel); color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.atlas-map .am-chip.am-on { border-color: var(--am-ink); box-shadow: inset 0 0 0 1px var(--am-ink); }
.atlas-map .am-chip i, .atlas-map .am-kicker i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.atlas-map .am-chip small { color: var(--am-muted); }
.atlas-map .am-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 14px; }
@media (max-width: 860px) { .atlas-map .am-grid { grid-template-columns: 1fr; } }
.atlas-map .am-map { background: var(--am-panel); border: 1px solid var(--am-rule); border-radius: 10px; overflow: hidden; }
.atlas-map .am-map-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-bottom: 1px solid var(--am-rule); font-size: 12.5px; color: var(--am-muted); }
.atlas-map .am-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.01em; }
.atlas-map .am-tools { display: flex; gap: 4px; }
.atlas-map .am-tools button, .atlas-map .am-more { padding: 3px 9px; border: 1px solid var(--am-rule); border-radius: 6px; background: var(--am-paper); color: inherit; font: inherit; font-size: 13px; cursor: pointer; }
.atlas-map .am-svg { display: block; width: 100%; height: auto; aspect-ratio: 1; touch-action: none; cursor: grab; background: var(--am-panel); }
.atlas-map .am-svg:active { cursor: grabbing; }
.atlas-map .am-gridline { stroke: var(--am-grid); fill: none; stroke-width: 0.7; }
.atlas-map .am-ring { fill: none; stroke: var(--am-ring); stroke-width: 0.9; stroke-dasharray: 4 4; opacity: 0.8; }
.atlas-map .am-ring-outer { stroke-dasharray: none; stroke-width: 2; fill: var(--am-ring); fill-opacity: 0.08; }
.atlas-map .am-axis { stroke: var(--am-ring); stroke-width: 0.6; opacity: 0.6; }
.atlas-map .am-label { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; fill: var(--am-muted); }
.atlas-map .am-center { fill: var(--am-ink); stroke: var(--am-panel); stroke-width: 2; }
.atlas-map .am-pin { stroke: var(--am-panel); stroke-width: 1.2; cursor: pointer; opacity: 0.92; }
.atlas-map .am-pin:hover, .atlas-map .am-pin:focus-visible { stroke: var(--am-ink); stroke-width: 2; outline: none; }
.atlas-map .am-pin.am-selected { stroke: var(--am-ink); stroke-width: 2.5; opacity: 1; }
.atlas-map .am-pin.am-beyond { fill-opacity: 0.35; stroke-dasharray: 2 2; }
.atlas-map .am-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.atlas-map .am-detail { background: var(--am-panel); border: 1px solid var(--am-rule); border-radius: 10px; padding: 12px 14px; }
.atlas-map .am-detail h2 { margin: 2px 0 6px; font-size: 20px; line-height: 1.2; }
.atlas-map .am-detail h3 { margin: 12px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--am-muted); }
.atlas-map .am-detail p { margin: 6px 0; }
.atlas-map .am-kicker { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--am-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.atlas-map .am-meta, .atlas-map .am-fine, .atlas-map .am-hint { color: var(--am-muted); font-size: 13.5px; }
.atlas-map .am-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.atlas-map .am-btn { display: inline-block; padding: 6px 11px; border-radius: 8px; background: var(--am-accent); color: #fff; text-decoration: none; font-size: 13.5px; }
.atlas-map .am-btn-quiet { background: transparent; color: var(--am-accent); border: 1px solid var(--am-rule); }
.atlas-map .am-sources, .atlas-map .am-links { margin: 0; padding-left: 18px; font-size: 13.5px; }
.atlas-map .am-sources li, .atlas-map .am-links li { margin: 3px 0; }
.atlas-map .am-sources q { display: block; color: var(--am-muted); }
.atlas-map .am-link { border: 0; padding: 0; background: none; color: var(--am-accent); font: inherit; text-decoration: underline; cursor: pointer; }
.atlas-map .am-tag { display: inline-block; padding: 1px 7px; border: 1px solid var(--am-rule); border-radius: 999px; font-size: 12px; }
.atlas-map .am-list { list-style: none; margin: 0; padding: 0; max-height: 520px; overflow: auto; border: 1px solid var(--am-rule); border-radius: 10px; background: var(--am-panel); }
.atlas-map .am-row { border-bottom: 1px solid var(--am-rule); }
.atlas-map .am-row:last-child { border-bottom: 0; }
.atlas-map .am-row-btn { display: grid; grid-template-columns: 14px 1fr; column-gap: 8px; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.atlas-map .am-row.am-selected .am-row-btn, .atlas-map .am-row-btn:hover { background: color-mix(in srgb, var(--am-accent) 10%, transparent); }
.atlas-map .am-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 5px; border: 2px solid transparent; }
.atlas-map .am-dot-empty { background: transparent; }
.atlas-map .am-row-name { font-weight: 600; }
.atlas-map .am-row-meta { grid-column: 2; color: var(--am-muted); font-size: 12.5px; }
.atlas-map .am-empty { padding: 12px; color: var(--am-muted); }
.atlas-map .am-more { align-self: center; }
.atlas-map .am-foot { margin: 12px 0 0; font-size: 12.5px; color: var(--am-muted); }
.atlas-map .am-foot a { color: inherit; }
