:root {
  color-scheme: dark;
  --bg: #121413;
  --panel: #191b1a;
  --line: #2c2e2b;
  --text: #e9e8e2;
  --muted: #90958e;
  --red: #d4443e;
  --green: #8eae92;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 5px;
}
button,
.button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #222522;
  color: var(--text);
  padding: 11px 16px;
  border-radius: 3px;
  transition: background 0.18s;
}
button:hover,
.button:hover {
  background: #323630;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.3px;
  margin-bottom: 10px;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.7;
}
.muted {
  color: var(--muted);
}
.red {
  color: var(--red);
}
.eyebrow,
.nav-label,
.rank,
.stats > div > span,
.map-caption,
.app-footer,
.network,
.clock,
.connection,
.gate-footer,
label {
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}
.eyebrow {
  margin-bottom: 16px;
}
.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
}
.primary:hover {
  background: #b93632;
}
.primary span,
.light span {
  margin-left: 30px;
}
.light {
  background: var(--text);
  color: #1b1d1a;
  border: 0;
  font-weight: 700;
}
.light:hover {
  background: #fff;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 9px #8eae9222;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  border-right: 1px solid var(--line);
  padding: 29px 18px 0;
  background: #151715;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 38px;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 15px;
}
.brand img {
  width: 46px;
}
.brand small {
  display: block;
  font-family: monospace;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 7px;
}
.nav-label {
  color: #646b62;
  margin: 8px 15px 18px;
}
nav {
  display: grid;
  gap: 7px;
}
nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  border: 1px solid transparent;
  text-align: left;
  padding: 14px;
  color: #a2a69f;
  font-size: 12px;
}
nav button.active {
  background: #d4443e12;
  color: #ede7df;
  border-color: #d4443e30;
  border-left: 2px solid var(--red);
}
.nav-icon {
  font-size: 20px;
  width: 20px;
}
.sidebar-bottom {
  margin-top: auto;
}
.network {
  padding: 25px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
}
.network small {
  display: block;
  color: #62695f;
  font-size: 8px;
  margin: 10px 0 0 15px;
  letter-spacing: 0.6px;
}
.profile {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: left;
  gap: 12px;
  background: none;
  border: 0;
  padding: 23px 8px;
}
.profile > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #41463c;
  background: #2c3128;
  color: #c4cdb7;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
}
.avatar.large {
  width: 52px;
  height: 52px;
  font-size: 18px;
}
.workspace {
  margin-left: 244px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 73px;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font:
    9px "Courier New",
    monospace;
  letter-spacing: 1px;
}
.slash {
  margin: 0 15px;
  color: #5d635a;
}
.top-right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.top-right button {
  border: 0;
  background: none;
  font-size: 10px;
  color: #a9ada4;
  padding: 0;
}
.connection,
.clock {
  font-size: 9px;
}
.clock {
  color: var(--muted);
}
#content {
  padding: 35px 38px 40px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  gap: 20px;
}
.page-heading .eyebrow {
  color: #818878;
  font-size: 9px;
  margin-bottom: 13px;
}
.page-heading p {
  margin-bottom: 0;
  font-size: 12px;
}
.page-heading button {
  font-size: 12px;
  white-space: nowrap;
}
.hero {
  position: relative;
  min-height: 308px;
  background: linear-gradient(112deg, #292e26, #1b211c 64%, #20251f);
  border: 1px solid #394034;
  overflow: hidden;
  display: flex;
}
.hero-copy {
  padding: 34px 38px;
  z-index: 1;
  flex: 1;
}
.hero .eyebrow {
  font-size: 9px;
  color: #c7ccba;
  letter-spacing: 1.8px;
}
.hero h2 {
  font-size: 43px;
  line-height: 1.1;
  letter-spacing: -1.6px;
  margin: 22px 0 16px;
}
.hero p {
  font-size: 12px;
  color: #aeb5a4;
  margin-bottom: 22px;
}
.hero button {
  font-size: 11px;
  padding: 12px 17px;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44%;
  min-width: 230px;
  background-image:
    linear-gradient(#acb69b07 1px, transparent 1px),
    linear-gradient(90deg, #acb69b07 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-art img {
  width: 150px;
  opacity: 0.8;
  z-index: 1;
  filter: drop-shadow(0 12px 20px #0006);
}
.radar-circle {
  position: absolute;
  border: 1px solid #b1bd9e16;
  border-radius: 50%;
  aspect-ratio: 1;
}
.c1 {
  width: 220px;
}
.c2 {
  width: 320px;
}
.c3 {
  width: 420px;
}
.crosshair {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, #b1bd9e16 50%, transparent 50.2%),
    linear-gradient(transparent 49.9%, #b1bd9e16 50%, transparent 50.2%);
}
.coordinate {
  position: absolute;
  bottom: 33px;
  font: 8px monospace;
  letter-spacing: 2px;
  color: #737e6a;
}
.hero-index {
  position: absolute;
  right: 15px;
  top: 15px;
  font: 8px monospace;
  letter-spacing: 1px;
  color: #7e8872;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin: 22px 0 28px;
  background: #171a16;
}
.stats > div {
  padding: 23px 24px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border: 0;
}
.stats > div > span {
  font-size: 8px;
  color: #9ba18f;
}
.stats strong {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 35px;
  font-weight: 500;
  margin: 15px 0 8px;
  letter-spacing: -1px;
}
.stats strong small {
  font: 8px monospace;
  letter-spacing: 0.6px;
  color: #8b9383;
}
.stats p {
  color: #6f7867;
  font-size: 10px;
  margin: 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 25px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.section-title h3 {
  margin: 0;
  font-size: 14px;
}
.section-title .eyebrow {
  font-size: 8px;
  margin: 0;
  color: #6d7667;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: #aeb6a5;
  font-size: 10px;
}
.compact {
  font-size: 11px;
  margin: 9px 0 18px;
}
.coverage-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #282d25;
  font-size: 11px;
}
.role-number {
  font: 9px monospace;
  color: #606b56;
}
.coverage-row > span:nth-child(2) {
  width: 96px;
}
.bar {
  flex: 1;
  height: 4px;
  background: #2c3228;
}
.bar-fill {
  height: 4px;
  background: #a3b48c;
}
.role-count {
  font: 10px monospace;
  color: #a9b69a;
}
.checklist {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 24px;
}
.step {
  width: 29px;
  height: 29px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #3e4537;
  font: 10px monospace;
  color: #8a967e;
}
.step.done {
  color: #acbf95;
  background: #293423;
}
.checklist h4 {
  font-size: 12px;
  margin: 0 0 5px;
  font-weight: 500;
}
.checklist p {
  font-size: 10px;
  color: #7e8874;
  margin: 0;
}
.notice {
  padding: 15px;
  background: #22271f;
  border-left: 2px solid #5a684b;
  font: 8px monospace;
  letter-spacing: 1px;
  color: #b7c0ab;
  margin-top: 25px;
}
.notice span {
  display: block;
  letter-spacing: 0;
  font:
    10px/1.7 Arial,
    sans-serif;
  color: #87927c;
  margin-top: 6px;
}
.app-footer {
  padding: 20px 38px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #626b5c;
  font-size: 8px;
}
.app-footer b {
  padding: 0 13px;
  font-weight: 400;
}
.filterbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.filterbar input {
  max-width: 370px;
}
.filterbar .eyebrow {
  margin: 0;
  color: var(--muted);
}
input,
select {
  background: #131612;
  border: 1px solid #353c2f;
  border-radius: 3px;
  color: var(--text);
  padding: 13px;
  width: 100%;
  min-width: 0;
}
input::placeholder {
  color: #737d68;
}
label {
  display: block;
  color: #a5ae9a;
  margin: 20px 0;
  font-size: 9px;
}
label input {
  margin-top: 10px;
  font-family: Arial, sans-serif;
  letter-spacing: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  letter-spacing: 0;
  font-family: Arial, sans-serif;
  font-size: 12px;
}
.check input {
  width: auto;
  margin: 0;
  accent-color: var(--red);
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.member-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 23px;
  min-width: 0;
}
.member-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.rank {
  font-size: 8px;
  letter-spacing: 1px;
}
.member-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.member-card p {
  font-size: 11px;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 28px;
  margin: 20px 0;
}
.tags span {
  background: #30352a;
  color: #c1c9b4;
  padding: 6px 9px;
  font: 9px monospace;
}
.tags .unassigned {
  background: #242720;
  color: #7c876f;
}
.member-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font: 8px monospace;
  color: #6e7a61;
}
.planner-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 13px;
  background: var(--panel);
}
.planner-toolbar select {
  max-width: 270px;
}
.planner-toolbar button {
  white-space: nowrap;
}
.draw-colors {
  display: flex;
  gap: 8px;
  flex: 1;
  margin: 0 10px;
}
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  padding: 0;
  border: 3px solid var(--panel);
}
.swatch.active {
  outline: 1px solid #bbc4b0;
}
.red-swatch {
  background: #d4443e;
}
.sand-swatch {
  background: #e6d9a3;
}
.green-swatch {
  background: #73bba1;
}
.map-stage {
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #191f18;
  background-image:
    linear-gradient(#acb69b08 1px, transparent 1px),
    linear-gradient(90deg, #acb69b08 1px, transparent 1px);
  background-size: 35px 35px;
  border: 1px solid var(--line);
  border-top: 0;
  padding: 20px;
}
.empty {
  text-align: center;
  padding: 50px 24px;
  color: var(--muted);
  margin: auto;
}
.empty h2 {
  color: #bdc6b3;
  font-size: 23px;
  margin: 20px 0 12px;
}
.empty p {
  font-size: 12px;
}
.empty small {
  font-size: 10px;
  line-height: 1.6;
}
.empty-icon {
  font-size: 45px;
  color: #5e6b53;
}
.empty.wide {
  grid-column: 1/-1;
}
.map-caption {
  display: flex;
  justify-content: space-between;
  color: #77866b;
  font-size: 8px;
  margin-top: 14px;
  gap: 12px;
}
#map-canvas {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  touch-action: none;
  cursor: crosshair;
}
.source-notice {
  margin: 0 0 25px;
}
.source-links,
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.source-links {
  margin-top: 14px;
}
.source-stamp {
  color: var(--muted);
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.filterbar select {
  max-width: 200px;
}
.chat-panel {
  border: 1px solid var(--line);
  background: var(--panel);
}
.chat-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header .eyebrow {
  margin: 0;
  font-size: 8px;
  color: var(--muted);
}
#messages {
  height: 480px;
  overflow-y: auto;
  padding: 25px;
}
#chat-form {
  display: flex;
  padding: 20px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.message {
  display: flex;
  gap: 14px;
  margin-bottom: 25px;
}
.message > div {
  min-width: 0;
}
.message-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.message-meta strong {
  font-size: 12px;
}
.message-meta time {
  font: 9px monospace;
  color: #68765c;
}
.message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: #bdc6b2;
  margin: 8px 0 0;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.account-grid .avatar {
  margin-bottom: 20px;
}
.account-grid p {
  font-size: 12px;
}
.account-grid h2 {
  margin-top: 15px;
}
.integration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}
.integration h3 {
  margin-bottom: 8px;
}
.integration p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}
.integration .button {
  font-size: 11px;
  white-space: nowrap;
}
.gate {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.gate-art {
  padding: 45px 55px;
  background: radial-gradient(
    ellipse at 50% 35%,
    #333b2c 0%,
    #181c16 60%,
    #10130f 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  border-right: 1px solid #343d2c;
  position: relative;
}
.gate-art > .eyebrow {
  color: #849276;
  font-size: 9px;
}
.gate-art > img {
  width: 210px;
  max-height: 260px;
  align-self: center;
  margin: 25px 0 40px;
}
.gate-art h1 {
  font-size: 49px;
  line-height: 1.08;
  letter-spacing: -2px;
}
.gate-art p {
  color: #9aa68d;
  font-size: 12px;
}
.gate-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #35412d;
  color: #b1bba5;
  font-size: 8px;
}
.gate-footer span {
  color: #6e7e5e;
}
.gate-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 440px;
  width: 100%;
  padding: 50px 35px;
  margin: auto;
}
.gate-form > .eyebrow {
  color: #8a967e;
  font-size: 9px;
}
.gate-form h2 {
  font-size: 35px;
  margin: 12px 0;
}
.gate-form p {
  font-size: 12px;
}
.gate-form .primary {
  width: 100%;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  padding: 15px;
}
.access-note {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 30px;
  font: 9px monospace;
  color: #a4af97;
  letter-spacing: 1px;
}
.access-note p {
  font:
    11px/1.7 Arial,
    sans-serif;
  color: #717e65;
  margin-top: 12px;
}
.error {
  color: #f58b83;
  min-height: 20px;
}
.loading {
  padding: 60px;
  font: 12px monospace;
  color: #a4af97;
}
dialog {
  background: #1b2018;
  color: var(--text);
  border: 1px solid #424d38;
  border-radius: 4px;
  padding: 35px;
  width: 460px;
  max-width: calc(100vw - 30px);
}
dialog::backdrop {
  background: #060806bd;
  backdrop-filter: blur(4px);
}
dialog .eyebrow {
  color: #8a987b;
}
dialog p {
  font-size: 12px;
}
.close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: none;
  border: 0;
  font-size: 24px;
  padding: 0 5px;
}
.role-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.role-options label {
  margin: 12px 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 10;
  background: #e4e8dd;
  color: #20251b;
  padding: 15px 23px;
  box-shadow: 0 5px 25px #0007;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  font-size: 12px;
  line-height: 1.5;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
  #content {
    padding: 45px 55px;
  }
  .hero {
    min-height: 350px;
  }
  .hero-copy {
    padding: 45px;
  }
  .hero h2 {
    font-size: 52px;
  }
  .hero-art img {
    width: 180px;
  }
  .stats > div {
    padding: 28px;
  }
  .coverage-row {
    padding: 16px 0;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 205px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand {
    gap: 8px;
    font-size: 12px;
  }
  .brand img {
    width: 40px;
  }
  .workspace {
    margin-left: 205px;
  }
  #content {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .connection {
    display: none;
  }
  .stats > div {
    padding: 18px 14px;
  }
  .stats strong {
    gap: 7px;
    font-size: 30px;
  }
  .stats strong small {
    font-size: 7px;
  }
  .overview-grid {
    gap: 18px;
  }
  .panel {
    padding: 20px;
  }
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-copy {
    padding: 30px;
  }
  .hero h2 {
    font-size: 39px;
  }
  .coverage-row {
    gap: 8px;
  }
  .gate-art {
    padding: 40px;
  }
  .gate-art h1 {
    font-size: 42px;
  }
}
@media (max-width: 800px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 14px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    padding: 0;
    font-size: 13px;
  }
  .brand img {
    width: 34px;
  }
  .brand small {
    font-size: 7px;
  }
  .nav-label,
  .sidebar-bottom .network {
    display: none;
  }
  nav {
    display: flex;
    overflow-x: auto;
    margin-top: 15px;
    gap: 5px;
  }
  nav button {
    flex-shrink: 0;
    font-size: 10px;
    padding: 10px;
    gap: 7px;
  }
  .nav-icon {
    font-size: 15px;
    width: auto;
  }
  .sidebar-bottom {
    position: absolute;
    right: 15px;
    top: 8px;
  }
  .profile {
    padding: 8px;
    gap: 8px;
  }
  .profile > span:nth-child(2) {
    font-size: 11px;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 48px;
    font-size: 8px;
  }
  .clock {
    display: none;
  }
  #content {
    padding: 26px 20px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading .primary {
    padding: 11px;
    font-size: 10px;
  }
  .hero {
    min-height: 285px;
  }
  .hero-copy {
    padding: 26px;
  }
  .hero h2 {
    font-size: 35px;
  }
  .hero-art {
    min-width: 130px;
    width: 34%;
  }
  .hero-art img {
    width: 105px;
  }
  .coordinate {
    font-size: 6px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats > div {
    padding: 22px;
  }
  .stats > div:nth-child(2) {
    border-right: 0;
  }
  .stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .overview-grid,
  .account-grid {
    grid-template-columns: 1fr;
  }
  .coverage-row {
    padding: 14px 0;
  }
  .planner-toolbar {
    flex-wrap: wrap;
  }
  .planner-toolbar select {
    max-width: none;
    flex: 1;
    min-width: 180px;
  }
  .draw-colors {
    flex: 0;
  }
  .map-stage {
    min-height: 360px;
    padding: 8px;
  }
  .app-footer {
    padding: 20px;
    font-size: 7px;
  }
  .app-footer > span:last-child {
    display: none;
  }
  .gate {
    grid-template-columns: 1fr;
  }
  .gate-art {
    min-height: 0;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 10px;
  }
  .gate-art > .eyebrow {
    grid-column: 1/-1;
    font-size: 8px;
  }
  .gate-art > img {
    width: 90px;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }
  .gate-art > div:not(.eyebrow):not(.gate-footer) {
    grid-column: 1;
    grid-row: 2;
  }
  .gate-art h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .gate-art p,
  .gate-footer {
    display: none;
  }
  .gate-art .red {
    font-size: 7px;
  }
  .gate-form {
    padding: 35px;
    max-width: 480px;
  }
  .gate-form h2 {
    font-size: 30px;
  }
  .gate-form .access-note {
    margin-top: 10px;
  }
}
@media (max-width: 480px) {
  .hero-art {
    display: none;
  }
  .hero-index {
    font-size: 6px;
  }
  .hero-copy {
    padding: 27px;
  }
  .hero h2 {
    font-size: 37px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .member-grid {
    grid-template-columns: 1fr;
  }
  .filterbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .filterbar input,
  .filterbar select {
    max-width: none;
  }
  .stats > div {
    padding: 17px;
  }
  .stats strong small {
    font-size: 7px;
  }
  .chat-header .eyebrow {
    display: none;
  }
  #messages {
    padding: 18px;
    height: 400px;
  }
  #chat-form {
    padding: 12px;
    gap: 8px;
  }
  .map-caption {
    font-size: 7px;
  }
  .profile > span:nth-child(2) {
    display: none;
  }
  .topbar {
    padding: 0 20px;
  }
  .role-options {
    grid-template-columns: 1fr 1fr;
  }
  .map-stage .empty {
    padding: 35px 12px;
  }
}
