:root {
  --navy: #0a1d37;
  --navy-2: #102b4d;
  --cognac: #c28e5e;
  --cognac-dark: #80552a;
  --vellum: #f9f6f1;
  --paper: #fffdf9;
  --parchment: #e8e2d6;
  --ink: #1b1c1c;
  --muted: #5d626b;
  --green: #2d5a27;
  --red: #9f2f27;
  --shadow: 0 18px 50px rgba(10, 29, 55, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 142, 94, 0.13), transparent 28rem),
    linear-gradient(135deg, rgba(10, 29, 55, 0.05), transparent 35rem),
    var(--vellum);
  font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0b0f10;
}

::-webkit-scrollbar-thumb {
  background: #45464c;
  border-radius: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.serif {
  font-family: "Source Serif 4", Georgia, serif;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 1.18fr) minmax(360px, 0.82fr);
  padding: 24px;
  gap: 0;
}

.login-visual {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 48px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(10, 29, 55, 0.95), rgba(10, 29, 55, 0.58)),
    radial-gradient(circle at 30% 30%, rgba(194, 142, 94, 0.35), transparent 18rem),
    linear-gradient(135deg, #2b1b13, #0a1d37);
  border-radius: var(--radius) 0 0 var(--radius);
}

.leather-texture {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    repeating-linear-gradient(18deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 78% 18%, rgba(194, 142, 94, 0.45), transparent 15rem),
    radial-gradient(circle at 20% 85%, rgba(255, 255, 255, 0.16), transparent 10rem);
}

.login-visual-inner {
  position: relative;
  min-height: 100%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.login-visual h1 {
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.96;
  max-width: 720px;
  margin: 28px 0 22px;
}

.login-visual p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.55;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--cognac);
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.08em;
}

.login-card {
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--parchment);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.login-card form {
  width: min(100%, 420px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cognac-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-card h2,
.view-title h1,
.card h2,
.panel-title {
  margin: 0;
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
}

.login-card h2 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.helper {
  color: var(--muted);
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 8px;
  margin: 22px 0;
}

.field label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--parchment);
  border-radius: 6px;
  background: var(--vellum);
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}

.textarea {
  min-height: 108px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--cognac);
  box-shadow: 0 0 0 3px rgba(194, 142, 94, 0.18);
  background: #fff;
  color: var(--ink);
}

.primary,
.secondary,
.ghost {
  min-height: 42px;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 10px 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 0.15s, background 0.15s, border 0.15s, color 0.15s;
}

.primary {
  background: var(--navy);
  color: #fff;
}

.secondary {
  color: var(--cognac);
  background: transparent;
  border-color: var(--cognac);
}

.ghost {
  background: transparent;
  color: var(--navy);
}

.primary:hover,
.secondary:hover,
.ghost:hover {
  transform: translateY(-1px);
}

.secondary:hover {
  background: rgba(194, 142, 94, 0.09);
}

.login-error {
  min-height: 22px;
  color: var(--red);
  font-weight: 700;
}

.app-shell {
  display: grid;
  grid-template-columns: 286px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.side-head {
  padding: 22px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-head strong {
  display: block;
  color: #fff;
  font-size: 24px;
}

.side-head span {
  color: var(--cognac);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav {
  padding: 16px 0;
  overflow-y: auto;
}

.nav button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  color: inherit;
  text-align: left;
  font-weight: 800;
}

.nav button.active {
  color: var(--cognac);
  background: rgba(255, 255, 255, 0.06);
  border-left-color: var(--cognac);
}

.nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cognac);
  font-size: 12px;
}

.side-footer {
  margin-top: auto;
  padding: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(76, 215, 246, 0.14);
  border: 1px solid rgba(76, 215, 246, 0.20);
  font-size: 12px;
  font-weight: 800;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--cognac);
  box-shadow: 0 0 0 0 rgba(76, 215, 246, 0.5);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(194, 142, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(194, 142, 94, 0);
  }
}

.main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 16px 34px;
  background: rgba(249, 246, 241, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--parchment);
}

.topbar h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 26px;
}

.search {
  width: min(34vw, 380px);
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--navy);
  border-color: transparent;
  outline: none;
}

.content {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 34px;
}

.command-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--parchment);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(76, 215, 246, 0.14), transparent 18rem),
    rgba(11, 17, 32, 0.78);
}

.command-strip h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.strip-metrics {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 10px;
}

