:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-accent: #10131a;
  --panel: rgba(12, 14, 20, 0.88);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f5f8;
  --muted: #a9b2bd;
  --accent: #ff1a1a;
  --accent-strong: #ff3b3b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

::selection {
  background: rgba(255, 26, 26, 0.34);
  color: #fff;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(
      circle at top,
      rgba(255, 26, 26, 0.24),
      transparent 34%
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.05),
      transparent 18%
    ),
    linear-gradient(180deg, var(--bg), var(--bg-accent));
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
  opacity: 0.12;
}

.confidence-box,
.ip-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-wrap: wrap;
  flex-wrap: wrap;
}
.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 440px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.shell-wide {
  align-items: start;
}

.admin-panel {
  width: min(100%, 1240px);
  position: relative;
  overflow: hidden;
}

.admin-panel,
.signal-panel,
.metric-card,
.profile-card,
.log-entry,
.earth-inspector,
.entry-field {
  backdrop-filter: blur(14px);
}

.earth-panel {
  margin-bottom: 18px;
}

.earth-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.earth-viewport {
  min-height: 72vh;
  height: 74vh;
  max-height: 76vh;
  overflow: hidden;
  scrollbar-gutter: stable both-edges;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: radial-gradient(
      circle at top left,
      rgba(255, 26, 26, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, rgba(5, 9, 14, 0.98), rgba(3, 6, 10, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  scrollbar-color: rgba(255, 26, 26, 0.55) rgba(255, 255, 255, 0.04);
}

.earth-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}

.earth-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.blip-layer-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.earth-blip-svg {
  outline: none;
}

.earth-blip-svg.is-selected circle:last-of-type {
  filter: drop-shadow(0 0 10px #ff8a8a);
}

.earth-viewport.is-dragging {
  cursor: grabbing;
}

.earth-viewport:not(.is-dragging) {
  cursor: grab;
}

.earth-inspector {
  min-height: 72vh;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: auto;
}

.earth-inspector-card {
  display: grid;
  gap: 12px;
}

.earth-kicker {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.earth-inspector h3 {
  margin: 0;
  font-size: 1.4rem;
}

.earth-coords {
  margin: 0;
  color: var(--muted);
}

.earth-meta,
.earth-stats,
.earth-range {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.earth-stats {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 12px;
  margin: auto;
}

.earth-stats div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.earth-stats strong,
.earth-paths span strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
}

.earth-stats span,
.earth-paths span,
.earth-range span {
  color: var(--muted);
  font-size: 0.88rem;
}

.earth-traits {
  margin: 0;
  line-height: 1.5;
}

.earth-paths {
  display: grid;
  gap: 8px;
}

.ip-dossier-title {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ip-link,
.ip-clear-button {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-strong);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.ip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ip-link:hover,
.ip-link:focus-visible,
.ip-clear-button:hover,
.ip-clear-button:focus-visible {
  color: #ffd0d0;
  text-decoration: underline;
  outline: none;
}

.ip-link-large {
  font-size: 1rem;
  font-weight: 700;
}

.ip-clear-button {
  margin-top: 4px;
  padding: 0;
  color: var(--muted);
}

.ip-records {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

/* Below-map IP dossier container */
.ip-dossier-container {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0.21)
  );
  max-height: 40vh;
  overflow: auto;
}

.ip-dossier-card {
  display: grid;
  gap: 10px;
}

.ip-dossier-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  align-items: center;
}

.ip-open-modal {
  appearance: none;
  border: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--accent-strong);
  cursor: pointer;
}

/* Modal styles for IP dossier */
.ip-dossier-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ip-dossier-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.ip-dossier-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1000px, 96%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 12px;
  padding: 18px;
  background: rgba(6, 8, 14, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.ip-dossier-modal-header {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ip-modal-close {
  position: absolute;
  right: 10px;
  top: 8px;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.ip-record-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.earth-paths span {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.earth-empty {
  margin: 0;
  color: var(--muted);
}


.dashboard-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.78;
  filter: saturate(1.15) contrast(1.08);
}

#dashboard-root {
  position: relative;
  z-index: 1;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: radial-gradient(
      circle at top right,
      rgba(255, 26, 26, 0.18),
      transparent 32%
    ),
    rgba(255, 255, 255, 0.03);
}

.live-chip {
  margin-left: auto;
  color: #eaf9f4 !important;
  background: rgba(94, 243, 192, 0.12) !important;
  border-color: rgba(94, 243, 192, 0.2) !important;
}

.timestamp,
.timestamp-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  font-variant-numeric: tabular-nums;
}

.timestamp-inline {
  color: var(--text);
}

.log-entry-heading .timestamp-inline,
.profile-range .timestamp-inline,
.entry-field .timestamp-inline {
  color: var(--muted);
}

.dashboard-hero-copy {
  max-width: 740px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.dashboard-hero .lede {
  margin-bottom: 14px;
  max-width: 68ch;
}

.signal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-inline span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.dashboard-controls {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}

.dashboard-controls .inline-label {
  min-width: 0;
}

.dashboard-controls select {
  width: 180px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}

.dashboard-actions button {
  margin-top: 0;
}

.admin-header form {
  display: flex;
  gap: 12px;
  align-items: end;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(255, 255, 255, 0.02);
  min-width: 0;
}

.metric-card::after {
  content: '';
  position: absolute;
  inset: auto -30% -65% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 26, 26, 0.2), transparent 70%);
  pointer-events: none;
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.metric-value {
  display: block;
  font-size: 1.95rem;
  line-height: 1;
}

.metric-detail {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.inline-label {
  display: grid;
  gap: 8px;
  color: #d6dbe2;
  font-size: 0.95rem;
}

.inline-label input {
  width: 120px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.profile-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-wrap: wrap;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(255, 255, 255, 0.02);
  min-width: 0;
}

.profile-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.profile-top > div,
.profile-meta,
.profile-range,
.profile-paths span,
.signal-list li,
.bar-row-head,
.log-entry-heading,
.log-entry-subtitle,
.earth-meta,
.earth-stats div,
.earth-range span {
  min-width: 0;
}

.profile-ip {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.profile-card h3 {
  margin: 0;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.profile-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 26, 26, 0.12);
  color: #ffd0d0;
  border: 1px solid rgba(255, 26, 26, 0.18);
  font-size: 0.82rem;
  white-space: nowrap;
}

.profile-meta,
.profile-range {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 10px;
  min-width: 0;
}

.profile-traits {
  margin: 12px 0 0;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profile-paths {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.profile-paths span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.84rem;
  flex-wrap: wrap;
  min-width: 0;
}

.profile-paths strong {
  color: var(--text);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.signal-panel {
  grid-column: span 6;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.signal-panel-wide {
  grid-column: span 12;
  margin-bottom: 14px;
}

.signal-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 14px;
}

.signal-panel-header h2 {
  margin: 0;
  font-size: 1.05rem;
  text-wrap: balance;
}

.signal-panel-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  min-width: 0;
}

.signal-list li:last-child {
  border-bottom: 0;
}

.signal-list li span,
.signal-list li strong {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.signal-list li span {
  color: var(--text);
}

.signal-list li strong {
  color: var(--muted);
  font-weight: 600;
  text-align: right;
}

.empty-row {
  color: var(--muted);
  justify-content: flex-start !important;
}

.bar-series {
  display: grid;
  gap: 14px;
}

.bar-row-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.bar-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 26, 26, 0.9),
    rgba(255, 59, 59, 0.5)
  );
  box-shadow: 0 0 24px rgba(255, 26, 26, 0.28);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.timeline-bar {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.timeline-hour {
  color: var(--muted);
  font-size: 0.68rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 38px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.timeline-track {
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: end;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  overflow: hidden;
}

.timeline-track span {
  display: block;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 26, 26, 0.95),
    rgba(255, 59, 59, 0.35)
  );
  box-shadow: 0 0 18px rgba(255, 26, 26, 0.3);
}

.timeline-bar strong {
  font-size: 0.82rem;
  color: var(--text);
}

.signal-panel-wide#timeline-panel,
.signal-panel-wide#profile-panel,
.signal-panel-wide#feed-panel {
  position: relative;
  z-index: 1;
}

.log-list {
  display: grid;
  gap: 12px;
}

.log-entry {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  overflow: clip;
}

.log-entry[open] {
  background: rgba(255, 255, 255, 0.04);
}

.log-entry-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}

.log-entry-summary::-webkit-details-marker {
  display: none;
}

.log-entry-heading,
.log-entry-subtitle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  min-width: 0;
}

.log-entry-heading strong {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.log-entry-heading strong::before {
  content: '•';
  color: var(--accent-strong);
  margin-right: 8px;
}

.log-entry-heading span,
.log-entry-subtitle span {
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.log-entry-body {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.entry-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.entry-field {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.28), rgba(5, 6, 8, 0.18));
}

.entry-field dt {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.entry-field dd {
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.45;
  min-width: 0;
}

.empty-state {
  margin: 0;
  padding: 18px 20px;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.empty-state.compact {
  padding: 12px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

.brand img {
  width: 32px;
  height: 32px;
  display: block;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.lede {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.lede.compact {
  margin-bottom: 16px;
}

.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 26, 26, 0.32);
  border-radius: 14px;
  background: rgba(255, 26, 26, 0.08);
  color: #ffd7d7;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: #d6dbe2;
}

input,
button {
  font: inherit;
  border-radius: 14px;
}

input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

input:focus {
  border-color: rgba(255, 26, 26, 0.65);
  box-shadow: 0 0 0 4px rgba(255, 26, 26, 0.16);
}

button {
  margin-top: 8px;
  padding: 14px 16px;
  border: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

.footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.location-panel {
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.location-panel h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.location-status {
  margin: 0 0 16px;
  color: #d6dbe2;
}

@media (max-width: 480px) {
  .panel {
    padding: 24px;
    border-radius: 20px;
  }

  .earth-layout {
    grid-template-columns: 1fr;
  }

  .earth-viewport,
  .earth-inspector {
    min-height: 52vh;
    max-height: none;
  }

  .earth-stage {
    width: 1800px;
    height: 900px;
  }

  .dashboard-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-header {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-header form {
    width: 100%;
    justify-content: stretch;
  }

  .inline-label input {
    width: 100%;
  }

  .log-entry-summary,
  .log-entry-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .entry-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    grid-column: span 1;
  }

  .timeline-hour {
    writing-mode: horizontal-tb;
    transform: none;
    height: auto;
  }

  .timeline-track {
    min-height: 54px;
  }

  .earth-stats,
  .profile-meta,
  .profile-range,
  .profile-paths span,
  .bar-row-head,
  .signal-list li,
  .dashboard-hero,
  .signal-panel-header {
    flex-direction: column;
    align-items: start;
  }

  .profile-badge {
    align-self: flex-start;
  }

  .profile-meta,
  .profile-range,
  .profile-paths span,
  .bar-row-head,
  .signal-list li,
  .dashboard-hero,
  .signal-panel-header {
    flex-direction: column;
    align-items: start;
  }

  .profile-badge {
    align-self: flex-start;
  }
}
