:root {
  --ink: #111513;
  --ink-2: #27302b;
  --muted: #626d65;
  --muted-2: #8b938b;
  --night: #101915;
  --night-2: #18261f;
  --night-3: #22352a;
  --paper: #faf7ef;
  --paper-2: #f1eee5;
  --surface: #fffdf7;
  --surface-2: #f8f6ee;
  --surface-3: #eef4ec;
  --line: #dedacf;
  --line-strong: #c9c3b6;
  --cream: #fff8e8;
  --mint: #62d89f;
  --mint-soft: #dff8e9;
  --lime: #b9f36e;
  --blue: #6aa8ff;
  --blue-soft: #e5efff;
  --coral: #ff6b5f;
  --coral-soft: #ffe5df;
  --amber: #b9771b;
  --amber-soft: #fff0ce;
  --danger: #b8443f;
  --danger-soft: #fae2dc;
  --focus: #24784e;
  --shadow-xs: 0 1px 2px rgba(17, 21, 19, 0.06);
  --shadow-sm: 0 14px 34px rgba(17, 21, 19, 0.08);
  --shadow-md: 0 26px 80px rgba(17, 21, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(16, 25, 21, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 25, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 36px 36px;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
.toggle-option input:focus-visible + span {
  outline: 3px solid rgba(36, 120, 78, 0.24);
  outline-offset: 2px;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 10px;
  color: var(--cream);
  font-size: clamp(36px, 6vw, 86px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 880;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  line-height: 1.12;
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.product-shell,
.landing-shell {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) minmax(170px, auto);
  align-items: center;
  gap: 22px;
  min-height: 62px;
  border-bottom: 1px solid rgba(17, 21, 19, 0.1);
  background: rgba(250, 247, 239, 0.9);
  padding: 10px 28px;
  backdrop-filter: blur(18px);
}

.brand-lockup,
.powered-by,
.nav-links,
.landing-nav-actions,
.landing-actions {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
}

.nav-links {
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 860;
  text-decoration: none;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(255, 253, 247, 0.72);
  color: var(--ink);
}

.powered-by {
  justify-content: flex-end;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.powered-by img {
  width: 98px;
  height: auto;
}

.ghost-button,
.primary-button,
.secondary-button,
.auth-form button,
.session-card button,
.watch-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 15px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 880;
  text-decoration: none;
}

.ghost-button {
  background: var(--surface);
}

.ghost-button:hover {
  border-color: var(--ink);
}

.primary-button {
  border-color: var(--night);
  background: var(--night);
  color: var(--cream);
}

.primary-button:hover {
  background: #0b110e;
}

.secondary-button {
  background: var(--surface-3);
  color: var(--muted);
  cursor: not-allowed;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.system-label {
  margin-bottom: 8px;
  color: var(--focus);
  font-size: 10px;
  font-weight: 920;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  min-height: calc(100vh - 62px);
}

.workspace {
  min-width: 0;
  width: 100%;
  max-width: 1380px;
  padding: 28px;
}

.console-header {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 248, 232, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(185, 243, 110, 0.16), rgba(106, 168, 255, 0.08)),
    var(--night);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  padding: 26px;
}

.console-header .system-label {
  color: #bdf2ce;
}

.header-copy {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(255, 248, 232, 0.76);
  font-size: 16px;
}

.header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
}

.console-header .ghost-button {
  border-color: rgba(255, 248, 232, 0.24);
  background: rgba(255, 248, 232, 0.08);
  color: var(--cream);
}

.console-header .primary-button {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--night);
}

.radar-strip {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow-xs);
}

.radar-strip-copy {
  padding: 14px 16px;
}

.radar-strip-copy span,
.panel-mini-header span,
.session-card span {
  color: var(--focus);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.radar-strip-copy strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.status-strip article {
  min-height: 88px;
  border-right: 1px solid var(--line);
  padding: 16px;
}

.status-strip article:last-child {
  border-right: 0;
}

.status-strip span,
.metric-subtle {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-strip strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 31px;
  font-weight: 940;
  line-height: 1;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(380px, 0.78fr) minmax(520px, 1fr);
  gap: 16px;
  margin: 16px 0 0;
}

.command-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.create-watch-panel,
.coverage-panel,
.ledger-section,
.people-browser-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: var(--shadow-xs);
}

.create-watch-panel,
.ledger-section,
.people-browser-section {
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 17px 18px;
}

.panel-header h2,
.panel-header .system-label {
  margin-bottom: 0;
}

.state-pill,
#storage-status,
.event-type,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.state-pill,
#storage-status {
  border: 1px solid #bfe8cf;
  background: var(--mint-soft);
  color: #1d6a43;
}