.strip-metrics span {
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid var(--parchment);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(16, 20, 21, 0.72);
  font-size: 12px;
}

.strip-metrics strong {
  color: var(--cognac);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

.watchtower {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-left: 1px solid var(--parchment);
  background: rgba(25, 28, 30, 0.96);
}

.watch-head {
  padding: 22px 20px;
  border-bottom: 1px solid var(--parchment);
}

.watch-head h2 {
  margin: 0 0 4px;
  color: var(--cognac);
  font-size: 21px;
}

.watch-head span {
  color: var(--muted);
  font-size: 13px;
}

.watch-feed {
  overflow-y: auto;
}

.watch-feed article {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(51, 65, 85, 0.7);
}

.watch-feed article.hot {
  border-left: 3px solid var(--green);
  background: rgba(16, 185, 129, 0.09);
}

.watch-feed strong {
  color: var(--ink);
  font-size: 14px;
}

.watch-feed time {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.watch-feed p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.watch-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid var(--parchment);
  color: var(--muted);
  font-size: 12px;
}

.watch-foot strong {
  color: var(--cognac);
  font-family: "JetBrains Mono", monospace;
}

.view-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.view-title h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.view-title p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.48;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.two {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--parchment);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.dark-card {
  color: #fff;
  background:
    radial-gradient(circle at 88% 100%, rgba(194, 142, 94, 0.25), transparent 16rem),
    var(--navy);
  border-color: rgba(255, 255, 255, 0.08);
}

.metric {
  display: grid;
  gap: 10px;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric strong {
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.dark-card .metric strong,
.dark-card .metric span {
  color: #fff;
}

.mini-note {
  color: var(--green);
  font-weight: 800;
}

.bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--parchment);
}

.bar i {
  display: block;
  height: 100%;
  width: var(--w, 60%);
  background: linear-gradient(90deg, var(--navy), var(--cognac));
  border-radius: inherit;
}

.agent-feed {
  display: grid;
  gap: 12px;
}

.feed-item,
.agent-row,
.table-row,
.list-row {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--parchment);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.feed-item.new {
  animation: enter 0.45s ease-out;
  border-color: rgba(194, 142, 94, 0.75);
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row-head,
.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(76, 215, 246, 0.12);
  color: var(--cognac-dark);
  font-size: 12px;
  font-weight: 800;
}

.badge.green {
  background: rgba(45, 90, 39, 0.12);
  color: var(--green);
}

.badge.red {
  background: rgba(159, 47, 39, 0.11);
  color: var(--red);
}

.table {
  display: grid;
  gap: 10px;
}

.table-row {
  grid-template-columns: 1.1fr 0.65fr 0.8fr 0.5fr 0.65fr;
  align-items: center;
}

.table-row.header {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  box-shadow: none;
}

.map {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 35%, rgba(194, 142, 94, 0.28), transparent 6rem),
    radial-gradient(circle at 62% 42%, rgba(194, 142, 94, 0.22), transparent 7rem),
    radial-gradient(circle at 80% 56%, rgba(194, 142, 94, 0.18), transparent 6rem),
    #0a1d37;
}

.map::before {
  content: "";
  position: absolute;
  inset: 28px;
  opacity: 0.15;
  background:
    linear-gradient(90deg, #fff 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(#fff 1px, transparent 1px) 0 0 / 44px 44px;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.pin::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--cognac);
  box-shadow: 0 0 0 8px rgba(194, 142, 94, 0.18);
}

.graph {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, rgba(194, 142, 94, 0.18), transparent 14rem),
    linear-gradient(135deg, rgba(10, 29, 55, 0.98), rgba(16, 43, 77, 0.92));
}

.graph svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  min-width: 128px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(6px);
}

.node.core {
  min-width: 178px;
  background: rgba(194, 142, 94, 0.24);
  border-color: rgba(194, 142, 94, 0.7);
}

.timeline,
.kanban {
  display: grid;
  gap: 14px;
}

.kanban {
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  overflow-x: auto;
}

.kanban-col {
  min-height: 280px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(232, 226, 214, 0.42);
}

.kanban-col h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.deal {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--parchment);
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 220px;
  padding-top: 16px;
}

.chart-bars div {
  flex: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 28px;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  color: var(--navy);
  background: linear-gradient(180deg, var(--cognac), rgba(10, 29, 55, 0.58));
  font-size: 12px;
  font-weight: 900;
  padding-bottom: 6px;
}

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

