/* ==========================================================================
   Archigramm — shadcn-first UI Theme & Design System
   Living System Map (Squinch Golden Reference + Multi-Projection Viewer)
   ========================================================================== */

:root {
  --background: 224 71% 4%;
  --foreground: 213 31% 91%;
  --card: 224 71% 7%;
  --card-foreground: 213 31% 91%;
  --popover: 224 71% 6%;
  --popover-foreground: 213 31% 91%;
  --primary: 217.2 91.2% 59.8%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 222.2 47.4% 12%;
  --secondary-foreground: 210 40% 98%;
  --muted: 223 47% 11%;
  --muted-foreground: 215.4 16.3% 60%;
  --accent: 216 34% 16%;
  --accent-foreground: 210 40% 98%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;
  --border: 216 34% 18%;
  --input: 216 34% 18%;
  --ring: 224.3 76.3% 48%;
  --radius: 0.5rem;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html.light {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 221.2 83.2% 53.3%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 50% 0%, hsl(224, 71%, 9%) 0%, hsl(var(--background)) 55%);
  overflow: hidden;
}

/* Proof Banner: Visible URL and run_id for Desktop and Mobile proofs */
.proof-banner {
  height: 24px;
  background: #020617;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: hsl(var(--muted-foreground));
  z-index: 50;
  flex-shrink: 0;
}
.proof-banner .proof-title {
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.03em;
}
.proof-banner .proof-url {
  color: #34d399;
  font-weight: 600;
}
.proof-banner .proof-run {
  color: #38bdf8;
  font-weight: 600;
}
.proof-banner .proof-proof {
  color: #fbbf24;
  font-weight: 600;
}

/* Header */
header {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 40;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 210px;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
}

/* Nav tabs - shadcn segmented control */
nav.view-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius);
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  gap: 2px;
}

nav.view-tabs button {
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: calc(var(--radius) - 2px);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

nav.view-tabs button:hover {
  color: hsl(var(--foreground));
}

nav.view-tabs button.active {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 210px;
  justify-content: flex-end;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
}

.btn-icon:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
  border-color: hsl(var(--ring));
}

.btn-sm {
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-sm:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--ring));
}

/* Main Workspace */
main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.canvas-surface {
  position: absolute;
  inset: 0;
}

iframe.squinch-embed {
  width: 100%;
  height: 100%;
  border: 0;
  background: hsl(var(--background));
}

/* Search bar / Command palette trigger */
.search-container {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 30;
  width: min(380px, calc(100vw - 40px));
}

.search-input-box {
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s ease;
}

.search-input-box:focus-within {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary));
}

.search-icon {
  color: hsl(var(--muted-foreground));
  font-size: 13px;
}

.search-input-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 13px;
}

.search-input-box input::placeholder {
  color: hsl(var(--muted-foreground));
}

.kbd-shortcut {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.search-dropdown {
  margin-top: 6px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  padding: 6px;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: calc(var(--radius) - 2px);
  border: 0;
  background: transparent;
  color: hsl(var(--foreground));
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease;
}

.search-result-item:hover {
  background: hsl(var(--accent));
}

.search-result-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-label {
  font-size: 12px;
  font-weight: 500;
}

.search-result-id {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.badge-system {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.3);
}

.badge-node {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}

.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-running {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

/* Quick View Hops pill bar */
.view-hops-bar {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 25;
}

.view-hops-label {
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  margin-right: 4px;
}

.view-hop-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-hop-btn:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--border));
}