.watch-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.field-grid,
.control-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

label,
fieldset {
  min-width: 0;
}

label span,
legend,
.cadence-control > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 920;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
}

input::placeholder {
  color: #9aa39b;
}

input:focus,
select:focus {
  border-color: var(--focus);
}

.delivery-note {
  min-height: 96px;
  border: 1px solid #cae8d5;
  border-radius: 8px;
  background: #eaf8ee;
  padding: 13px;
}

.delivery-note span {
  display: block;
  margin-bottom: 8px;
  color: #2e704c;
  font-size: 10px;
  font-weight: 920;
  text-transform: uppercase;
}

.delivery-note strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 920;
  line-height: 1.1;
}

.delivery-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

fieldset legend {
  width: 100%;
}

.toggle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-option span {
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  margin: 0;
  padding: 9px 12px;
  background: #ffffff;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}

.toggle-option input:checked + span {
  border-color: var(--night);
  background: var(--night);
  color: var(--cream);
}

.control-note {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.form-status {
  min-height: 20px;
  margin-bottom: 0;
  border-left: 3px solid var(--line-strong);
  padding-left: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  line-height: 1.42;
}

.form-status[data-tone="success"] {
  border-left-color: var(--focus);
  color: var(--focus);
}

.form-status[data-tone="error"] {
  border-left-color: var(--danger);
  color: var(--danger);
}

.watch-form button {
  min-width: 148px;
  border-color: var(--night);
  background: var(--night);
  color: var(--cream);
}

.coverage-panel {
  padding: 17px;
  background: rgba(255, 253, 247, 0.9);
}

.coverage-panel p {
  margin-bottom: 13px;
}

.coverage-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 780;
}

.coverage-list span {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--focus);
}

.people-browser-section {
  scroll-margin-top: 82px;
  margin: 16px 0;
}

.people-browser-section:not([hidden]) {
  border-color: rgba(36, 120, 78, 0.34);
  box-shadow: var(--shadow-sm);
}

.people-browser-header {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(223, 248, 233, 0.86), rgba(255, 253, 247, 0.96)),
    var(--surface);
}

.people-browser-meta {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.people-browser-body {
  padding: 18px;
}

.current-list-panel {
  display: grid;
  gap: 14px;
}

.current-list-panel.is-empty {
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface-2);
}

.current-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.current-list-header strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 930;
}

.current-list-header span {
  margin: 0;
  color: var(--focus);
  font-size: 10px;
  font-weight: 920;
  text-transform: uppercase;
}

.current-list-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.profile-carousel {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0 8px;
  scroll-snap-type: x mandatory;
}

.profile-slide {
  scroll-snap-align: start;
  display: grid;
  flex: 0 0 164px;
  min-height: 190px;
  align-content: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.profile-slide .person-avatar {
  width: 64px;
  height: 64px;
}

.profile-slide strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  font-weight: 920;
}

.profile-slide > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 34px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.profile-slide div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.profile-slide em {
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--focus);
  padding: 4px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 920;
  text-transform: uppercase;
}

.people-browser-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 12px;
}

.people-browser-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.people-load-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.people-progress,
.scan-progress-track {
  width: min(460px, 100%);
  height: 8px;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 999px;
  background: #e1e8e3;
}

.people-progress {
  margin-top: 8px;
}

.people-progress::-webkit-progress-bar,
.scan-progress-track::-webkit-progress-bar {
  border-radius: inherit;
  background: #e1e8e3;
}

.people-progress::-webkit-progress-value,
.scan-progress-track::-webkit-progress-value {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--lime));
  transition: width 180ms ease;
}

.people-progress::-moz-progress-bar,
.scan-progress-track::-moz-progress-bar {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--lime));
}

.people-progress-copy {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.people-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}

.people-skeleton-grid span {
  min-height: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, #edf1ee 0%, #fafbf8 45%, #edf1ee 90%);
  background-size: 220% 100%;
  animation: progressSweep 1.35s ease-in-out infinite;
}

