:root {
  color-scheme: dark;
  --bg: #000;
  --paper: rgba(255, 255, 255, 0.88);
  --text: rgba(235, 242, 246, 0.9);
  --muted: rgba(178, 190, 198, 0.62);
  --dim: rgba(150, 163, 172, 0.42);
  --line: rgba(212, 232, 240, 0.14);
  --line-strong: rgba(218, 238, 246, 0.28);
  --panel: rgba(9, 13, 16, 0.72);
  --panel-strong: rgba(13, 18, 22, 0.9);
  --cyan: #a9f0ff;
  --green: #9ff4cf;
  --amber: #f4d38f;
  --red: #ff8f9b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --parallax-x: 0px;
  --parallax-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: #000;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  line-height: 1.6;
  font-weight: 300;
}

body[data-view="home"] {
  height: 100vh;
  overflow: hidden;
}

body[data-view="containers"] {
  height: 100vh;
  overflow: hidden;
}

body::before {
  display: none;
}

body::after,
.site-vignette {
  display: none;
}

#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #000;
}

#canvas-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.cursor-orb,
.cursor-spark,
.cursor-ripple {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6;
  pointer-events: none;
}

.cursor-orb {
  display: none;
}

.cursor-trail-canvas {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
}

.cursor-ripple {
  display: none;
}

@keyframes ripplePulse {
  to {
    opacity: 0;
    transform: scale(4.8);
  }
}