/* Inspector Side Panel */
aside.inspector-panel {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 360px;
  max-height: calc(100% - 36px);
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  padding: 18px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: slideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.inspector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.inspector-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inspector-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-close {
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-close:hover {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.inspector-desc {
  font-size: 12px;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.5);
  overflow: hidden;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 11px;
}

.meta-row:last-child {
  border-bottom: 0;
}

.meta-key {
  color: hsl(var(--muted-foreground));
}

.meta-val {
  font-weight: 500;
  font-family: var(--font-mono);
  color: hsl(var(--foreground));
  text-align: right;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repo-card {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--accent) / 0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.repo-card-title {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.repo-link {
  color: hsl(var(--primary));
  font-size: 11px;
  text-decoration: none;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.repo-link:hover {
  text-decoration: underline;
}

/* Review Comments Section */
.comments-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comments-title {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
}

.comment-item {
  padding: 8px 10px;
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--muted));
  border: 1px solid hsl(var(--border));
  font-size: 11px;
  line-height: 1.4;
}

.comment-input-row {
  display: flex;
  gap: 6px;
}

.comment-input-row input {
  flex: 1;
  height: 32px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: inherit;
  font-size: 12px;
  padding: 0 10px;
}

.comment-input-row button {
  height: 32px;
  padding: 0 12px;
  border-radius: calc(var(--radius) - 2px);
  border: 0;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  cursor: pointer;
}

/* Network View */
.network-surface {
  position: absolute;
  inset: 0;
}

.network-surface canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Flow View */
.flow-surface {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  overflow-x: auto;
}

.flow-container {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: max-content;
}

.flow-card {
  width: 210px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.flow-card:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--primary));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.flow-step-num {
  font-size: 10px;
  font-weight: 700;
  color: hsl(var(--primary));
  letter-spacing: 0.05em;
}

.flow-step-title {
  font-size: 13px;
  font-weight: 600;
}

.flow-step-desc {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.flow-arrow {
  color: hsl(var(--muted-foreground));
  font-size: 20px;
  opacity: 0.6;
}

/* Hans View */
.hans-surface {
  height: 100%;
  padding: 80px 24px 60px;
  overflow-y: auto;
}

.hans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.hans-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hans-card:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--ring));
}

.hans-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hans-card-title {
  font-size: 13px;
  font-weight: 600;
}

.hans-card-id {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
}

/* 3D View */
.three-surface {
  position: absolute;
  inset: 0;
}

.three-surface canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.three-hint {
  position: absolute;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 9999px;
  background: hsl(var(--card) / 0.85);
  border: 1px solid hsl(var(--border));
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  backdrop-filter: blur(10px);
  z-index: 20;
}

/* Footer */
footer {
  height: 32px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  z-index: 40;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-right a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Split View (Vision vs Golden Reference Nebeneinander)
   ========================================================================== */
.split-surface {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: hsl(var(--border));
  gap: 1px;
}

.split-col {
  background: hsl(var(--background));
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.split-col-header {
  height: 40px;
  background: hsl(var(--card) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  flex-shrink: 0;
  z-index: 10;
}

.split-col-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.split-col-body {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background: radial-gradient(circle at 50% 50%, hsl(224 71% 7% / 0.4) 0%, hsl(var(--background)) 70%);
}

.vision-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 4px;
  overflow-x: auto;
}

.vision-filter-chip {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.vision-filter-chip:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary));
}
.vision-filter-chip.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  border-color: hsl(var(--primary));
}

.vision-grid {
  padding: 14px 16px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.vision-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.vision-card:hover {
  border-color: hsl(var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.18);
}
.vision-card.selected {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1.5px hsl(var(--primary)), 0 8px 24px rgba(56, 189, 248, 0.25);
}

.vision-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.vision-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.vision-card-desc {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}
.vision-child-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
  border-top: 1px solid hsl(var(--border) / 0.6);
  padding-top: 8px;
}
.vision-pill {
  font-size: 10px;
  background: hsl(var(--secondary));
  color: #e2e8f0;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.12s ease;
  white-space: nowrap;
}
.vision-pill:hover {
  background: hsl(var(--accent));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}
.vision-pill.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: hsl(var(--primary));
  color: #ffffff;
  font-weight: 600;
}

/* Mobile Responsiveness (<=640px, e.g. 390px iPhone) */
@media (max-width: 640px) {
  .proof-banner {
    font-size: 9px;
    padding: 0 8px;
  }
  .proof-banner .proof-title,
  .proof-banner .proof-proof {
    display: none;
  }

  header {
    height: 50px;
    padding: 0 10px;
  }

  .brand-subtitle {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  nav.view-tabs {
    overflow-x: auto;
    padding: 2px;
    max-width: calc(100vw - 120px);
    -webkit-overflow-scrolling: touch;
  }

  nav.view-tabs button {
    padding: 5px 10px;
    font-size: 11px;
  }

  .header-actions {
    min-width: auto;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .search-container {
    left: 10px;
    top: 12px;
    width: calc(100vw - 20px);
  }

  .split-surface {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  aside.inspector-panel {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 40px;
    width: auto;
    max-height: 52%;
    border-radius: var(--radius);
    padding: 14px;
  }

  .view-hops-bar {
    display: none;
  }

  .flow-surface {
    justify-content: flex-start;
    padding: 70px 16px;
  }

  .flow-card {
    width: 170px;
    padding: 12px;
  }

  .hans-surface {
    padding: 70px 12px;
  }

  .hans-grid {
    grid-template-columns: 1fr;
  }

  footer {
    font-size: 10px;
    padding: 0 10px;
  }

  .footer-metrics {
    display: none;
  }
}