@keyframes progressSweep {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 180% 50%;
  }
}

.scan-compare {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfcf8;
}

.scan-compare-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.scan-compare-header div {
  display: grid;
  gap: 3px;
}

.scan-compare-header span {
  color: var(--focus);
  font-size: 10px;
  font-weight: 920;
  text-transform: uppercase;
}

.scan-compare-header strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 920;
}

.scan-compare-status {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--mint-soft);
  color: var(--focus);
  font-size: 10px;
  font-style: normal;
  font-weight: 920;
  text-transform: uppercase;
  white-space: nowrap;
}

.scan-compare-status.is-failed {
  background: var(--amber-soft);
  color: var(--amber);
}

.scan-compare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scan-compare-card {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px;
  background: var(--surface);
}

.scan-compare-card strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 920;
}

.scan-compare-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.scan-compare-card p {
  line-height: 1.35;
}

.scan-compare-card.is-failed {
  border-left-color: var(--amber);
}

.scan-compare-card.is-running,
.scan-compare-card.is-delta {
  border-left-color: var(--focus);
}

.current-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
  max-height: min(980px, calc(100vh - 160px));
  min-height: 320px;
  margin: 0;
  padding: 0 4px 4px 0;
  overflow: auto;
  list-style: none;
}

.person-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 13px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.person-card:hover {
  border-color: #b8d9c4;
  background: #fbfff8;
}

.person-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--focus);
  font-size: 14px;
  font-weight: 920;
}

.person-avatar span {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
}

.person-avatar img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-avatar img[hidden],
.person-avatar.avatar-fallback-visible img {
  display: none;
}

.person-main {
  min-width: 0;
}

.person-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.person-title-row a {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
  font-weight: 930;
  text-decoration: none;
}

.person-title-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.person-main > span {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-badges {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.person-badges em {
  width: fit-content;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #315f99;
  padding: 3px 7px;
  font-size: 9px;
  font-style: normal;
  font-weight: 920;
  text-transform: uppercase;
}

.person-badges .is-public,
.person-badges .is-verified {
  background: var(--mint-soft);
  color: var(--focus);
}

.person-badges .is-private {
  background: var(--amber-soft);
  color: var(--amber);
}

.person-main dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 13px 0 0;
}

.person-main dl div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 7px;
}

.person-main dt {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 920;
  text-transform: uppercase;
}

.person-main dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 830;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-main p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.ledger-section {
  min-width: 0;
}

.ledger-table {
  padding: 0 14px 12px;
}

.ledger-row,
.timeline li {
  display: grid;
  grid-template-columns: 58px minmax(96px, 0.85fr) minmax(96px, 0.72fr) minmax(170px, 1.35fr) 104px;
  gap: 8px;
  align-items: center;
}

.ledger-head {
  position: sticky;
  top: 62px;
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.96);
  padding: 12px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 920;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  min-height: 64px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline li:hover {
  background: rgba(223, 248, 233, 0.3);
}

.event-time,
.event-detail,
.event-observed,
.status-pill {
  font-size: 11px;
}

.event-time,
.event-detail {
  color: var(--muted);
}

.event-account,
.event-observed {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 850;
}