.page-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: 0;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: auto;
  max-width: 95%;
  min-height: 38px;
  transform: translateX(-50%);
  animation: navEntranceApple 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navEntranceApple {
  0% {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.brand-mark,
.nav-button,
.route-card,
.small-button {
  font: inherit;
  color: inherit;
}

.brand-mark,
.nav-button,
.route-card {
  border: 0;
  cursor: pointer;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-mark span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  transform-origin: 50% 50%;
}

.brand-mark:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.top-actions {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-wrap: nowrap;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-button,
.small-button {
  min-height: 28px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition:
    background 0.25s ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-button:hover,
.nav-button.active,
.small-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: none;
}

.nav-button.active {
  background: #fff;
  color: #000;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.top-actions .nav-button {
  --pill-circle-size: 72px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 28px;
  min-height: 28px;
  min-width: 58px;
  padding: 0 14px;
  overflow: hidden;
}

.top-actions .nav-button:hover:not(.active) {
  background: transparent;
  color: #fff;
}

.top-actions .nav-button.active,
.top-actions .nav-button.active:hover {
  background: #fff;
  color: #000;
}

.top-actions .nav-button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  z-index: 2;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0.74;
  transform: translateX(-50%);
}

.top-actions .hover-circle {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: var(--pill-circle-size);
  height: var(--pill-circle-size);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 50%) scale(0);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.top-actions .label-stack {
  position: relative;
  z-index: 1;
  display: block;
  height: 18px;
  overflow: hidden;
  line-height: 18px;
  pointer-events: none;
}

.top-actions .pill-label,
.top-actions .pill-label-hover {
  display: block;
  height: 18px;
  line-height: 18px;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform, opacity;
}

.top-actions .pill-label-hover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: #fff;
  opacity: 0;
  text-align: center;
  transform: translateY(18px);
}

.top-actions .nav-button.active .pill-label,
.top-actions .nav-button.active .pill-label-hover {
  color: #000;
}

.top-actions .nav-button.active .hover-circle {
  opacity: 0 !important;
}

.top-actions .nav-button.is-pill-hovered .hover-circle {
  opacity: 1;
  transform: translate(-50%, 50%) scale(1);
}

.top-actions .nav-button.is-pill-hovered .pill-label {
  opacity: 0;
  transform: translateY(-18px);
}

.top-actions .nav-button.is-pill-hovered .pill-label-hover {
  opacity: 1;
  transform: translateY(0);
}

.nav-button.refresh {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(225, 238, 244, 0.12);
}

button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.home-view {
  position: relative;
  display: none;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.home-view.active {
  display: grid;
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  width: 100%;
  max-width: none;
  padding: 84px 24px 30px;
  text-align: center;
  pointer-events: none;
  animation: fadeInUpApple 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.eyebrow,
h1,
h2,
h3,
p {
  margin: 0;
}

.eyebrow {
  color: rgba(205, 224, 232, 0.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1.8rem;
  color: #fff;
  font-size: 3.2rem;
  font-weight: 200;
  line-height: 1.3;
  letter-spacing: 6px;
  white-space: nowrap;
  background: linear-gradient(to bottom, #ffffff 30%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.blur-text-token {
  display: inline-block;
  will-change: transform, filter, opacity;
}

.blur-text-token--pending {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(-32px);
}

.blur-text-token--animate {
  animation: blurTextReveal 0.62s cubic-bezier(0.16, 1, 0.3, 1) var(--blur-word-delay, 0s) both;
}

@keyframes blurTextReveal {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-32px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

h1[data-blur-text] .blur-text-token {
  background: linear-gradient(to bottom, #ffffff 30%, #a1a1a6 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .blur-text-token {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

.text-divider {
  width: 50px;
  height: 1px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.15);
}

.hero-merged-desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.desc-line {
  position: relative;
  padding-left: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 2px;
}

.desc-line::before {
  display: none;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.prism-container {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.prism-container canvas {
  pointer-events: none;
}

.glow-backlight {
  display: none;
}

.immersive-video-container {
  position: relative;
  height: 78vh;
  width: calc(78vh * 9 / 16);
  max-height: 800px;
  max-width: 450px;
  min-height: 500px;
  min-width: 281px;
  margin: 0 auto;
  border-radius: 24px;
  background: transparent;
  transform-style: preserve-3d;
  cursor: pointer;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  animation: scaleInVideo 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleInVideo {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUpApple {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.immersive-video-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: transparent;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 95%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 95%);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.85;
  filter: none;
  transition: opacity 0.5s ease;
}

.immersive-video-container:hover .hero-video {
  opacity: 0.95;
}

.workspace-view {
  display: none;
  width: min(1440px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 110px 0 54px;
}

.workspace-view.active {
  display: block;
}

.view-title,
.logs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.view-title.split {
  align-items: center;
}

h2 {
  margin-top: 6px;
  color: rgba(241, 247, 250, 0.9);
  font-size: 28px;
  font-weight: 400;
}

h3 {
  color: rgba(241, 247, 250, 0.92);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.view-title p,
.logs-header p,
.section-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.status-strip {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric,
.project-row,
.project-column,
.container-card,
.service-item,
.logs-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(8, 11, 14, 0.74);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.metric {
  min-height: 128px;
  padding: 16px;
}

.metric span,
dt {
  color: rgba(190, 205, 212, 0.56);
  font-size: 12px;
}

.metric strong {
  display: block;
  margin: 9px 0 5px;
  color: rgba(246, 251, 253, 0.92);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
}

.metric small {
  color: rgba(190, 205, 212, 0.54);
  line-height: 1.55;
}

.bar {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(192, 245, 255, 0.86), rgba(159, 244, 207, 0.82));
  box-shadow: 0 0 20px rgba(185, 240, 250, 0.4);
  transition: width 180ms ease;
}

.filter-row,
.logs-actions,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

input,
select {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: rgba(241, 247, 250, 0.9);
  padding: 8px 13px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(232, 247, 252, 0.34);
  box-shadow: 0 0 0 3px rgba(200, 235, 245, 0.1);
}

#container-filter {
  width: min(360px, 100%);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(205, 218, 224, 0.6);
  font-size: 13px;
  white-space: nowrap;
}

.check input {
  min-height: auto;
  accent-color: var(--cyan);
}

.container-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: calc(100vh - 226px);
  min-height: 390px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 4px 8px 0;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.container-grid::-webkit-scrollbar {
  width: 6px;
}

.container-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.project-row {
  min-width: 0;
  min-height: 72px;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 148px 66px 74px 74px 74px minmax(360px, 1fr) minmax(206px, 268px);
  align-items: center;
  gap: 12px;
}

.project-row.empty {
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.project-row-head {
  min-width: 0;
  display: block;
}

.project-row h3 {
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-row p {
  margin: 4px 0 0;
  color: rgba(190, 205, 212, 0.56);
  font-size: 12px;
}

.project-row-metrics {
  display: contents;
}

.project-row-metrics div {
  min-width: 0;
  min-height: 48px;
  padding: 6px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  display: grid;
  align-content: center;
}

.project-row-metrics dt {
  color: rgba(190, 205, 212, 0.52);
  font-size: 10px;
}

.project-row-metrics dd {
  margin-top: 2px;
  color: rgba(238, 247, 250, 0.86);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-containers {
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.project-containers::-webkit-scrollbar {
  display: none;
}

.fleet-chip {
  flex: 0 0 206px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  padding: 7px 8px;
}

.fleet-chip-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.fleet-chip strong,
.fleet-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fleet-chip strong {
  color: rgba(241, 247, 250, 0.92);
  font-size: 13px;
  font-weight: 650;
}

.fleet-chip small {
  margin-top: 2px;
  color: rgba(190, 205, 212, 0.54);
  font-size: 11px;
}

.fleet-chip-meta {
  display: flex;
  gap: 8px;
  min-width: 0;
  margin-top: 6px;
  color: rgba(190, 205, 212, 0.58);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
}

.fleet-chip-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fleet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.project-row-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.project-status {
  justify-self: center;
}

.project-row-muted {
  color: rgba(190, 205, 212, 0.44);
  font-size: 12px;
}

.fleet-link {
  min-height: 25px;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(218, 245, 252, 0.82);
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.fleet-link.muted {
  color: rgba(215, 229, 235, 0.62);
}

.container-card {
  min-height: 318px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.container-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.role {
  margin-top: 5px;
  color: rgba(190, 205, 212, 0.56);
  font-size: 13px;
  line-height: 1.45;
  min-height: 36px;
}

.status-pill {
  flex: 0 0 66px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status-pill.ok {
  color: var(--green);
  background: rgba(159, 244, 207, 0.09);
  border-color: rgba(159, 244, 207, 0.24);
}

.status-pill.warn {
  color: var(--amber);
  background: rgba(244, 211, 143, 0.09);
  border-color: rgba(244, 211, 143, 0.24);
}

.status-pill.login {
  color: var(--cyan);
  background: rgba(118, 222, 255, 0.09);
  border-color: rgba(118, 222, 255, 0.24);
}

.status-pill.bad {
  color: var(--red);
  background: rgba(255, 143, 155, 0.09);
  border-color: rgba(255, 143, 155, 0.24);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0;
}

.facts div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  padding: 10px;
}

dd {
  margin: 5px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(241, 247, 250, 0.9);
  font-size: 13px;
  font-weight: 600;
}

.card-actions {
  margin-top: auto;
  justify-content: flex-start;
  min-height: 32px;
}

.small-button {
  min-height: 30px;
  padding: 6px 11px;
  font-size: 12px;
  cursor: pointer;
}

.small-button.muted {
  color: rgba(215, 229, 235, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-item {
  min-height: 78px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.service-item strong,
.service-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-item strong {
  color: rgba(241, 247, 250, 0.9);
}

.service-item small {
  margin-top: 4px;
  color: rgba(190, 205, 212, 0.56);
  font-size: 12px;
}

.service-item a {
  color: rgba(218, 245, 252, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dim);
  box-shadow: 0 0 18px currentColor;
}

.dot.ok {
  background: var(--green);
}

.dot.warn {
  background: var(--amber);
}

.dot.bad {
  background: var(--red);
}

.logs-shell {
  padding: 16px;
}

.logs-header {
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

#log-view {
  min-height: 520px;
  max-height: 70vh;
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    #020304;
  background-size: 100% 28px;
  color: rgba(218, 241, 246, 0.86);
  padding: 14px;
  font-family: "Cascadia Mono", Consolas, Menlo, monospace;
  font-size: 12px;
  line-height: 1.58;
  white-space: pre-wrap;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-row {
    grid-template-columns: 138px 66px 68px 68px 68px minmax(260px, 1fr);
  }

  .project-row-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: 100%;
    padding-top: 0;
  }

  .topbar {
    top: 12px;
    width: calc(100% - 24px);
    max-width: none;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .view-title,
  .logs-header,
  .view-title.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    justify-content: flex-start;
    max-width: calc(100vw - 74px);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .top-actions::-webkit-scrollbar {
    display: none;
  }

  .home-view.active {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .hero-copy {
    padding: 86px 18px 32px;
  }

  h1 {
    margin-bottom: 1rem;
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: 3px;
    white-space: normal;
  }

  .text-divider {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
  }

  .desc-line {
    font-size: 0.98rem;
    letter-spacing: 1px;
  }

  .hero-visual {
    inset: 0;
  }

  .workspace-view {
    width: min(100% - 24px, 1440px);
    padding-top: 100px;
  }

  .status-strip,
  .service-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .container-grid {
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .project-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .project-row-links {
    justify-content: flex-start;
  }

  .filter-row,
  .logs-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .logs-actions select,
  .logs-actions .nav-button {
    flex: 1;
  }
}
