:root {
  color-scheme: dark;
  --bg: #0b1018;
  --panel: #101823;
  --border: #222f3e;
  --text: #edf2f8;
  --muted: #a5b3c5;
  --dim: #8495ac;
  --teal: #5ee4cb;
  --amber: #f7b45e;
  --red: #ff7b77;
  --violet: #b69cff;
  --blue: #7bbdff;
  --accent: #5ee4cb;
  --mono: "IBM Plex Mono", "Cascadia Mono", "Consolas", monospace;
  --rail: 64px;
  --top: 66px;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); font: 16px/1.45 "Inter", "Segoe UI", system-ui, sans-serif; }
button, select, input, textarea { font: inherit; color: inherit; }
a { color: var(--teal); }
button { cursor: pointer; border: 0; background: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
button:hover { color: var(--text); }
.ico { display: inline-block; vertical-align: middle; width: 18px; height: 18px; flex: none; stroke-width: 1.65; }
.rail { position: fixed; z-index: 5; inset: 0 auto 0 0; width: var(--rail); display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--border); background: #0d141f; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; margin: 14px 0 21px; border-radius: 10px; color: var(--teal); background: #13312f; box-shadow: inset 0 0 0 1px #275651; }
.brand-mark .ico { width: 23px; height: 23px; stroke-width: 1.5; }
.rail-top, .rail-bottom { display: grid; justify-items: center; gap: 9px; width: 100%; }
.rail-bottom { margin-top: auto; padding-bottom: 17px; }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; color: var(--muted); }
.icon-button:hover { background: #1c2938; }
.rail .icon-button { width: 38px; height: 38px; }
.rail .icon-button.active { color: var(--teal); background: #142f30; box-shadow: inset 0 0 0 1px #24514d; }
.profile { display: grid; place-items: center; width: 32px; height: 32px; margin-top: 4px; color: #d5e0ed; background: #263547; border-radius: 50%; font: 12px var(--mono); }
.topbar { height: var(--top); margin-left: var(--rail); background: #0d141f; border-bottom: 1px solid var(--border); display: flex; align-items: stretch; padding: 0 26px; gap: 32px; }
.brand-heading { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-heading > :first-child { color: var(--text); font-weight: 800; letter-spacing: .2em; font-size: 19px; }
.brand-divider { background: var(--border); height: 17px; width: 1px; }
.brand-caption { color: var(--dim); font: 11px var(--mono); letter-spacing: .08em; }
.topbar nav { display: flex; gap: 24px; align-items: stretch; }
.nav-tab { position: relative; padding: 0 3px; color: var(--muted); white-space: nowrap; font-weight: 550; font-size: 14px; }
.nav-tab.active { color: var(--teal); }
.nav-tab.active::after { position: absolute; content: ""; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--teal); }
.top-actions { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.search-button, .board-button, .neutral-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 7px; white-space: nowrap; font-weight: 600; font-size: 13px; }
.search-button { color: var(--muted); background: #131d29; border: 1px solid var(--border); }
.search-button kbd { color: var(--dim); display: inline-grid; place-items: center; border: 1px solid #344155; border-radius: 3px; width: 15px; height: 17px; font-size: 11px; }
.board-button { color: #a9f7e8; background: #15312f; border: 1px solid #275550; }
.board-button:hover { background: #1c4640; }
.neutral-button { border: 1px solid #344254; background: #151f2b; }
.neutral-button:hover { background: #1c2938; }
main { margin-left: var(--rail); padding: 28px 26px 14px; max-width: 1940px; }
.hero { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin-bottom: 23px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--teal); font: 11px var(--mono); font-weight: 600; letter-spacing: .15em; margin: 0 0 9px; }
.tiny-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 9px #5ee4cb70; }
h1 { margin: 0; color: #f2f5fa; font-size: clamp(34px, 4vw, 48px); line-height: 1.04; font-weight: 730; letter-spacing: -.048em; }
.hero p { font-size: 15px; color: var(--muted); margin: 9px 0 0; }
.hero-actions { display: flex; align-items: center; gap: 17px; }
.clock { display: inline-flex; align-items: center; gap: 7px; font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.clock .ico { width: 15px; height: 15px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.metric { min-width: 0; text-align: left; position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: var(--panel); padding: 12px 14px 11px; }
.metric:hover { border-color: var(--accent); }
.metric.conflict, .conflict { --accent: var(--red); }
.metric.risk, .risk { --accent: var(--amber); }
.metric.cyber, .cyber { --accent: var(--violet); }
.metric.overview, .overview { --accent: var(--teal); }
.metric-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #c6d0df; font-weight: 560; }
.metric-label .ico { color: var(--accent); width: 15px; height: 15px; }
.metric-value { display: block; margin-top: 3px; font: 630 29px/1.2 var(--mono); letter-spacing: -.06em; }
.metric-detail { position: relative; display: block; margin-top: 3px; color: var(--dim); font-size: 12px; }
.metric-graphic { position: absolute; bottom: 15px; right: 12px; height: 35px; width: 62px; display: flex; align-items: end; justify-content: end; gap: 3px; pointer-events: none; opacity: .85; }
.metric-graphic i { display: block; width: 5px; border-radius: 1px; background: var(--accent); opacity: .28; }
.metric-graphic i:nth-last-child(-n+2) { opacity: .65; }
.workspace { display: grid; grid-template-columns: minmax(0, 2.42fr) minmax(290px, 1fr); gap: 15px; align-items: stretch; }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--panel); }
.panel-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 15px; }
.panel-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.panel-icon { display: grid; place-items: center; height: 34px; width: 34px; flex: none; border-radius: 7px; background: #162b31; color: var(--teal); }
.pulse-icon { color: var(--amber); background: #30291f; }
.panel h2 { font-size: 17px; font-weight: 670; letter-spacing: -.017em; margin: 0; }
.panel-head p { margin: 1px 0 0; color: var(--dim); font-size: 12px; }
.map-tools { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 8px 12px; background: #0e1621; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { background: #121d29; border: 1px solid #283748; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip.active { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, #1b2230); background: color-mix(in srgb, var(--accent) 9%, #121b25); }
.chip-dot, .legend-dot { width: 6px; height: 6px; flex: none; background: var(--accent); border-radius: 50%; }
select { font-size: 12px; appearance: none; background: #151f2b; border: 1px solid #29394c; border-radius: 5px; padding: 5px 23px 5px 9px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23a5b3c5' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 5px center; background-size: 14px; }
.map-frame { position: relative; overflow: hidden; height: clamp(315px, 29vw, 490px); background: radial-gradient(ellipse at 49% 40%, #102233, #0b1624 58%, #0a131e); touch-action: pan-y; }
#map, #pins { position: absolute; inset: 0; width: 100%; height: 100%; }
#pins { pointer-events: none; }
.map-pin { position: absolute; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; margin-left: -11px; margin-top: -11px; pointer-events: auto; border: 1px solid color-mix(in srgb,var(--accent) 65%,transparent); background: color-mix(in srgb,var(--accent) 14%,transparent); color: var(--accent); border-radius: 50%; box-shadow: 0 0 12px color-mix(in srgb,var(--accent) 34%,transparent); padding: 0; }
.map-pin::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.map-pin:hover, .map-pin:focus-visible { z-index: 3; color: var(--accent); background: #172330; }
.map-pin.major::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid currentColor; opacity: .37; }
.map-pin.major::after { animation: radar 3s ease-out infinite; }
@keyframes radar { 0%, 100% { transform: scale(.86); opacity: .42; } 70% { transform: scale(1.18); opacity: .12; } }
.map-label { display: none; position: absolute; left: 20px; top: 1px; border-radius: 3px; padding: 2px 5px; background: #0a1521e8; color: #f1f5fc; font: 10px var(--mono); white-space: nowrap; }
.map-pin.major .map-label, .map-pin:hover .map-label, .map-pin:focus-visible .map-label { display: inline-block; }
.map-corner { position: absolute; width: 12px; height: 12px; border: 1px solid #557084; pointer-events: none; opacity: .55; }
.top-left { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.top-right { top: 9px; right: 9px; border-left: 0; border-bottom: 0; }
.bottom-left { bottom: 9px; left: 9px; border-right: 0; border-top: 0; }
.bottom-right { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }
.zoom-controls { position: absolute; z-index: 4; right: 13px; bottom: 20px; display: grid; background: #121b28; border: 1px solid #2e4156; border-radius: 6px; overflow: hidden; }
.zoom-controls button { padding: 0; width: 29px; height: 29px; color: var(--muted); font: 18px var(--mono); }
.zoom-controls button:hover { background: #243650; color: white; }
.zoom-controls button + button { border-top: 1px solid #2e4156; }
.zoom-controls .ico { width: 14px; height: 14px; }
.map-credit { position: absolute; bottom: 13px; left: 22px; color: #92a9bc; font: 9px var(--mono); letter-spacing: .07em; pointer-events: none; }
.map-footer { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding: 6px 14px; color: var(--dim); }
#map-legend { display: flex; flex-wrap: wrap; gap: 13px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
#map-scale { font: 10px var(--mono); white-space: nowrap; letter-spacing: .06em; }
.pulse-panel { display: flex; flex-direction: column; }
.feed-tabs { padding: 0 13px; display: flex; gap: 4px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feed-tab { padding: 9px 9px; color: var(--muted); font-weight: 600; font-size: 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
.feed-tab.active { color: var(--teal); border-color: var(--teal); }
.feed { flex: 1 1 0; min-height: 255px; overflow: auto; scrollbar-width: thin; scrollbar-color: #324354 transparent; }
.signal { display: block; text-align: left; width: 100%; padding: 12px 14px 11px 17px; border-bottom: 1px solid #202c3a; color: var(--text); position: relative; }
.signal:hover { background: #172331; }
.signal::before { content: ""; position: absolute; width: 2px; height: 18px; top: 13px; left: 0; background: var(--accent); border-radius: 0 2px 2px 0; }
.signal-top { color: var(--accent); font: 600 10px var(--mono); letter-spacing: .055em; text-transform: uppercase; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 5px; }
.signal-time { color: var(--dim); font-weight: 400; white-space: nowrap; letter-spacing: 0; }
.signal-title { display: block; font-size: 14px; font-weight: 640; line-height: 1.32; }
.osint-post .signal-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; white-space: pre-line; }
.signal-source { display: block; color: var(--dim); margin-top: 4px; font-size: 12px; }
.feed-footer { margin-top: auto; padding: 10px 15px; text-align: left; color: var(--teal); border-top: 1px solid var(--border); font-weight: 635; font-size: 12px; width: 100%; min-height: 37px; display: flex; align-items: center; justify-content: space-between; }
.feed-footer:hover { background: #172331; }
.feed-footer .ico { width: 14px; height: 14px; }
.empty { margin: 14px; color: var(--muted); font-size: 14px; }
.lower { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 15px; }
.lower .panel-head { min-height: 57px; border-bottom: 1px solid var(--border); }
.status-label { font: 11px var(--mono); color: var(--dim); white-space: nowrap; }
.lower-content { display: grid; padding: 9px 14px 12px; }
.mini-row { display: flex; color: #d3deeb; align-items: center; justify-content: space-between; text-align: left; gap: 8px; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #202c3a; }
.mini-row:last-child { border-bottom: 0; }
button.mini-row:hover { color: var(--teal); }
.mini-value { color: var(--accent, var(--muted)); font: 12px var(--mono); white-space: nowrap; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; color: var(--dim); font: 10px var(--mono); letter-spacing: .08em; }
.page-footer button { color: var(--muted); padding: 5px 0; font: 12px "Segoe UI", sans-serif; letter-spacing: 0; }
dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; color: var(--text); border: 1px solid #3e5269; border-radius: 12px; background: #111b28; box-shadow: 0 16px 60px #0009; padding: 0; }
dialog::backdrop { background: #050a12b8; backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; background: #111b28; position: sticky; top: 0; z-index: 5; padding: 17px 20px; border-bottom: 1px solid var(--border); }
.dialog-head h2 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
#dialog-body { padding: 17px 20px 21px; }
#dialog-body p { color: var(--muted); }
#dialog-body p:first-child { margin-top: 0; }
.dialog-list { list-style: none; margin: 0; padding: 0; }
.dialog-list li { border-bottom: 1px solid var(--border); padding: 10px 0; }
.dialog-list li:last-child { border-bottom: 0; }
.dialog-list a { font-weight: 600; font-size: 14px; }
.dialog-list span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.search-input, textarea { width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #35465b; background: #0e1722; margin-bottom: 12px; }
textarea { resize: vertical; min-height: 86px; }
#toast { display: none; position: fixed; z-index: 20; bottom: 16px; right: 16px; max-width: calc(100% - 32px); padding: 10px 15px; border-radius: 7px; background: #193631; border: 1px solid #30605a; color: var(--text); font-weight: 600; font-size: 13px; }
#toast.show { display: block; }
body.board { --rail: 0px; }
body.board .rail, body.board .brand-caption, body.board .brand-divider, body.board .search-button, body.board .page-footer { display: none; }
body.board .map-frame { height: clamp(350px, 49vh, 680px); }
body.map-expanded .map-panel { position: fixed; inset: 12px; z-index: 8; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; box-shadow: 0 0 0 30px #050a12e6; }
body.map-expanded .map-frame { height: 100%; }
@media (min-width: 1200px) { .metric-graphic { right: 17px; width: 75px; } }
@media (max-width: 1100px) { .topbar { gap: 23px; } .topbar nav { gap: 16px; } .brand-caption, .brand-divider { display: none; } }
@media (max-width: 880px) {
  :root { --rail: 48px; } .brand-mark { width: 33px; height: 33px; }
  .topbar { padding: 0 16px; gap: 16px; } main { padding-inline: 15px; }
  .workspace { grid-template-columns: 1fr; }.feed { flex-basis: auto; max-height: 325px; }
  .lower { grid-template-columns: 1fr 1fr; }.lower .panel:last-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  :root { --rail: 0px; --top: auto; }.rail { display: none; }
  .topbar { flex-wrap: wrap; gap: 0; align-items: center; padding-top: 8px; }.topbar nav { order: 3; width: 100%; justify-content: space-between; overflow-x: auto; gap: 10px; }.nav-tab { padding-block: 11px; }
  main { padding-top: 21px; }.hero { align-items: start; flex-direction: column; }.hero-actions { align-self: flex-end; }.clock { font-size: 11px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 8px; }.metric-graphic { width: 43px; gap: 2px; right: 7px; opacity: .55; }.metric-graphic i { width: 4px; }.metric-detail { font-size: 11px; }.metric-label { font-size: 13px; }
  .map-tools { flex-wrap: wrap; }.map-frame { height: 300px; }.map-pin.major .map-label { display: none; }.map-pin:hover .map-label, .map-pin:focus-visible .map-label { display: inline-block; }
  .lower { grid-template-columns: 1fr; }.lower .panel:last-child { grid-column: auto; }.map-footer { flex-wrap: wrap; }.search-button kbd { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; scroll-behavior: auto !important; } }
.map-pin.minor-pin { width: 14px; height: 14px; margin-left: -7px; margin-top: -7px; }
.map-pin.minor-pin::before { width: 4px; height: 4px; }
.map-pin.major .map-label { display: none; }
.map-pin.major.show-label .map-label, .map-pin:hover .map-label, .map-pin:focus-visible .map-label { display: inline-block; }
#map.can-drag { cursor: grab; }
#map.dragging { cursor: grabbing; }
.metric-detail { padding-right: 38px; }
.metric-graphic { opacity: .64; }
@media (max-width: 470px) { .metric-detail { padding-right: 21px; } }
.brand-heading > :first-child { font-size: 16px; letter-spacing: .12em; }
.live-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; color: var(--teal); background: #101f24; border: 1px solid #25403f; border-radius: 5px; font: 600 11px var(--mono); white-space: nowrap; }
.live-status.degraded { color: var(--amber); border-color: #544330; background: #231d1a; }
.live-status.degraded .tiny-dot { background: var(--amber); box-shadow: none; }
.source-status { color: var(--teal) !important; font-family: var(--mono); }
.new-signal { background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
.new-label { display: inline-block; color: var(--teal); border: 1px solid #2d5751; border-radius: 3px; padding: 1px 3px; margin-left: 4px; }
@media (max-width: 420px) {
  .hero-actions { gap: 8px; }
  .hero-actions .ico, .top-actions .board-button .ico { display: none; }
  .brand-heading > :first-child { font-size: 14px; letter-spacing: .06em; }
  .top-actions { gap: 6px; }
}

:root {
  --bg: #0c0e1a;
  --panel: #131629;
  --border: #3a3342;
  --text: #f4e9d3;
  --muted: #bbb8c9;
  --dim: #aaa4bb;
  --gold: #e4bc72;
  --gold-soft: #f7dca2;
  --blue: #9fbbff;
  --ornament: #9c7755;
  --title-font: Georgia, "Times New Roman", serif;
  --entry-picture: url("moon-atlas.webp");
  --dashboard-picture: url("solar-atlas.webp");
}
body { background: var(--bg); }
[hidden] { display: none !important; }
.entry { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); background: #101225; }
.entry-art { position: relative; min-height: 100%; overflow: hidden; background: #17274c var(--entry-picture) center 54% / cover no-repeat; }
.entry-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10132118, transparent 56%, #10122567), linear-gradient(0deg, #1012256b, transparent 26%); }
.entry-atlas-mark { position: absolute; inset: 22px; z-index: 1; border: 1px solid #f1d18c81; pointer-events: none; }
.entry-atlas-mark span { position: absolute; inset: 5px; border: 1px solid #f1d18c37; }
.entry-pane { position: relative; display: grid; place-items: center; isolation: isolate; padding: 52px clamp(26px, 6vw, 96px); background: radial-gradient(ellipse at 10% 20%, #242344 0%, #101225 68%); border-left: 1px solid #9c775569; }
.entry-pane::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--dashboard-picture) 52% 25% / cover no-repeat; opacity: .075; }
.entry-inner { position: relative; width: min(100%, 415px); padding: 5px 0; }
.entry-brand { color: var(--gold-soft); display: flex; gap: 12px; align-items: center; margin: 0 0 35px; font: 600 13px var(--mono); letter-spacing: .2em; }
.entry-brand span { width: 22px; height: 1px; background: var(--ornament); }
.entry-emblem { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--gold); outline: 1px solid #a3784d62; outline-offset: 5px; border-radius: 50%; color: var(--gold-soft); font: 26px var(--title-font); margin: 0 0 21px 5px; box-shadow: 0 0 32px #d6a65546; }
.entry-welcome { margin: 0 0 14px; color: #f3ce90; font: 500 clamp(24px, 3vw, 39px)/1.12 var(--title-font); letter-spacing: -.025em; }
.entry h1 { font: 500 clamp(52px, 6.6vw, 100px)/.91 var(--title-font); letter-spacing: -.06em; color: #fff0d0; margin: 0; }
.entry-description { margin: 18px 0 30px; color: #d3ccda; font-size: 16px; max-width: 36ch; }
#entry-form { display: grid; gap: 9px; }
#entry-form label { color: #efe4d3; font-size: 14px; font-weight: 650; }
.entry-input { display: flex; background: #0d1122; border: 1px solid #7c634a; border-radius: 4px; min-width: 0; }
.entry-input:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.entry-input input { min-width: 0; flex: 1; background: transparent; border: 0; padding: 11px 12px; color: #fff1dc; font: inherit; }
.entry-input input:focus-visible { outline: 0; }
#show-password { flex: none; padding: 5px 12px; color: var(--gold-soft); font-size: 13px; }
.entry-submit { border: 1px solid #e3bf7a; color: #171521; background: linear-gradient(100deg,#d5a960,#f3d49b); border-radius: 4px; padding: 11px 14px; font-weight: 740; text-align: center; min-height: 45px; margin-top: 6px; }
.entry-submit:hover { color: #121322; background: #f8dca2; }
.entry-submit:disabled { opacity: .65; cursor: wait; }
#entry-error { color: #ffd3cb; margin: 0; font-size: 14px; }
.screen-transition { position: fixed; z-index: 200; inset: 0 0 auto; height: 4px; background: #b4824b44; box-shadow: 0 2px 14px #744b4266; pointer-events: none; }
.screen-transition span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg,#9e6a3d,#eac47e 67%,#fff0c5); box-shadow: 0 0 12px #f8ca71; transform-origin: left; transform: scaleX(.04); }
.screen-transition:not([hidden]) span { animation: track-progress 750ms cubic-bezier(.19,.65,.32,.99) forwards; }
.screen-transition.done span { animation: none; transform: scaleX(1); }
@keyframes track-progress { 0% { transform: scaleX(.04); } 55% { transform: scaleX(.68); } 100% { transform: scaleX(.91); } }
#dashboard { min-height: 100vh; min-height: 100svh; position: relative; isolation: isolate; }
#dashboard::before { position: fixed; content: ""; z-index: -1; inset: 0; background: linear-gradient(110deg,#0c0e1a 18%,#13162ad9), var(--dashboard-picture) 100% 32% / min(740px,83vw) auto no-repeat; opacity: .82; pointer-events: none; }
.topbar, .rail { background: #101326; border-color: #594435; }
.brand-heading > :first-child { color: var(--gold-soft); }
.brand-caption { color: #c7a773; }
.brand-mark { color: var(--gold-soft); background: #312532; box-shadow: inset 0 0 0 1px #664f3c; }
.rail .icon-button.active { color: var(--gold-soft); background: #352a35; box-shadow: inset 0 0 0 1px #745a42; }
.nav-tab.active { color: var(--gold-soft); }
.nav-tab.active::after { background: var(--gold); }
.eyebrow { color: var(--gold); }
#page-title { color: #fff0d2; font-family: var(--title-font); font-weight: 500; letter-spacing: -.035em; }
.panel { background: #15182b; border-color: #5c4537; }
.panel h2 { color: #f4e1bc; }
.panel-head { background: linear-gradient(105deg,#262137,#17192e 73%); }
.panel-icon { color: var(--gold-soft); background: #333042; }
.metric { background: linear-gradient(115deg,#1e1c31,#131629); border-color: #594535; }
.map-frame { background: radial-gradient(ellipse at 56% 42%,#212c4a,#111a30 63%,#0e1527); }
.map-corner { border-color: var(--gold); }
.board-button { background: #392d39; color: #f9dfad; border-color: #795c45; }
.board-button:hover { background: #534039; color: #fff4df; }
.lock-button { display: inline-grid; place-items: center; min-width: 34px; height: 34px; color: var(--gold-soft); border: 1px solid #554435; border-radius: 6px; }
.lock-button:hover { background: #3b2d37; color: #fff0ce; }
@media (max-width: 820px) {
  .entry { grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); }
  .entry-pane { padding: 40px 26px; }
}
@media (max-width: 630px) {
  .entry { grid-template-columns: 1fr; grid-template-rows: 36svh auto; }
  .entry-art { background-position: center 38%; min-height: 0; }
  .entry-atlas-mark { inset: 10px; }
  .entry-pane { border-left: 0; border-top: 1px solid #9c775569; padding: 29px 22px 36px; }
  .entry-brand { margin-bottom: 16px; }
  .entry-emblem { display: none; }
  .entry h1 { font-size: clamp(48px, 11vw, 64px); }
  .entry h1 br { display: none; }
  .entry-description { margin: 13px 0 17px; }
}
@media (max-width: 405px) {
  .topbar .search-button { display: none; }
  .topbar .board-button { padding-inline: 7px; }
}


@property --reveal-aperture {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
.entry-in-motion { overflow: hidden; }
.entry-reveal {
  --reveal-aperture: 0px;
  --reveal-size: clamp(208px, 59vmin, 540px);
  --reveal-center: 43%;
  position: fixed;
  inset: 0;
  z-index: 210;
  isolation: isolate;
  overflow: hidden;
  background: #0b0d1d;
  animation: reveal-arrive 235ms ease-out both;
}
.reveal-sky {
  position: absolute;
  inset: -3%;
  background:
    radial-gradient(ellipse at 50% var(--reveal-center), #0e1423a0 15%, #0b0d1dd4 48%, #090b19 86%),
    var(--dashboard-picture) 50% 24% / max(92vw, 660px) auto no-repeat;
  filter: saturate(.85);
  animation: reveal-sky-drift 2250ms cubic-bezier(.18,.65,.28,1) both;
}
.reveal-sky::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 14% 27%, #eec482 0, #eec482 1px, transparent 3px),
    radial-gradient(circle at 27% 19%, #c1b0f0 0, #c1b0f0 1px, transparent 3px),
    radial-gradient(circle at 71% 23%, #f9ddb2 0, #f9ddb2 1px, transparent 3px),
    radial-gradient(circle at 87% 47%, #f3c264 0, #f3c264 1px, transparent 3px),
    radial-gradient(circle at 18% 65%, #f3c264 0, #f3c264 1px, transparent 3px),
    radial-gradient(circle at 79% 67%, #d6c4fa 0, #d6c4fa 1px, transparent 4px);
  animation: reveal-stars 1500ms ease-out both;
}
.reveal-orbit {
  position: absolute;
  inset: var(--reveal-center) auto auto 50%;
  width: var(--reveal-size);
  height: var(--reveal-size);
  transform: translate(-50%, -50%);
}
.reveal-instrument {
  position: absolute;
  inset: 0;
  animation: reveal-instrument 1480ms cubic-bezier(.14,.7,.2,1) both;
}
.reveal-ring { position: absolute; border-radius: 50%; }
.reveal-ring-outer {
  inset: 0;
  border: 1px solid #ebc3848c;
  box-shadow: 0 0 37px #eab1641e, inset 0 0 24px #eab16422;
  background: conic-gradient(from 42deg, transparent 0turn, #edc57947 .19turn, transparent .20turn .44turn, #edc57940 .53turn, transparent .54turn 1turn);
  mask-image: radial-gradient(circle, transparent 66%, #000 67%);
}
.reveal-ring-ticks {
  inset: 3.5%;
  background: repeating-conic-gradient(from 0deg, #dfb16dab 0deg .55deg, transparent .55deg 5deg);
  mask-image: radial-gradient(circle, transparent 65%, #000 66% 70%, transparent 71%);
}
.reveal-ring-inner {
  inset: 14%;
  border: 1px solid #ebc384a6;
  outline: 1px dashed #bf985f90;
  outline-offset: 10px;
  box-shadow: 0 0 42px #ffc46a20, inset 0 0 36px #ffd29116;
}
.reveal-satellite {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  transform: rotate(-68deg);
  animation: reveal-satellite 1650ms cubic-bezier(.2,.7,.25,1) both;
}
.reveal-satellite::after {
  position: absolute;
  top: -.5%;
  left: 50%;
  width: clamp(5px, 1.2vmin, 10px);
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: #fff0c6;
  box-shadow: 0 0 12px 3px #f0c075bc, 0 0 30px 6px #d6914c70;
}
.reveal-moon {
  position: absolute;
  inset: 26%;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 43% 35%, transparent 35%, #80512c49 85%),
    var(--entry-picture) 45% 25% / 309% auto no-repeat,
    #dfb779;
  border: 1px solid #f6d899cc;
  box-shadow: 0 0 20px #fff0bd53, 0 0 90px #f0b57055, inset 0 0 21px #fff4c978;
  animation: reveal-moon 1040ms 70ms cubic-bezier(.2,.7,.2,1) both;
}
.reveal-sweep {
  position: absolute;
  inset: 50% -28% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d9a25f60 26%, #fff2c6 50%, #d9a25f60 74%, transparent);
  box-shadow: 0 0 19px 2px #e7b57065;
  animation: reveal-sweep 1480ms 100ms ease-out both;
}
.reveal-status {
  position: absolute;
  left: 50%;
  top: max(78%, calc(var(--reveal-center) + var(--reveal-size) / 2 + 20px));
  transform: translateX(-50%);
  width: min(72vw, 328px);
  text-align: center;
  color: var(--gold-soft);
  animation: reveal-label 850ms 120ms ease-out both;
}
.reveal-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font: 600 11px var(--mono);
  letter-spacing: .24em;
}
.reveal-brand span { width: 18px; height: 1px; background: #bf985f; }
.reveal-label { margin: 9px 0 14px; font: clamp(19px, 4.2vw, 26px)/1.1 var(--title-font); }
.reveal-progress { height: 2px; overflow: hidden; border-radius: 2px; background: #d2a1603d; }
.reveal-progress span {
  display: block;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg,#a87750,#efd197 88%,#fff4d7);
  box-shadow: 0 0 10px #eac077;
  animation: reveal-progress 1420ms cubic-bezier(.3,.66,.26,1) both;
}
.entry-reveal.is-ready .reveal-progress span { animation: reveal-progress-complete 155ms ease-out both; }
.entry-reveal.is-revealing {
  -webkit-mask-image: radial-gradient(circle at 50% var(--reveal-center), transparent max(0px, calc(var(--reveal-aperture) - 12px)), #000 var(--reveal-aperture));
  mask-image: radial-gradient(circle at 50% var(--reveal-center), transparent max(0px, calc(var(--reveal-aperture) - 12px)), #000 var(--reveal-aperture));
  animation: reveal-open 745ms cubic-bezier(.28,.59,.21,1) both;
}
@keyframes reveal-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes reveal-stars { from { opacity: 0; } to { opacity: .8; } }
@keyframes reveal-sky-drift { from { transform: scale(1.1); } to { transform: scale(1.01); } }
@keyframes reveal-instrument { from { opacity: 0; transform: scale(.66) rotate(-46deg); } 28% { opacity: 1; } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes reveal-satellite { from { transform: rotate(-148deg); } to { transform: rotate(39deg); } }
@keyframes reveal-moon { from { opacity: 0; transform: scale(.52); filter: brightness(1.65); } 42% { opacity: 1; } to { opacity: 1; transform: scale(1); filter: brightness(1); } }
@keyframes reveal-sweep { from { opacity: 0; transform: scaleX(0); } 45% { opacity: .84; } to { opacity: 0; transform: scaleX(1); } }
@keyframes reveal-label { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes reveal-progress { from { transform: scaleX(.02); } to { transform: scaleX(.88); } }
@keyframes reveal-progress-complete { from { transform: scaleX(.88); } to { transform: scaleX(1); } }
@keyframes reveal-open { from { --reveal-aperture: 0px; opacity: 1; } 48% { opacity: 1; } to { --reveal-aperture: 120vmax; opacity: 0; } }
@media (max-height: 520px) {
  .entry-reveal { --reveal-size: min(54vmin, 330px); --reveal-center: 37%; }
  .reveal-status { top: 75%; }
}


/* Sabah research desk */
.research-open .hero-actions,
.research-open #desk-live { display: none; }
.research-open .hero { margin-bottom: 21px; }
.study-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 6px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #53413a;
  border-radius: 8px;
  background: #151526;
}
.study-picker button {
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 8px 12px;
  color: #cbc1bb;
  font-weight: 650;
  font-size: 13px;
  text-align: left;
}
.study-picker button:hover { background: #272237; color: #fff0d1; }
.study-picker button[aria-pressed="true"] { border-color: #836746; background: #372e37; color: #ffe3ad; }
.study-intro { margin: 23px 0 16px; }
.study-intro h2, .study-card h3 {
  margin: 0;
  color: #fff0d2;
  font-family: var(--title-font);
  font-weight: 500;
}
.study-intro h2 { font-size: clamp(25px, 3.2vw, 36px); line-height: 1.2; }
.study-intro p, .study-card header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.study-stats, .study-grid { display: grid; gap: 13px; }
.study-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 13px; }
.study-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.study-stat {
  display: grid;
  gap: 1px;
  align-content: start;
  padding: 13px 15px;
  background: radial-gradient(ellipse at 98% 8%,#30283a,#17182a 65%);
}
.study-stat strong { color: #f6cf87; font: 500 clamp(25px, 3.4vw, 39px)/1.15 var(--title-font); }
.study-stat span { color: #f4e3c8; font-size: 14px; font-weight: 650; }
.study-stat small { color: var(--muted); font-size: 12px; }
.study-card { padding: 17px 17px 15px; min-width: 0; }
.study-card h3 { font-size: 22px; line-height: 1.17; }
.study-card header { margin-bottom: 14px; }
.study-card h4 { color: #f2dfba; font-size: 14px; font-weight: 650; margin: 15px 0 9px; }
.study-card h4 small { color: var(--dim); margin-left: 5px; font-weight: 400; }
.study-bars, .study-compare { display: grid; gap: 10px; }
.study-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 3px;
  font-size: 13px;
  color: #e1dbea;
}
.study-bar-label strong { color: #f2d8a8; white-space: nowrap; font-variant-numeric: tabular-nums; }
.study-track { height: 6px; border-radius: 6px; background: #25263d; overflow: hidden; }
.study-fill { display: block; height: 100%; width: var(--bar); border-radius: inherit; transform-origin: left center; }
.study-fill.gold, .study-stack .gold, .study-swatch.gold { background: linear-gradient(90deg,#c08b54,#efc786); }
.study-fill.sky, .study-stack .sky, .study-swatch.sky { background: #849ad0; }
.study-fill.soft, .study-stack .soft, .study-swatch.soft { background: #8b8199; }
.study-view:not([hidden]) .study-fill { animation: study-bar-in 510ms cubic-bezier(.18,.65,.28,.98) both; }
@keyframes study-bar-in { from { transform: scaleX(.05); opacity: .45; } to { transform: scaleX(1); opacity: 1; } }
.study-note, .study-source p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.study-note { border-top: 1px solid #4b3940; margin: 14px 0 0; padding-top: 10px; }
.study-source { margin-top: 13px; padding: 10px 13px; border: 1px solid #4f3c3d; border-radius: 7px; background: #141527; }
.study-source summary { cursor: pointer; color: #ecc583; font-size: 13px; font-weight: 650; }
.study-source p { margin: 8px 0 0; }
.study-source p strong { color: #e7d5b6; }
.study-question + .study-question { border-top: 1px solid #3e3445; margin-top: 12px; }
.study-question h4 { line-height: 1.4; }
.study-stack { display: flex; gap: 1px; height: 9px; border-radius: 5px; overflow: hidden; }
.study-stack i { display: block; flex: 0 1 var(--share); }
.study-question ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; list-style: none; padding: 0; margin: 7px 0 0; }
.study-question li { display: grid; align-items: start; justify-items: start; grid-template-columns: 8px minmax(0,1fr); gap: 0 5px; color: #d4cbde; font-size: 11px; }
.study-swatch { width: 7px; height: 7px; margin-top: 4px; border-radius: 2px; }
.study-question li small { display: block; color: var(--muted); }
.study-question li strong { grid-column: 2; font-variant-numeric: tabular-nums; color: #f2d8a8; margin-top: 1px; }
.study-compare-row + .study-compare-row { border-top: 1px solid #3e3445; padding-top: 8px; }
.study-compare-line { display: grid; grid-template-columns: 28px 1fr 30px; gap: 7px; align-items: center; font-size: 11px; color: var(--muted); }
.study-compare-line b { color: #ead7b7; text-align: right; font-variant-numeric: tabular-nums; }
.study-delta { color: var(--muted); font-size: 11px; }
.study-loading { margin: 0; color: var(--muted); }
@media (max-width: 720px) {
  .study-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .study-stats { grid-template-columns: 1fr; gap: 8px; }
  .study-stat { grid-template-columns: minmax(70px,auto) 1fr; column-gap: 11px; align-items: center; }
  .study-stat small { grid-column: 2; }
  .study-picker { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .study-view:not([hidden]) .study-fill { animation: none; }
}


/* Observed cyber origins */
.map-origin-context{display:flex;align-items:center;justify-content:space-between;gap:8px 13px;flex-wrap:wrap;padding:7px 14px;border-top:1px solid #33334d;color:var(--muted);font-size:12px}
.map-origin-context strong{color:#dccbff;font-weight:650}
.map-origin-context button{padding:3px 0;color:#dac2ff;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.map-pin.origin-pin{width:var(--origin-size);height:var(--origin-size);margin:0;transform:translate(-50%,-50%);border-color:#ccb2ff;background:#442964ab;box-shadow:0 0 14px #bb87ff91}
.map-pin.origin-pin:hover,.map-pin.origin-pin:focus-visible{background:#5c3b89}
.map-pin.origin-pin .map-label{left:calc(100% + 4px);top:50%;transform:translateY(-50%);background:#292041}
.origin-signal{display:flex;align-items:center;gap:11px}
.origin-rank{min-width:22px;font-size:12px;color:#c9a9ff;font-variant-numeric:tabular-nums}
.origin-text{min-width:0}
body.map-expanded .map-panel:has(.map-origin-context:not([hidden])){grid-template-rows:auto auto minmax(0,1fr) auto auto}

  
.map-navigation-hint { font-size: 11px; white-space: nowrap; }
@media (pointer: coarse) { .map-wheel-hint { display: none; } }

.confidential-form { display: grid; gap: 12px; }
.confidential-form label { color: var(--text); font-size: 13px; font-weight: 650; }
.confidential-form .search-input { margin: 0; }
.confidential-form .neutral-button { justify-self: start; }
.confidential-form [role="alert"] { color: var(--amber); margin: 0; }

.has-signin-welcome .reveal-status {
  top: min(calc(var(--reveal-center) + var(--reveal-size) / 2 + 20px), calc(100% - 122px));
  width: min(calc(100% - 36px), 560px);
}
.reveal-welcome {
  margin: 9px 0 0;
  color: #fff0cd;
  font: 500 clamp(29px, 5.5vw, 58px)/1.05 var(--title-font);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.has-signin-welcome .reveal-label {
  margin: 8px 0 14px;
  color: #e2c398;
  font: 500 13px/1.4 var(--mono);
}
.has-signin-welcome .reveal-progress { width: min(78%, 310px); margin-inline: auto; }

.entry-reveal.is-launching { animation: none; }
.is-launching .reveal-instrument { animation-duration: 900ms; }
.is-launching .reveal-moon { animation-duration: 720ms; }
.is-launching .reveal-sweep { animation-duration: 900ms; }
.is-launching .reveal-label, .is-launching .reveal-status { animation-duration: 480ms; }
.is-launching .reveal-progress span { animation: launch-progress 930ms cubic-bezier(.28,.6,.32,1) both; }
.entry-reveal.is-launch-departing { animation: launch-depart 320ms ease-in-out both; }
@keyframes launch-progress { from { transform: scaleX(.02); } to { transform: scaleX(1); } }
@keyframes launch-depart { from { opacity: 1; } to { opacity: 0; } }

.entry-inner .entry-submit { display: block; text-decoration: none; }
.entry-inner .entry-description:last-child { margin-bottom: 0; }
.top-actions .lock-button { text-decoration: none; }

.room-access-label {
  margin-inline-start: 4px;
  padding: 2px 5px;
  border: 1px solid var(--ornament);
  border-radius: 4px;
  color: var(--gold-soft);
  white-space: nowrap;
}

/* Small variations on the same opening sequence. */
.entry-reveal[data-opening="sunrise"] { --opening-rotation: -43deg; --opening-glow: #e9b660; }
.entry-reveal[data-opening="twilight"] { --opening-rotation: 34deg; --opening-glow: #c8b4fa; }
.entry-reveal[data-opening="moonrise"] { --opening-rotation: -27deg; --opening-glow: #a4caff; }
.entry-reveal[data-opening] .reveal-instrument {
  animation-name: opening-orbit;
  animation-duration: var(--opening-time, 980ms);
}
.entry-reveal[data-opening] .reveal-sweep { background: linear-gradient(90deg, transparent, var(--opening-glow), transparent); }
.entry-reveal[data-opening] .reveal-progress span {
  background: linear-gradient(90deg, #916844, var(--opening-glow), #fff0c5);
  animation-duration: calc(var(--opening-time, 980ms) - 45ms);
}
@keyframes opening-orbit {
  from { opacity: 0; transform: scale(.72) rotate(var(--opening-rotation, -43deg)); }
  28% { opacity: 1; }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

/* A narrow line changes shape as the next tab arrives. */
.screen-transition.morph {
  inset: 0;
  height: auto;
  background: none;
  box-shadow: none;
}
.screen-transition.morph span {
  position: absolute;
  top: clamp(56px, 8vh, 80px);
  left: 50%;
  width: min(34vw, 230px);
  height: 22px;
  transform-origin: center;
  clip-path: polygon(0 44%, 50% 44%, 100% 44%, 100% 56%, 50% 56%, 0 56%);
  background: linear-gradient(90deg, transparent, #eac47e 36%, #fff0c5 50%, #eac47e 64%, transparent);
  box-shadow: none;
}
.screen-transition.morph:not([hidden]) span { animation: tab-morph-in 120ms cubic-bezier(.27,.52,.51,1) both; }
.screen-transition.morph.done span { animation: tab-morph-out 230ms ease-out both; }
@keyframes tab-morph-in {
  from { opacity: 0; transform: translateX(-50%) scaleX(.52); }
  to { opacity: .94; transform: translateX(-50%) scaleX(.58); clip-path: polygon(0 49%, 50% 4%, 100% 49%, 100% 51%, 50% 96%, 0 51%); }
}
@keyframes tab-morph-out {
  from { opacity: .94; transform: translateX(-50%) scaleX(.58); clip-path: polygon(0 49%, 50% 4%, 100% 49%, 100% 51%, 50% 96%, 0 51%); }
  to { opacity: 0; transform: translateX(-50%) scaleX(1.14); clip-path: polygon(0 46%, 50% 42%, 100% 46%, 100% 54%, 50% 58%, 0 54%); }
}
@media (prefers-reduced-motion: reduce) {
  .screen-transition, .entry-reveal:not(.has-signin-welcome) { display: none !important; }
  .has-signin-welcome *, .has-signin-welcome *::before, .has-signin-welcome *::after { animation: none !important; }
  .has-signin-welcome .reveal-progress span { transform: scaleX(.58); }
}

.pbr-entry-install { margin-top: 12px; }
.pbr-motion-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 16px; }
.pbr-install-body { padding: 0 22px 22px; line-height: 1.5; }
.pbr-install-body li { margin-bottom: 7px; }
#pbr-install-help h2 { margin: 0; }