.event-profile {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.event-profile .person-avatar {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

.event-profile-copy {
  min-width: 0;
}

.event-profile-copy strong,
.event-profile-copy em {
  display: block;
  min-width: 0;
}

.event-profile-copy strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 12px;
  font-weight: 920;
}

.event-profile-copy em {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-pill {
  overflow: hidden;
  background: var(--surface-3);
  color: var(--muted);
  text-overflow: ellipsis;
}

.event-type.followed {
  background: var(--mint-soft);
  color: var(--focus);
}

.event-type.unfollowed {
  background: var(--amber-soft);
  color: var(--amber);
}

.event-type.ready {
  background: var(--surface-3);
  color: var(--muted);
}

.event-type {
  width: fit-content;
}

.inspector-panel {
  position: sticky;
  top: 62px;
  align-self: start;
  min-height: calc(100vh - 62px);
  border-left: 1px solid rgba(17, 21, 19, 0.14);
  background:
    linear-gradient(180deg, rgba(185, 243, 110, 0.06), rgba(106, 168, 255, 0.04)),
    var(--night);
  color: #ffffff;
  padding: 24px;
}

.inspector-panel .system-label {
  color: #bdf2ce;
}

.inspector-panel h2 {
  color: #ffffff;
}

.inspector-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.inspector-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
}

.inspector-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.inspector-status span {
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 860;
}

.auth-panel {
  scroll-margin-top: 92px;
  display: grid;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.auth-panel.is-highlighted {
  animation: auth-panel-pulse 1.4s ease;
}

@keyframes auth-panel-pulse {
  0% {
    border-color: var(--cream);
    box-shadow: 0 0 0 0 rgba(247, 244, 236, 0.5);
  }
  45% {
    border-color: var(--cream);
    box-shadow: 0 0 0 6px rgba(247, 244, 236, 0.16);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 0 0 0 rgba(247, 244, 236, 0);
  }
}

.panel-mini-header {
  display: grid;
  gap: 4px;
}

.panel-mini-header strong,
.session-card strong {
  color: #ffffff;
  font-size: 15px;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label span {
  color: rgba(255, 255, 255, 0.78);
}

.auth-form input {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.auth-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.auth-form button,
.session-card button {
  width: 100%;
  border-color: var(--cream);
  background: var(--cream);
  color: var(--night);
}

.auth-message {
  min-height: 19px;
  margin-bottom: 0;
  font-size: 12px;
}

.auth-message[data-tone="success"] {
  color: #a8d7bd;
}

.auth-message[data-tone="warning"] {
  color: #e8bd68;
}

.auth-message[data-tone="error"] {
  color: #ffb2aa;
}

.session-card {
  display: grid;
  gap: 8px;
}

.watch-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.watch-list li.watch-item,
.watch-list > li {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.055);
}

.watch-card-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.watch-list strong {
  display: block;
  overflow-wrap: anywhere;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
}

.watch-list span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
}

.watch-list small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  line-height: 1.35;
}

.watch-open-note {
  margin: 0;
  border-left: 3px solid #a8d7bd;
  padding-left: 10px;
  color: rgba(247, 244, 236, 0.68);
  font-size: 12px;
  font-weight: 780;
}

.watch-actions {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.scan-button,
.edge-button {
  flex: 0 0 auto;
  min-width: 72px;
  border: 1px solid rgba(247, 244, 236, 0.26);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(247, 244, 236, 0.1);
  color: #f7f4ec;
  font-size: 11px;
  font-weight: 900;
}

.scan-button:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--night);
}

.edge-button {
  background: rgba(255, 255, 255, 0.055);
  color: rgba(247, 244, 236, 0.78);
}

.edge-button:hover {
  border-color: rgba(247, 244, 236, 0.64);
  color: #ffffff;
}

.scan-button:disabled,
.edge-button:disabled {
  cursor: progress;
  opacity: 0.62;
}

