:root {
  color-scheme: dark;
  --bg: #0a0e12;
  --panel: #10161c;
  --panel2: #141c23;
  --line: #263139;
  --text: #e9eee9;
  --muted: #9ba9af;
  --dim: #73848d;
  --green: #c4f76b;
  --cyan: #87c9cf;
  --amber: #e9bb76;
  --pink: #d99aaf;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rail: 226px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button {
  color: inherit;
  background: none;
  border: 0;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 46px;
  font-weight: 550;
  margin-bottom: 14px;
}
h2 {
  font-size: 25px;
  font-weight: 550;
}
h3 {
  font-size: 19px;
  font-weight: 550;
}
p {
  color: var(--muted);
}
svg.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.mono,
.eyebrow,
.badge,
.meta,
.nav-title {
  font-family: var(--mono);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.accent {
  color: var(--green);
}
.muted {
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 100;
  background: var(--green);
  color: var(--bg);
  padding: 10px;
}
.skip-link:focus {
  top: 12px;
}
.boot-fallback {
  padding: 10vw;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  background: #0d1217;
  border-right: 1px solid var(--line);
  z-index: 30;
  display: flex;
  flex-direction: column;
}
.brand {
  height: 87px;
  display: flex;
  align-items: center;
  padding: 0 25px;
  gap: 11px;
  border-bottom: 1px solid var(--line);
}
.brand-symbol {
  width: 32px;
  height: 32px;
  color: var(--green);
}
.brand-name {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1.3px;
}
.brand-name i {
  font-style: normal;
  color: var(--green);
}
.brand-version {
  font: 9px var(--mono);
  color: var(--dim);
  margin-top: -3px;
  letter-spacing: 0.18em;
}
.sidebar-scroll {
  overflow: auto;
  flex: 1;
  padding: 24px 14px;
}
.nav-title {
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.14em;
  padding: 0 12px;
  margin-bottom: 9px;
}
.nav-list {
  display: grid;
  gap: 4px;
  margin-bottom: 27px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 12px;
}
.nav-item:hover {
  background: #19221f;
  color: var(--text);
}
.nav-item.active {
  color: var(--green);
  border-color: #34482c;
  background: #1d2a1c;
}
.nav-item .count {
  margin-left: auto;
  font: 10px var(--mono);
  color: var(--dim);
}
.nav-item.active .count {
  color: var(--green);
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-small {
  font-size: 11px;
  padding: 6px 10px;
  gap: 9px;
}
.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}
.nav-small:nth-child(2) .nav-dot {
  background: var(--pink);
}
.nav-small:nth-child(3) .nav-dot {
  background: var(--amber);
}
.nav-small:nth-child(4) .nav-dot {
  background: var(--green);
}
.sidebar-note {
  margin: 0 20px 18px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(130deg, #18201b, #11171a);
}
.sidebar-note p {
  font-size: 10px;
  margin: 7px 0 8px;
  line-height: 1.5;
}
.sidebar-note a {
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--green);
}
.sidebar-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 24px;
  font: 9px var(--mono);
  color: var(--dim);
  letter-spacing: 0.05em;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 9px #c4f74833;
}
.shell {
  margin-left: var(--rail);
}
.topbar {
  height: 64px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 34px;
  gap: 25px;
  background: #0a0e12;
  position: sticky;
  top: 0;
  z-index: 20;
}
.breadcrumb {
  font: 10px var(--mono);
  color: var(--dim);
  display: flex;
  gap: 12px;
  white-space: nowrap;
}
.breadcrumb strong {
  color: #c5d0d3;
  font-weight: 400;
}
.top-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 11px;
}
.top-search .icon {
  width: 15px;
}
.key {
  border: 1px solid #3b474f;
  border-radius: 3px;
  font: 9px var(--mono);
  padding: 2px 5px;
  color: var(--dim);
}
.header-status {
  font: 9px var(--mono);
  border-left: 1px solid var(--line);
  padding-left: 20px;
  color: var(--muted);
  white-space: nowrap;
}
.mobile-toggle {
  display: none;
}
.main {
  max-width: 1710px;
  margin: auto;
  padding: 31px 34px 40px;
  min-height: calc(100vh - 64px);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 26px;
}
.page-heading p {
  max-width: 650px;
  font-size: 13px;
  margin-bottom: 0;
}
.page-heading .eyebrow {
  margin-bottom: 13px;
}
.page-heading h1 {
  font-size: 37px;
}
.page-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #3b484f;
  border-radius: 4px;
  padding: 9px 13px;
  font: 10px var(--mono);
  background: #11181e;
  white-space: nowrap;
  line-height: 1.6;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover {
  border-color: #8aa166;
  background: #19211c;
  color: var(--green);
}
.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #17220f;
  font-weight: 600;
}
.btn.primary:hover {
  background: #d2ff8b;
}
.btn .icon {
  width: 14px;
  height: 14px;
}
.btn.small {
  padding: 6px 9px;
  font-size: 9px;
}
.btn.ghost {
  background: transparent;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.icon-btn:hover,
.icon-btn.saved {
  color: var(--green);
  border-color: #607d41;
}
.icon-btn .icon {
  width: 15px;
  height: 15px;
}
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 8px 0 27px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.hero .eyebrow {
  color: var(--green);
  margin-bottom: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 3.6vw, 61px);
  font-weight: 550;
  letter-spacing: -0.058em;
  line-height: 1.02;
  margin-bottom: 17px;
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero p {
  max-width: 490px;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 0;
}
.hero-aside {
  width: 205px;
  flex-shrink: 0;
  padding: 20px 0 16px 28px;
  border-left: 1px solid var(--line);
}
.hero-aside .eyebrow {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.07em;
}
.hero-aside p {
  font-size: 11px;
  line-height: 1.7;
  margin-bottom: 15px;
}
.hero-aside .btn {
  width: 100%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.stat {
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(120deg, #121a20, #0e141a);
  position: relative;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.stat-top .icon {
  width: 14px;
  height: 14px;
  color: #8a9c9d;
}
.stat strong {
  display: block;
  font: 30px var(--mono);
  letter-spacing: -0.06em;
  margin: 6px 0;
}
.stat .foot {
  font: 9px var(--mono);
  color: var(--dim);
}
.stat .foot span {
  color: var(--green);
  margin-right: 4px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 13px;
  gap: 15px;
}
.section-title h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title h2 .icon {
  color: var(--green);
  width: 16px;
}
.section-title a {
  font: 9px var(--mono);
  color: var(--muted);
}
.section-title a:hover {
  color: var(--green);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 17px;
  margin-bottom: 27px;
}
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  overflow: hidden;
  min-width: 0;
}
.panel-head {
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-head .eyebrow {
  font-size: 9px;
  color: #b9c6c9;
  letter-spacing: 0.09em;
}
.panel-head .icon {
  width: 14px;
  height: 14px;
}
.panel-inner {
  padding: 19px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 6px;
  border: 1px solid #354541;
  border-radius: 3px;
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--green);
  background: #19271b;
  white-space: nowrap;
}
.badge.subtle {
  color: var(--muted);
  border-color: var(--line);
  background: #162028;
}
.badge.amber {
  color: var(--amber);
  background: #30291d;
  border-color: #51432e;
}
.badge.pink {
  color: var(--pink);
  background: #2d1f28;
  border-color: #563341;
}
.map {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #0c1319;
}
.map:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px #050d15a0;
  pointer-events: none;
}
.map svg.atlas-svg {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
  touch-action: none;
  cursor: grab;
}
.map svg.atlas-svg:active {
  cursor: grabbing;
}
.map .map-marker {
  cursor: pointer;
  outline: none;
  pointer-events: bounding-box;
}
.map .map-marker circle {
  vector-effect: non-scaling-stroke;
}
#map-land path {
  vector-effect: non-scaling-stroke;
}
.map .map-marker:hover circle,
.map .map-marker:focus circle {
  stroke: var(--green);
  stroke-width: 3;
}
.map-marker text {
  font-family: var(--mono);
  font-size: 7px;
  fill: #dce7dc;
  paint-order: stroke;
  stroke: #0b1218;
  stroke-width: 2;
  stroke-linejoin: round;
  pointer-events: none;
}
.map-marker[aria-pressed="true"] circle {
  fill: #fff;
  stroke: #c4f76b;
  stroke-width: 3;
}
.map-controls {
  position: absolute;
  right: 15px;
  top: 15px;
  display: grid;
  gap: 3px;
  z-index: 2;
}
.map-controls button {
  border: 1px solid #39464c;
  background: #111a20ed;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  color: #b7c8c9;
  font: 16px var(--mono);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-controls button:hover {
  border-color: var(--green);
  color: var(--green);
}
.map-controls .icon {
  width: 14px;
}
.map-overlay {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 2;
  pointer-events: none;
}
.map-overlay .eyebrow {
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.map-overlay b {
  font: 10px var(--mono);
  color: var(--green);
}
.map-coordinates {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 2;
  font: 8px var(--mono);
  color: #93a5a5;
}
.map-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font: 8px var(--mono);
  color: var(--muted);
  flex-wrap: wrap;
}
.map-legend .legend-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 5px;
}
.map-legend a {
  margin-left: auto;
  color: var(--muted);
}
.map-tabs {
  display: flex;
  gap: 5px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0b1117;
}
.map-tabs button {
  font: 9px var(--mono);
  padding: 4px 9px;
  border-radius: 2px;
  color: var(--dim);
}
.map-tabs button[aria-pressed="true"] {
  background: #293622;
  color: var(--green);
}
.briefing .panel-head {
  background: #151c23;
}
.brief-item {
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
  display: block;
}
.brief-item:last-child {
  border-bottom: 0;
}
.brief-item .meta {
  font-size: 8px;
  color: var(--green);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.08em;
}
.brief-item h3 {
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin: 0 0 5px;
}
.brief-item p {
  font-size: 10px;
  line-height: 1.65;
  margin: 0;
  color: var(--dim);
}
.brief-item:hover {
  background: #19211d;
}
.briefing-foot {
  padding: 10px 17px;
  font: 8px var(--mono);
  color: var(--dim);
}
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 27px;
}
.dossier-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(140deg, #151b22, #10171d);
  padding: 19px;
  min-height: 194px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.dossier-card:hover {
  border-color: #788b5f;
  transform: translateY(-2px);
}
.dossier-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 19px;
}
.dossier-number {
  font: 9px var(--mono);
  color: var(--dim);
  margin-left: auto;
}
.dossier-card h3 {
  font-size: 20px;
  line-height: 1.18;
  max-width: 95%;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.dossier-card p {
  font-size: 11px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
  max-width: 95%;
}
.dossier-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 8px var(--mono);
  color: var(--dim);
}
.dossier-foot .icon {
  margin-left: auto;
  color: var(--green);
  width: 17px;
}
.tag {
  font: 8px var(--mono);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 17px;
}
.source-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}
.source-row:last-child {
  border-bottom: 0;
}
.source-monogram {
  width: 30px;
  height: 30px;
  border: 1px solid #35423a;
  background: #202a21;
  color: var(--green);
  display: grid;
  place-items: center;
  border-radius: 4px;
  font: 11px var(--mono);
  flex-shrink: 0;
}
.source-row:nth-child(3n) .source-monogram {
  color: var(--cyan);
  background: #1d292e;
  border-color: #33444a;
}
.source-row:nth-child(4n) .source-monogram {
  color: var(--pink);
  background: #2b2029;
  border-color: #493240;
}
.source-row .source-name {
  font-size: 11px;
  line-height: 1.4;
}
.source-row .source-meta {
  font: 8px var(--mono);
  color: var(--dim);
  margin-top: 4px;
}
.source-row .source-detail {
  flex: 1;
  text-align: left;
  padding: 0;
}
.source-row .badge {
  margin-left: auto;
}
.source-row .icon-btn {
  border-color: transparent;
}
.feed-note {
  display: flex;
  gap: 12px;
  padding: 17px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.feed-note .icon {
  color: var(--amber);
  width: 17px;
  height: 17px;
  margin-top: 3px;
}
.feed-note h3 {
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 5px;
}
.feed-note p {
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
}
.progress-line {
  height: 3px;
  background: #2a3029;
  border-radius: 2px;
  margin: 13px 0;
}
.progress-line span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 100%;
}
.footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 17px;
  font: 8px var(--mono);
  color: var(--dim);
  letter-spacing: 0.02em;
}
.footer a {
  color: var(--muted);
}
.filter-bar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 180px 170px 160px;
  gap: 9px;
  margin-bottom: 13px;
}
.input,
select,
textarea {
  border: 1px solid #35424b;
  background: #10171d;
  color: var(--text);
  border-radius: 4px;
  padding: 10px 12px;
  width: 100%;
  font-size: 12px;
}
.input::placeholder,
textarea::placeholder {
  color: var(--dim);
}
.input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}
.search-field {
  position: relative;
}
.search-field .icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 15px;
  height: 15px;
  color: var(--dim);
}
.search-field input {
  padding-left: 37px;
}
.results-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  font: 10px var(--mono);
  color: var(--muted);
  flex-wrap: wrap;
}
.results-toolbar .spacer {
  flex: 1;
}
.results-toolbar select {
  width: 145px;
  font: 10px var(--mono);
  padding: 6px;
}
.check-label {
  display: flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
}
.check-label input {
  accent-color: var(--green);
}
.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.view-toggle button {
  padding: 5px 8px;
  font: 9px var(--mono);
  color: var(--muted);
}
.view-toggle button[aria-pressed="true"] {
  background: #293622;
  color: var(--green);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.catalog-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 235px;
  transition: border-color 0.15s;
}
.catalog-card:hover {
  border-color: #5a7155;
}
.catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.catalog-card-top .source-monogram {
  width: 34px;
  height: 34px;
}
.catalog-card h3 {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 7px;
}
.catalog-card .description {
  font-size: 11px;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
}
.catalog-card .meta {
  font-size: 8px;
  color: var(--dim);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.catalog-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.catalog-card-actions .btn {
  padding: 5px 8px;
  font-size: 9px;
}
.catalog-grid.list {
  grid-template-columns: 1fr;
}
.catalog-grid.list .catalog-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 43px 210px minmax(120px, 1fr) 150px;
  align-items: center;
  gap: 15px;
  padding: 14px 17px;
}
.catalog-grid.list .catalog-card-top {
  margin: 0;
}
.catalog-grid.list .catalog-card-top .badge {
  display: none;
}
.catalog-grid.list h3 {
  font-size: 13px;
  margin: 0;
}
.catalog-grid.list .description {
  font-size: 11px;
  margin: 0;
}
.catalog-grid.list .meta {
  display: none;
}
.catalog-grid.list .catalog-card-actions {
  border: 0;
  padding: 0;
  justify-content: flex-end;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  margin: 25px 0;
  font: 10px var(--mono);
  color: var(--muted);
}
.catalog-note {
  font: 9px var(--mono);
  color: var(--dim);
  margin-top: 18px;
  max-width: 850px;
}
.empty {
  border: 1px dashed #3b474f;
  border-radius: 5px;
  padding: 45px 24px;
  text-align: center;
  grid-column: 1/-1;
}
.empty .icon {
  width: 30px;
  height: 30px;
  color: var(--green);
  margin-bottom: 12px;
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  font-size: 12px;
  max-width: 460px;
  margin: 0 auto 17px;
}
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 15px;
}
.atlas-large {
  height: 540px;
}
.atlas-large .atlas-svg {
  height: 100%;
}
.atlas-aside {
  max-height: 584px;
  overflow: auto;
}
.atlas-aside .source-row {
  padding: 12px;
}
.atlas-selection {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.atlas-selection h2 {
  font-size: 22px;
  margin-bottom: 8px;
}
.atlas-selection p {
  font-size: 11px;
  margin-bottom: 12px;
}
.region-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0;
}
.region-buttons button {
  font: 10px var(--mono);
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.region-buttons button[aria-pressed="true"] {
  border-color: #6d8b4c;
  color: var(--green);
  background: #202d1c;
}
.dossier-detail {
  max-width: 1050px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 10px var(--mono);
  color: var(--muted);
  margin-bottom: 23px;
}
.back-link .icon {
  width: 13px;
}
.dossier-detail-header {
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.dossier-detail-header h1 {
  font-size: 43px;
  max-width: 780px;
  margin: 14px 0 20px;
}
.dossier-detail-header .intro {
  font-size: 16px;
  line-height: 1.9;
  max-width: 800px;
}
.dossier-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 35px;
}
.research-step {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.research-step .eyebrow {
  color: var(--green);
  margin-bottom: 11px;
}
.research-step h2 {
  font-size: 23px;
}
.research-step p {
  font-size: 14px;
  line-height: 1.9;
}
.questions {
  background: #141e19;
  border: 1px solid #35472c;
  border-radius: 5px;
  padding: 23px;
}
.questions h2 {
  font-size: 19px;
}
.questions li {
  font-size: 12px;
  color: var(--muted);
  padding: 5px 0;
}
.questions ul {
  padding-left: 18px;
  margin-bottom: 0;
}
.reading-aside {
  position: sticky;
  top: 85px;
  align-self: start;
}
.reading-aside .panel-head {
  font-size: 10px;
}
.reading-aside .source-row {
  padding: 12px;
}
.notice {
  border: 1px solid #4b4130;
  background: #211d16;
  color: var(--amber);
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.notice a {
  text-decoration: underline;
}
.feed-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 16px;
}
.feed-list {
  align-self: start;
}
.feed-choice {
  display: block;
  text-align: left;
  width: 100%;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.feed-choice:last-child {
  border-bottom: 0;
}
.feed-choice[aria-pressed="true"] {
  background: #1c291e;
  box-shadow: inset 2px 0 var(--green);
  color: var(--green);
}
.feed-choice span {
  display: block;
  font: 8px var(--mono);
  color: var(--dim);
  margin-top: 4px;
}
.feed-article {
  padding: 21px;
  border-bottom: 1px solid var(--line);
}
.feed-article:last-child {
  border: 0;
}
.feed-article .meta {
  font-size: 9px;
  color: var(--dim);
  margin-bottom: 8px;
}
.feed-article h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 8px;
}
.feed-article p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.feed-summary {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.feed-summary h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.feed-summary .meta {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 11px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  white-space: nowrap;
}
th {
  text-align: left;
  font: 9px var(--mono);
  color: var(--muted);
  padding: 12px 15px;
  background: #141c23;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
tr:last-child td {
  border-bottom: 0;
}
tr:hover td {
  background: #151e22;
}
td a {
  color: var(--green);
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
}
.workspace-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.note-form label {
  font: 10px var(--mono);
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.note-form input,
.note-form textarea {
  margin-bottom: 16px;
}
.note-form textarea {
  min-height: 160px;
  resize: vertical;
}
.note {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 17px;
  margin-bottom: 11px;
  background: var(--panel);
}
.note-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.note h3 {
  font-size: 15px;
  margin-bottom: 5px;
}
.note p {
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.note .meta {
  font-size: 9px;
  color: var(--dim);
}
.workspace-aside .panel {
  margin-bottom: 18px;
}
.workspace-aside p {
  font-size: 11px;
}
.import-label {
  cursor: pointer;
}
.import-label input {
  display: none;
}
.prose {
  max-width: 850px;
}
.prose h2 {
  margin-top: 32px;
  font-size: 24px;
}
.prose p,
.prose li {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.prose code {
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
}
.prose a {
  color: var(--green);
  text-decoration: underline;
}
.prose .panel {
  margin-bottom: 20px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 25px 0;
}
.method-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 20px;
  background: var(--panel);
}
.method-card .eyebrow {
  color: var(--green);
  margin-bottom: 12px;
}
.method-card h3 {
  font-size: 17px;
}
.method-card p {
  font-size: 11px;
  margin: 0;
}
dialog {
  color: var(--text);
  background: #10171d;
  border: 1px solid #43534f;
  border-radius: 7px;
  padding: 0;
  width: min(620px, calc(100vw - 30px));
  max-height: 85vh;
  box-shadow: 0 30px 150px #0009;
}
dialog::backdrop {
  background: #03070cc9;
  backdrop-filter: blur(5px);
}
.dialog-head {
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.dialog-head h2 {
  font-size: 22px;
  margin-bottom: 5px;
}
.dialog-body {
  padding: 24px;
}
.dialog-body p {
  font-size: 13px;
  line-height: 1.9;
}
.dialog-body .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 22px 0;
}
.meta-grid dt {
  font: 9px var(--mono);
  color: var(--dim);
  margin-bottom: 6px;
}
.meta-grid dd {
  font-size: 11px;
  color: var(--text);
  margin: 0;
  overflow-wrap: anywhere;
}
.dialog-body .page-actions {
  flex-wrap: wrap;
}
.dialog-body h3 {
  font-size: 15px;
  margin: 25px 0 10px;
}
.related-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 12px;
  margin-bottom: 7px;
}
.source-url {
  font: 10px var(--mono);
  color: var(--green);
  overflow-wrap: anywhere;
}
.command-search {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
}
.command-search .icon {
  color: var(--green);
}
.command-search input {
  background: transparent;
  border: 0;
  outline: none !important;
  padding: 6px 0;
  color: var(--text);
  flex: 1;
  min-width: 0;
}
.command-search .icon-btn {
  flex-shrink: 0;
}
.command-results {
  padding: 10px;
  max-height: 55vh;
  overflow: auto;
}
.command-result {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 4px;
  padding: 12px;
  font-size: 12px;
  width: 100%;
  text-align: left;
}
.command-result:hover,
.command-result:focus {
  background: #26351f;
  color: var(--green);
}
.command-result .icon {
  width: 17px;
}
.command-result small {
  font: 9px var(--mono);
  color: var(--dim);
  display: block;
  margin-top: 3px;
}
.command-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font: 9px var(--mono);
  color: var(--dim);
}
#notifications {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 80px);
  transform: translateX(-50%);
  z-index: 100;
}
.toast {
  padding: 12px 20px;
  border: 1px solid #617a42;
  border-radius: 5px;
  background: #1d2c1b;
  color: var(--green);
  font: 11px var(--mono);
  box-shadow: 0 10px 40px #0006;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.data-status {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.link-underline {
  text-decoration: underline;
}
.break-word {
  overflow-wrap: anywhere;
}
@media (min-width: 1600px) {
  .main {
    padding-left: 45px;
    padding-right: 45px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .map {
    min-height: 360px;
  }
  .map svg.atlas-svg {
    min-height: 360px;
  }
}
@media (max-width: 1200px) {
  :root {
    --rail: 205px;
  }
  .brand {
    padding: 0 20px;
  }
  .topbar {
    padding: 0 24px;
    gap: 18px;
  }
  .main {
    padding: 26px 24px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 265px;
    gap: 12px;
  }
  .brief-item {
    padding: 12px 14px;
  }
  .dossier-card {
    padding: 16px;
  }
  .dossier-card h3 {
    font-size: 19px;
  }
  .filter-bar {
    grid-template-columns: minmax(170px, 1fr) 150px 140px;
  }
  .filter-bar select:last-child {
    grid-column: 3;
  }
  .filter-bar .search-field {
    grid-row: 1/3;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-grid.list .catalog-card {
    grid-template-columns: 35px 160px minmax(100px, 1fr) 140px;
    gap: 10px;
  }
  .header-status .time {
    display: none;
  }
  .atlas-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
  .atlas-large {
    height: 480px;
  }
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}
@media (max-width: 1000px) {
  .hero-aside {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .briefing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .briefing .panel-head {
    grid-column: 1/-1;
  }
  .brief-item {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }
  .briefing-foot {
    display: none;
  }
  .dossier-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bottom-grid {
    grid-template-columns: 1fr;
  }
  .atlas-layout {
    grid-template-columns: 1fr;
  }
  .atlas-aside {
    max-height: 400px;
  }
  .atlas-large {
    height: 450px;
  }
  .catalog-grid.list .catalog-card {
    grid-template-columns: 32px 1fr 145px;
  }
  .catalog-grid.list .description {
    display: none;
  }
  .dossier-detail-grid {
    grid-template-columns: 1fr;
  }
  .reading-aside {
    position: static;
  }
  .workspace-grid {
    grid-template-columns: 1fr;
  }
  .workspace-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .feed-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 13px;
  }
  .stat-top {
    font-size: 8px;
    letter-spacing: 0;
  }
  .stat .foot {
    font-size: 8px;
  }
  .top-search span {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --rail: 0px;
  }
  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 40px 0 100px #000b;
  }
  .shell {
    margin: 0;
  }
  .topbar {
    padding: 0 19px;
    height: 58px;
    gap: 14px;
  }
  .mobile-toggle {
    display: flex;
    padding: 4px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 8px;
  }
  .breadcrumb .workspace-label {
    display: none;
  }
  .header-status {
    font-size: 8px;
    padding-left: 12px;
  }
  .top-search {
    margin-left: auto;
  }
  .top-search .key {
    display: none;
  }
  .main {
    padding: 24px 19px 30px;
  }
  .hero {
    padding-top: 2px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 23px;
  }
  .stat {
    padding: 12px 15px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat-top {
    font-size: 9px;
  }
  .stat .foot {
    font-size: 8px;
  }
  .section-title h2 {
    font-size: 16px;
  }
  .map {
    min-height: 270px;
  }
  .map svg.atlas-svg {
    min-height: 270px;
  }
  .map-overlay {
    top: 10px;
    left: 10px;
  }
  .map-overlay .eyebrow {
    font-size: 7px;
  }
  .map-overlay b {
    font-size: 8px;
  }
  .map-tabs button {
    padding: 4px 7px;
  }
  .panel-head {
    padding: 12px 13px;
  }
  .briefing {
    grid-template-columns: 1fr;
  }
  .brief-item {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 14px 16px;
  }
  .brief-item h3 {
    font-size: 14px;
  }
  .brief-item p {
    font-size: 11px;
  }
  .dossier-grid {
    gap: 10px;
  }
  .dossier-card {
    padding: 15px;
    min-height: 210px;
  }
  .dossier-card h3 {
    font-size: 19px;
  }
  .dossier-card p {
    font-size: 10px;
  }
  .dossier-foot {
    font-size: 7px;
    gap: 7px;
  }
  .dossier-number {
    display: none;
  }
  .dossier-top {
    margin-bottom: 15px;
  }
  .tag {
    font-size: 7px;
  }
  .footer {
    font-size: 8px;
    flex-direction: column;
    gap: 7px;
  }
  .footer span:last-child {
    display: flex;
    gap: 17px;
  }
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar .search-field {
    grid-row: auto;
    grid-column: 1/-1;
  }
  .filter-bar select:last-child {
    grid-column: auto;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .catalog-card {
    min-height: 210px;
  }
  .catalog-card h3 {
    font-size: 19px;
  }
  .catalog-card .description {
    font-size: 12px;
  }
  .catalog-grid.list .catalog-card {
    grid-template-columns: 30px 1fr 135px;
    padding: 12px;
    gap: 9px;
  }
  .catalog-grid.list h3 {
    font-size: 12px;
  }
  .catalog-grid.list .catalog-card-actions .btn {
    padding: 5px;
    font-size: 8px;
  }
  .catalog-grid.list .source-monogram {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  .catalog-grid.list .icon-btn {
    width: 24px;
  }
  .page-heading h1 {
    font-size: 33px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .atlas-large {
    height: 380px;
  }
  .atlas-layout {
    display: flex;
    flex-direction: column;
  }
  .atlas-aside {
    max-height: 500px;
  }
  .atlas-selection h2 {
    font-size: 20px;
  }
  .dossier-detail-header h1 {
    font-size: 36px;
  }
  .dossier-detail-header .intro {
    font-size: 14px;
  }
  .dossier-detail-grid {
    gap: 22px;
  }
  .research-step p {
    font-size: 13px;
  }
  .feed-layout {
    grid-template-columns: 1fr;
  }
  .feed-list {
    display: flex;
    overflow: auto;
  }
  .feed-choice {
    min-width: 155px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .feed-summary {
    padding: 16px;
  }
  .feed-article {
    padding: 17px;
  }
  .feed-article h3 {
    font-size: 16px;
  }
  .workspace-aside {
    display: block;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .dialog-body,
  .dialog-head {
    padding: 20px;
  }
  .dialog-body .meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dialog-head h2 {
    font-size: 21px;
  }
  #notifications {
    left: 50%;
    width: max-content;
    max-width: 90vw;
    bottom: 16px;
  }
  .toast {
    font-size: 10px;
    padding: 10px 14px;
  }
  .data-status {
    gap: 7px;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: 40px;
  }
  .main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .dossier-grid {
    grid-template-columns: 1fr;
  }
  .header-status {
    display: none;
  }
  .map-tabs button {
    font-size: 8px;
  }
  .catalog-grid.list .catalog-card {
    grid-template-columns: 25px 1fr 105px;
  }
  .catalog-grid.list .catalog-card-actions .btn {
    font-size: 7px;
    padding: 4px;
  }
  .catalog-grid.list .catalog-card-actions .btn .icon {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
