/* Orion Data Centres (v1.91.0): the page and the map around it. Works inside the app (it follows the app's theme variables) and on the public page (/data-centres, which sets the same variables). */
.dc-root { --dc-bg: var(--bg, #0d1218); --dc-panel: var(--panel, #141b23); --dc-panel2: var(--panel2, #1a232d); --dc-line: rgba(140, 160, 180, .22); --dc-text: var(--text, #e6edf3); --dc-muted: var(--muted, #8fa1b3); --dc-accent: var(--accent, #4da3ff);
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0; background: var(--dc-bg); color: var(--dc-text); font: 14px/1.45 system-ui, "Segoe UI", Arial, sans-serif; overflow: hidden; }
.dc-root.dc-light { --dc-bg: #eef2f6; --dc-panel: #ffffff; --dc-panel2: #f3f6f9; --dc-line: rgba(40, 60, 80, .18); --dc-text: #14202c; --dc-muted: #566677; --dc-accent: #1f6fd1; }
.dc-root * { box-sizing: border-box; }
.dc-root a { color: var(--dc-accent); }
.dc-top { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--dc-panel); border-bottom: 1px solid var(--dc-line); flex-wrap: wrap; }
.dc-brand { display: flex; flex-direction: column; line-height: 1.15; min-width: 150px; }
.dc-brand b { font-size: 17px; letter-spacing: .2px; }
.dc-count { color: var(--dc-muted); font-size: 12px; }
.dc-search { position: relative; flex: 1 1 260px; max-width: 480px; }
.dc-search input { width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--dc-line); background: var(--dc-panel2); color: var(--dc-text); font: inherit; }
.dc-sug { position: absolute; left: 0; right: 0; top: 100%; margin-top: 4px; background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); z-index: 30; overflow: hidden; }
.dc-sug button { display: block; width: 100%; text-align: left; padding: 7px 10px; background: none; border: 0; color: var(--dc-text); cursor: pointer; font: inherit; }
.dc-sug button:hover, .dc-sug button:focus { background: var(--dc-panel2); }
.dc-sug span { display: block; font-size: 12px; color: var(--dc-muted); }
.dc-tabs { display: flex; gap: 4px; }
.dc-tabs button, .dc-btn { appearance: none; border: 1px solid var(--dc-line); background: var(--dc-panel2); color: var(--dc-text); padding: 7px 12px; border-radius: 8px; cursor: pointer; font: inherit; text-decoration: none; display: inline-block; }
.dc-tabs button.on { background: var(--dc-accent); border-color: var(--dc-accent); color: #fff; }
.dc-btn:hover { border-color: var(--dc-accent); }
.dc-btn:disabled { opacity: .5; cursor: default; }
.dc-tools { display: flex; gap: 6px; margin-left: auto; }
.dc-filterbtn { display: none; }
.dc-body { flex: 1; min-height: 0; display: flex; position: relative; }
.dc-side { width: 290px; flex: none; background: var(--dc-panel); border-right: 1px solid var(--dc-line); overflow-y: auto; }
.dc-sidein { padding: 6px 14px 20px; }
.dc-sec { padding: 10px 0; border-bottom: 1px solid var(--dc-line); }
.dc-sec:last-child { border-bottom: 0; }
.dc-sec h3 { margin: 0 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--dc-muted); font-weight: 600; }
.dc-chk { display: flex; align-items: center; gap: 7px; padding: 2px 0; cursor: pointer; font-size: 13.5px; }
.dc-chk input { accent-color: var(--dc-accent); margin: 0; }
.dc-n { margin-left: auto; color: var(--dc-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.dc-sw { display: inline-block; width: 11px; height: 11px; border-radius: 50%; flex: none; }
.dc-in { width: 100%; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--dc-line); background: var(--dc-panel2); color: var(--dc-text); font: inherit; }
.dc-legend { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; font-size: 12.5px; }
.dc-legend span { display: flex; align-items: center; gap: 7px; }
.dc-legend .dc-shapes { color: var(--dc-muted); font-size: 11.5px; margin-top: 4px; }
.dc-trow { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.dc-trow input[type=range] { flex: 1; accent-color: var(--dc-accent); min-width: 0; }
.dc-note { color: var(--dc-muted); font-size: 12.5px; margin: 6px 0 0; }
.dc-tag { margin-left: 6px; padding: 0 7px; border: 1px solid var(--dc-line); border-radius: 999px; font-size: 10.5px; text-transform: none; letter-spacing: 0; color: var(--dc-muted); font-weight: 500; }
.dc-cl { display: inline-block; width: 22px; height: 0; border-top: 3px solid #888; flex: none; }
.dc-cabst { margin-top: 4px; }
.dc-main { flex: 1; min-width: 0; position: relative; display: flex; }
.dc-pane { flex: 1; min-width: 0; position: relative; overflow: auto; }
.dc-pane[hidden] { display: none; }
.dc-pane[data-p=map] { overflow: hidden; }
.dc-map { position: absolute; inset: 0; background: #0a1118; touch-action: none; outline: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.dc-light .dc-map { background: #d9e6f1; }
.dc-map.dc-grab { cursor: grabbing; }
.dc-map:focus-visible { box-shadow: inset 0 0 0 2px var(--dc-accent); }
.dc-cv { position: absolute; left: 0; top: 0; }
.dc-cv-tiles { opacity: 0; }
.dc-dark .dc-cv-tiles { filter: invert(1) hue-rotate(180deg) brightness(.82) contrast(.92) saturate(.55); }
.dc-zoom { position: absolute; right: 12px; top: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.dc-zoom .dc-btn { min-width: 40px; padding: 8px 10px; background: var(--dc-panel); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.dc-tip { position: absolute; z-index: 6; pointer-events: none; background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 8px; padding: 7px 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .4); max-width: 280px; font-size: 12.5px; }
.dc-tip b { display: block; font-size: 13.5px; }
.dc-tip span { display: block; color: var(--dc-muted); }
.dc-viewcount { position: absolute; left: 12px; bottom: 30px; z-index: 4; font-size: 12px; background: var(--dc-panel); border: 1px solid var(--dc-line); padding: 3px 9px; border-radius: 999px; color: var(--dc-muted); }
.dc-attr { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; font-size: 11px; padding: 2px 10px; color: var(--dc-muted); background: color-mix(in srgb, var(--dc-panel) 80%, transparent); pointer-events: auto; }
.dc-drawer { position: absolute; z-index: 8; right: 0; top: 0; bottom: 0; width: 400px; max-width: 100%; background: var(--dc-panel); border-left: 1px solid var(--dc-line); box-shadow: -8px 0 28px rgba(0, 0, 0, .35); overflow-y: auto; padding: 16px 16px 24px; }
.dc-drawer[hidden] { display: none; }
.dc-drawer h2 { margin: 0 28px 8px 0; font-size: 18px; line-height: 1.25; }
.dc-drawer h4 { margin: 0 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--dc-muted); }
.dc-x { position: absolute; right: 10px; top: 8px; border: 0; background: none; color: var(--dc-muted); font-size: 26px; line-height: 1; cursor: pointer; }
.dc-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.dc-badge { border: 1px solid var(--c, #888); color: var(--dc-text); border-radius: 999px; padding: 1px 10px; font-size: 12px; background: color-mix(in srgb, var(--c, #888) 18%, transparent); }
.dc-dsec { padding: 10px 0; border-top: 1px solid var(--dc-line); }
.dc-drow { display: flex; gap: 10px; padding: 3px 0; }
.dc-drow > span { flex: 0 0 112px; color: var(--dc-muted); font-size: 12.5px; }
.dc-drow > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dc-src { color: var(--dc-muted); font-size: 12px; }
.dc-missing { color: var(--dc-muted); font-style: italic; }
.dc-warn, .dc-warnt { color: #f0b34a; font-size: 12.5px; }
.dc-tl { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--dc-line); }
.dc-tl li { padding: 0 0 10px 12px; position: relative; font-size: 13px; }
.dc-tl li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--dc-accent); }
.dc-tl li.dc-fut::before { background: none; border: 2px solid #f0b34a; }
.dc-pill { display: inline-block; background: var(--dc-panel2); border: 1px solid var(--dc-line); border-radius: 999px; padding: 0 8px; font-size: 11.5px; margin: 0 4px 2px 0; }
.dc-links { margin: 0; padding-left: 18px; font-size: 13px; }
.dc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dc-load { position: absolute; inset: 0; background: var(--dc-bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; z-index: 20; color: var(--dc-muted); }
.dc-load[hidden] { display: none; }
.dc-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--dc-line); border-top-color: var(--dc-accent); animation: dcspin 1s linear infinite; }
@keyframes dcspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dc-spin { animation-duration: 3s; } }
.dc-listbar { padding: 10px 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; position: sticky; left: 0; }
.dc-tablewrap { overflow-x: auto; padding: 0 14px 14px; }
.dc-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.dc-table th, .dc-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--dc-line); white-space: nowrap; max-width: 280px; overflow: hidden; text-overflow: ellipsis; }
.dc-table th { position: sticky; top: 0; background: var(--dc-panel); cursor: pointer; user-select: none; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--dc-muted); }
.dc-table tbody tr[data-i] { cursor: pointer; }
.dc-table tbody tr[data-i]:hover { background: var(--dc-panel2); }
.dc-more { padding: 6px 14px 20px; text-align: center; }
.dc-pane[data-p=stats], .dc-pane[data-p=about] { padding: 16px 20px 30px; }
.dc-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 8px; }
.dc-kpi { background: var(--dc-panel); border: 1px solid var(--dc-line); border-radius: 10px; padding: 10px 12px; }
.dc-kpi b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.dc-kpi span { color: var(--dc-muted); font-size: 12.5px; }
.dc-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 14px; }
.dc-pane h3 { font-size: 14px; margin: 18px 0 8px; }
.dc-bars { display: flex; flex-direction: column; gap: 4px; }
.dc-bar { display: grid; grid-template-columns: minmax(90px, 40%) 1fr 56px; gap: 8px; align-items: center; font-size: 13px; cursor: pointer; }
.dc-bar:hover .dc-bl { text-decoration: underline; }
.dc-bl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-bt { background: var(--dc-panel2); border-radius: 4px; height: 11px; overflow: hidden; }
.dc-bt i { display: block; height: 100%; border-radius: 4px; }
.dc-bn { text-align: right; color: var(--dc-muted); font-variant-numeric: tabular-nums; }
.dc-years { display: flex; align-items: flex-end; gap: 3px; height: 130px; padding-top: 10px; }
.dc-yr { flex: 1; min-width: 4px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.dc-yr i { display: block; width: 100%; background: var(--dc-accent); border-radius: 3px 3px 0 0; }
.dc-yr span { position: absolute; bottom: -16px; font-size: 10.5px; color: var(--dc-muted); }
.dc-years { margin-bottom: 22px; }
.dc-about { max-width: 820px; }
.dc-about h2 { margin-top: 0; }
@media (max-width: 860px) {
  .dc-filterbtn { display: inline-block; }
  .dc-side { position: absolute; z-index: 25; left: 0; top: 0; bottom: 0; width: min(88vw, 320px); transform: translateX(-102%); transition: transform .2s; box-shadow: 8px 0 28px rgba(0, 0, 0, .4); }
  .dc-side.open { transform: none; }
  .dc-top { gap: 8px; padding: 8px; }
  .dc-brand { min-width: 0; }
  .dc-tabs { order: 5; width: 100%; overflow-x: auto; }
  .dc-tabs button { padding: 7px 10px; white-space: nowrap; }
  .dc-search { order: 4; flex: 1 1 100%; max-width: none; }
  .dc-drawer { top: auto; height: 62%; width: 100%; border-left: 0; border-top: 1px solid var(--dc-line); border-radius: 14px 14px 0 0; }
  .dc-drow { flex-direction: column; gap: 0; }
  .dc-drow > span { flex: none; }
  .dc-zoom { top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dc-side { transition: none; } }

/* the public page itself */
html.dcpub, html.dcpub body { margin: 0; height: 100%; background: #0d1218; }
html.dcpub body { color: #e6edf3; }
html.dcpub .dc-root { height: 100vh; height: 100dvh; }
@media (prefers-color-scheme: light) { html.dcpub:not([data-theme=dark]), html.dcpub:not([data-theme=dark]) body { background: #eef2f6; } }

/* inside the app's overlay */
.overlay .modal.dc-modal { width: min(1500px, 100%); height: min(920px, 94vh); max-height: 94vh; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.dc-modal .mhead { padding: 12px 16px; flex: none; display: flex; align-items: center; gap: 12px; }
.dc-modal .mhead h2 { margin: 0; }
.dc-headlinks { margin-left: auto; font-size: 13px; }
.dc-headlinks a { color: var(--accent, #4da3ff); }
.dc-host { flex: 1; min-height: 0; position: relative; }
@media (max-width: 860px) { .overlay .modal.dc-modal { height: 94vh; border-radius: 18px 18px 0 0; } }
.dc-modal .dc-brand b { display: none; }