.scan-progress {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(168, 215, 189, 0.24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(168, 215, 189, 0.08);
}

.scan-progress-header,
.scan-progress-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.scan-progress-header strong,
.scan-progress-stats strong {
  color: #d9f0e2;
  font-size: 12px;
  font-weight: 900;
}

.scan-progress-header span,
.scan-progress-stats span {
  margin: 0;
  color: rgba(247, 244, 236, 0.62);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.scan-progress-stats {
  border-radius: 6px;
  padding: 7px 9px;
  background: rgba(247, 244, 236, 0.08);
}

.scan-progress p {
  margin: 0;
  color: rgba(247, 244, 236, 0.64);
  font-size: 12px;
  line-height: 1.35;
}

.powered-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  margin-top: 16px;
  padding: 14px;
  background: rgba(255, 248, 232, 0.95);
}

.powered-card span {
  display: block;
  margin-bottom: 8px;
  color: #6f766f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.powered-card img {
  width: 118px;
  height: auto;
}

.powered-card p {
  margin: 12px 0 0;
  color: #59615b;
  font-size: 12px;
}

.fine-print {
  margin: 16px 0 0;
  border-left: 3px solid #e8bd68;
  padding-left: 12px;
  font-size: 12px;
}

.fine-print a {
  color: var(--cream);
  font-weight: 820;
  text-underline-offset: 3px;
}

.landing-page {
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(16, 25, 21, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 25, 21, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
}

.landing-nav {
  background: rgba(250, 247, 239, 0.93);
}

.landing-nav-actions,
.landing-actions {
  gap: 10px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.84fr);
  gap: 42px;
  align-items: center;
  width: min(1320px, calc(100vw - 64px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 70px 0 64px;
}

.radar-hero {
  position: relative;
}

.landing-hero-copy {
  min-width: 0;
}

.landing-hero h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(46px, 6.7vw, 88px);
  letter-spacing: 0;
  text-wrap: balance;
  word-break: normal;
}

.landing-lede {
  max-width: 760px;
  margin-bottom: 26px;
  color: #4f5b54;
  font-size: 20px;
}

.landing-powered {
  margin-top: 28px;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 690px;
  margin-top: 22px;
}

.hero-proof-grid a {
  display: grid;
  gap: 6px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
  padding: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hero-proof-grid a:hover {
  border-color: var(--focus);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.hero-proof-grid span {
  color: var(--focus);
  font-size: 11px;
  font-weight: 920;
  text-transform: uppercase;
}

.hero-proof-grid strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 0.94;
}

.hero-proof-grid em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.profile-signal-board {
  display: grid;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(255, 248, 232, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(98, 216, 159, 0.14), rgba(106, 168, 255, 0.07)),
    var(--night);
  box-shadow: var(--shadow-md);
  padding: 16px;
}

.signal-board-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--cream);
}

.signal-board-topbar span,
.signal-board-topbar em {
  color: rgba(255, 248, 232, 0.64);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.signal-board-topbar strong {
  overflow-wrap: anywhere;
}

.signal-board-feed {
  display: grid;
  gap: 10px;
}

.feed-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 248, 232, 0.12);
  border-radius: 8px;
  background: rgba(255, 248, 232, 0.08);
  padding: 12px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.feed-card.featured {
  background: rgba(98, 216, 159, 0.14);
}

.feed-card:hover {
  border-color: rgba(255, 248, 232, 0.36);
  background: rgba(255, 248, 232, 0.12);
  transform: translateX(3px);
}

.profile-photo {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 248, 232, 0.24);
  border-radius: 999px;
  background: var(--surface-3);
  object-fit: cover;
}

.feed-card span {
  color: #bdf2ce;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.feed-card strong {
  display: block;
  margin-top: 3px;
  color: var(--cream);
  font-size: 18px;
  font-weight: 920;
}

.feed-card p {
  margin: 3px 0 0;
  color: rgba(255, 248, 232, 0.66);
  font-size: 12px;
}

.mini-profile-strip {
  display: flex;
  gap: 8px;
  padding-top: 2px;
}

.mini-profile-strip img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 248, 232, 0.22);
  border-radius: 999px;
  object-fit: cover;
}

.board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.board-footer a {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 248, 232, 0.2);
  border-radius: 8px;
  color: var(--cream);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.board-footer a:hover {
  border-color: rgba(255, 248, 232, 0.44);
  background: rgba(255, 248, 232, 0.08);
}

.signal-carousel-section,
.landing-section,
.landing-band {
  width: min(1320px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-heading h2,
.landing-band h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 0.98;
}

.signal-carousel,
.app-signal-carousel {
  min-width: 0;
  overflow: hidden;
}

.signal-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: radarMarquee 34s linear infinite;
}

.app-signal-carousel .signal-track {
  animation-duration: 26s;
}

.signal-track article,
.signal-track a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  flex: 0 0 226px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.signal-track a:hover {
  border-color: var(--focus);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.app-signal-carousel .signal-track article {
  background: rgba(255, 253, 247, 0.94);
}

.signal-track article > span,
.signal-track article > img.profile-photo,
.signal-track a > img.profile-photo,
.signal-track .person-avatar {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-color: var(--line);
}

.signal-track article > img.profile-photo,
.signal-track a > img.profile-photo {
  border-color: var(--line-strong);
}

.signal-card-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.signal-track strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 920;
}

.signal-card-copy span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-track em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-card.is-followed em {
  color: var(--focus);
}

.signal-card.is-unfollowed em {
  color: var(--amber);
}

.signal-track.is-empty {
  width: 100%;
  animation: none;
}

.signal-track.is-empty article {
  width: 100%;
  flex-basis: 360px;
}

.credits-section {
  padding-top: 10px;
}

.credit-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.credit-grid article,
.credit-pack-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}