.process-step {
  padding: 15px;
  border: 1px solid var(--parchment);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 14px 36px rgba(10, 29, 55, 0.12);
}

.login-visual .process-step .helper {
  color: var(--muted);
}

.button-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.primary.mini,
.secondary.mini {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: -6px 0 24px;
}

.path-card {
  min-height: 142px;
  padding: 18px;
  text-align: left;
  color: var(--navy);
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid var(--parchment);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(10, 29, 55, 0.05);
}

.path-card span,
.path-card small {
  display: block;
}

.path-card span {
  color: var(--cognac-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.path-card strong {
  display: block;
  margin: 10px 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 20px;
}

.path-card small {
  color: var(--muted);
  line-height: 1.35;
}

.path-card.active {
  border-color: var(--cognac);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(194, 142, 94, 0.14), var(--shadow);
}

.node.hot {
  background: rgba(194, 142, 94, 0.36);
  border-color: rgba(255, 255, 255, 0.46);
  box-shadow: 0 0 0 5px rgba(194, 142, 94, 0.12);
}

.simulation-panel {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid rgba(194, 142, 94, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(194, 142, 94, 0.12), rgba(255, 253, 249, 0.94)),
    #fff;
  box-shadow: 0 18px 46px rgba(10, 29, 55, 0.08);
}

.simulation-panel.compact {
  margin-top: 16px;
  margin-bottom: 0;
}

.simulation-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
}

.simulation-panel ol {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.simulation-panel li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--parchment);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.simulation-panel li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--parchment);
  font-size: 10px;
  font-weight: 900;
}

.simulation-panel li.active {
  color: var(--navy);
  border-color: var(--cognac);
  background: #fff;
}

.simulation-panel li.active span {
  color: #fff;
  background: var(--cognac);
  animation: pulse 1.2s infinite;
}

.simulation-panel li.done {
  color: var(--navy);
}

.simulation-panel li.done span {
  color: #fff;
  background: var(--green);
}

.simulation-output {
  margin-top: 16px;
  padding: 14px;
  border-radius: 7px;
  color: var(--navy);
  background: rgba(45, 90, 39, 0.08);
  border: 1px solid rgba(45, 90, 39, 0.2);
  line-height: 1.5;
}

.scan-line {
  position: relative;
  height: 4px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--parchment);
}

.scan-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--cognac), transparent);
  animation: scan 1.1s linear infinite;
}

@keyframes scan {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(240%);
  }
}

.strategic-plan {
  border-color: rgba(45, 90, 39, 0.26);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  width: min(390px, calc(100vw - 48px));
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  box-shadow: 0 20px 60px rgba(10, 29, 55, 0.22);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.28s, opacity 0.28s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.working {
  border-color: rgba(194, 142, 94, 0.85);
  box-shadow: 0 0 0 3px rgba(194, 142, 94, 0.14);
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 92px 1fr;
  }

  .watchtower {
    display: none;
  }

  .command-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .strip-metrics {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-head strong,
  .side-head span,
  .nav button span:last-child,
  .side-footer .live-chip span:last-child {
    display: none;
  }

  .sidebar {
    align-items: stretch;
  }

  .side-head,
  .side-footer {
    padding-inline: 18px;
  }

  .nav button {
    justify-content: center;
    padding-inline: 14px;
  }

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 860px) {
  .login-shell,
  .app-shell {
    display: block;
  }

  .watchtower {
    display: none;
  }

  .strip-metrics {
    grid-template-columns: 1fr;
  }

  .login-shell {
    padding: 0;
  }

  .login-visual {
    min-height: 46vh;
    border-radius: 0;
  }

  .login-card {
    min-height: auto;
    border-radius: 0;
    border-left: 1px solid var(--parchment);
    padding: 28px;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }

  .nav {
    display: flex;
    overflow-x: auto;
  }

  .nav button {
    width: auto;
    min-width: 170px;
    justify-content: flex-start;
  }

  .nav button span:last-child,
  .side-head strong,
  .side-head span {
    display: inline;
  }

  .side-footer {
    display: none;
  }

  .topbar {
    position: relative;
    flex-wrap: wrap;
    padding: 18px;
  }

  .search {
    width: 100%;
  }

  .content {
    padding: 18px;
  }

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

  .grid.two,
  .grid.three,
  .grid.four,
  .path-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
  }
}