.credit-grid article {
  min-height: 174px;
  padding: 20px;
}

.credit-grid span,
.credit-pack-row span {
  display: block;
  margin-bottom: 14px;
  color: var(--focus);
  font-size: 12px;
  font-weight: 920;
  letter-spacing: 0;
  text-transform: uppercase;
}

.credit-grid strong {
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.credit-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.credit-math-card {
  background: var(--night) !important;
}

.credit-math-card span,
.credit-math-card strong {
  color: var(--cream);
}

.credit-math-card p {
  color: rgba(255, 248, 232, 0.72);
}

.credit-pack-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 18px 20px;
}

.credit-pack-row span {
  margin-bottom: 0;
}

.credit-pack-row strong {
  color: var(--ink);
  font-size: 16px;
}

@keyframes radarMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-feature-grid article {
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.landing-feature-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--focus);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 920;
}

.landing-feature-grid h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.landing-feature-grid p {
  margin-bottom: 0;
}

.landing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #edf3ef;
}

.landing-band > div {
  max-width: 790px;
}

.landing-band p {
  margin-bottom: 0;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .signal-track,
  .people-skeleton-grid span {
    animation: none;
  }
}

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

  .inspector-panel {
    position: static;
    min-height: auto;
    border-top: 1px solid rgba(17, 21, 19, 0.14);
    border-left: 0;
  }
}

@media (max-width: 1120px) {
  .workbench,
  .landing-hero {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
  }

  .profile-signal-board {
    max-width: 680px;
  }

  .hero-proof-grid {
    max-width: none;
  }

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

@media (max-width: 900px) {
  .top-nav {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-links,
  .powered-by {
    justify-content: flex-start;
  }

  .nav-links {
    overflow-x: auto;
  }

  .workspace,
  .inspector-panel {
    padding: 18px;
  }

  .console-header,
  .header-actions,
  .form-footer,
  .people-browser-header,
  .people-browser-toolbar,
  .landing-nav-actions,
  .landing-actions,
  .landing-band,
  .watch-card-top,
  .watch-actions,
  .radar-strip {
    display: grid;
  }

  .header-actions,
  .people-load-actions,
  .watch-actions {
    width: 100%;
  }

  .ghost-button,
  .primary-button,
  .secondary-button,
  .watch-form button {
    width: 100%;
  }

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

  .status-strip article {
    border-bottom: 1px solid var(--line);
  }

  .status-strip article:nth-child(2n) {
    border-right: 0;
  }

  .status-strip article:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .field-grid,
  .control-grid,
  .coverage-list,
  .credit-grid,
  .credit-pack-row,
  .hero-proof-grid,
  .landing-feature-grid,
  .people-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .ledger-head {
    display: none;
  }

  .ledger-row,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline li {
    gap: 7px;
  }

  .timeline li > span::before {
    display: block;
    margin-bottom: 2px;
    color: var(--muted-2);
    font-size: 10px;
    font-weight: 920;
    text-transform: uppercase;
  }

  .timeline li .event-time::before {
    content: "Time";
  }

  .timeline li .event-account::before {
    content: "Watched account";
  }

  .timeline li .event-type::before {
    content: "Change";
  }

  .timeline li .event-observed::before {
    content: "Observed account";
  }

  .timeline li .status-pill::before {
    content: "Status";
  }
}

@media (max-width: 560px) {
  .workspace,
  .inspector-panel,
  .top-nav {
    padding-right: 14px;
    padding-left: 14px;
  }

  .console-header,
  .status-strip,
  .workbench,
  .people-browser-section {
    width: calc(100vw - 28px);
  }

  .landing-hero,
  .signal-carousel-section,
  .landing-section,
  .landing-band {
    width: calc(100vw - 28px);
    padding-right: 18px;
    padding-left: 18px;
  }

  .status-strip,
  .current-list,
  .person-main dl {
    grid-template-columns: 1fr;
  }

  .status-strip article {
    border-right: 0;
  }

  .console-header {
    padding: 20px 16px;
  }

  .header-copy {
    font-size: 14px;
  }

  .person-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .person-avatar {
    width: 46px;
    height: 46px;
  }

  .profile-slide {
    flex-basis: 148px;
  }

  .person-title-row,
  .current-list-header {
    display: grid;
  }

  .person-badges {
    justify-content: flex-start;
  }
}
