

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:30px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:14px;
  -webkit-font-smoothing:antialiased
}
button,input,select {
  font:inherit
}
a {
  color:inherit;
  text-decoration:none
}
button,a,select {
  -webkit-tap-highlight-color:transparent
}
button,select {
  cursor:pointer
}
button:disabled {
  opacity:.45;
  cursor:not-allowed
}
button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid color-mix(in oklab,var(--accent) 35%,var(--paper));
  outline-offset:4px
}
button {
  color:inherit
}
button,select {
  transition:background .15s,border-color .15s,transform .15s
}
main,footer {
  max-width:1440px;
  margin:auto
}

.text-link {
  font-size:12px;
  border-bottom:1px solid var(--faint);
  padding-bottom:3px
}

.status-dot,.connection-dot,.workspace-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:color-mix(in oklab,var(--accent) 70%,var(--paper))
}
.hero {
  padding:57px var(--gutter) 66px;
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:80px;
  align-items:center
}
.eyebrow {
  font-family:var(--sans);
  font-size:10px;
  letter-spacing:1.8px;
  font-weight:500;
  color:var(--muted);
  margin:0 0 17px;
  display:flex;
  align-items:center;
  gap:10px
}
.tiny-line {
  width:24px;
  height:1px;
  background:var(--faint)
}
h1 {
  font-size:clamp(40px,4.6vw,66px);
  line-height:1.09;
  letter-spacing:-.04em;
  font-weight:500;
  margin:0 0 25px
}
h1 em {
  font-family:var(--sans);font-weight:600;
  color:color-mix(in oklab,var(--accent) 85%,var(--paper))
}
.hero-description {
  max-width:460px;
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  margin:0 0 25px
}
.hero-badges {
  display:flex;
  gap:19px;
  font-size:10px;
  color:var(--muted)
}
.flow-illustration {
  max-width:396px;
  justify-self:end;
  width:100%;
  border:1px solid var(--wash);
  border-radius:8px;
  background:none;
  padding:23px 28px 13px;
  box-shadow:0 15px 55px #243e2310
}
.flow-top {
  display:flex;
  align-items:center;
  gap:12px;
  padding-bottom:20px;
  border-bottom:1px solid var(--wash)
}
.product-symbol {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:9px;
  background:var(--muted);
  color:var(--accent-soft);
  font-size:29px;
  font-family:var(--sans);font-weight:600}
.flow-top strong {
  font-size:12px
}
.flow-top small {
  font-size:10px;
  display:block;
  margin-top:4px;
  color:var(--muted)
}

.flow-track {
  padding-top:7px
}
.flow-step {
  display:flex;
  gap:15px;
  align-items:center;
  position:relative;
  padding:15px 0
}
.flow-step>span {
  font-family:var(--sans);
  font-size:9px;
  border:1px solid var(--line);
  border-radius:50%;
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  color:var(--muted)
}
.flow-step strong {
  font-size:11px;
  font-weight:600
}
.flow-step small {
  font-size:10px;
  color:var(--muted);
  display:block;
  margin-top:5px
}
.flow-step i {
  position:absolute;
  bottom:-8px;
  left:10px;
  color:var(--muted);
  font-size:12px;
  font-style:normal
}
.flow-caption {
  text-align:center;
  margin:13px 0 0;
  padding-top:12px;
  border-top:1px solid var(--wash);
  font-size:8px;
  color:var(--muted)
}
.workspace {
  background:var(--surface);
  margin:0 var(--gutter);
  border:1px solid var(--line);
  border-radius:10px;
  box-shadow:0 16px 35px #1a352208;
  overflow:hidden
}
.workspace-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:27px 28px 20px
}
.workspace-header .eyebrow {
  font-size:9px;
  margin-bottom:8px
}
h2 {
  font-weight:500;
  font-size:26px;
  letter-spacing:-.8px;
  margin:0
}
.workspace-dot {
  width:5px;
  height:5px;
  vertical-align:middle;
  margin-left:10px;
  background:color-mix(in oklab,var(--accent) 50%,var(--paper))
}
.controls {
  display:flex;
  gap:8px;
  align-items:center
}
select {
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:5px;
  background:white;
  padding:10px 28px 10px 11px;
  font-size:11px;
  max-width:100%
}
.button {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  padding:11px 17px;
  font-size:11px;
  border:1px solid transparent;
  border-radius:5px;
  font-weight:500;
  white-space:nowrap
}
.primary {
  background:var(--ink);
  color:var(--surface);
  border-color:var(--ink)
}
.primary:hover:not(:disabled) {
  background:var(--muted)
}
.primary span {
  font-size:10px;
  color:color-mix(in oklab,var(--accent) 10%,var(--paper))
}
.button.secondary {
  background:var(--wash);
  border-color:var(--wash)
}
.button.full {
  width:100%
}
.run-strip {
  padding:10px 28px;
  display:flex;
  justify-content:space-between;
  background:var(--surface);
  border-top:1px solid var(--paper);
  border-bottom:1px solid var(--line);
  font-size:9px;
  color:var(--muted)
}
.connection-dot {
  margin-right:6px;
  width:5px;
  height:5px;
  background:var(--line)
}
.connection-dot.online {
  background:color-mix(in oklab,var(--accent) 65%,var(--paper))
}
.strip-right {
  display:flex;
  align-items:center;
  gap:16px
}
.inline-button {
  border:0;
  padding:0;
  background:none;
  font-size:10px;
  color:var(--muted)
}
.inline-button:hover:not(:disabled) {
  color:var(--muted);
  text-decoration:underline
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:25px 28px
}
.stats>div {
  border-right:1px solid var(--line);
  padding-left:30px
}
.stats>div:first-child {
  padding-left:0
}
.stats>div:last-child {
  border:0
}
.stats span {
  display:block;
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:1px;
  color:var(--muted)
}
.stats strong {
  font-size:30px;
  letter-spacing:-1px;
  font-weight:500;
  display:block;
  margin:8px 0 5px;
  font-variant-numeric:tabular-nums
}
.stats small {
  font-size:9px;
  color:var(--muted)
}
.toolbar {
  display:flex;
  padding:0 28px;
  border-bottom:1px solid var(--line);
  align-items:center;
  justify-content:space-between
}
.tabs {
  display:flex;
  gap:26px
}
.tab {
  border:0;
  border-bottom:2px solid transparent;
  padding:13px 0;
  background:none;
  font-size:11px;
  color:var(--muted)
}
.tab.active {
  border-color:var(--muted);
  color:var(--muted)
}
.tab span {
  font-family:var(--sans);
  font-size:8px;
  margin-left:5px;
  border:1px solid var(--wash);
  padding:2px 4px;
  border-radius:3px
}
.toolbar-actions {
  display:flex;
  gap:20px
}
.empty-state {
  text-align:center;
  padding:49px 20px 44px;
  background-image:none;
  background-size:20px 20px;
  background-position:10px 10px
}
.empty-icon {
  font-size:30px;
  color:color-mix(in oklab,var(--accent) 80%,var(--paper));
  background:var(--paper);
  width:53px;
  height:53px;
  border:1px solid var(--wash);
  border-radius:14px;
  margin:0 auto 23px;
  display:grid;
  place-items:center
}
.empty-state .eyebrow {
  justify-content:center;
  font-size:8px;
  letter-spacing:2px;
  color:var(--muted)
}
.empty-state h3 {
  font-size:24px;
  letter-spacing:-.7px;
  font-weight:500;
  margin:0 0 13px
}
.empty-state p:not(.eyebrow) {
  font-size:12px;
  line-height:1.8;
  color:var(--muted)
}
.empty-rule-row {
  display:flex;
  gap:25px;
  justify-content:center;
  margin:28px 0;
  font-family:var(--sans);
  font-size:9px;
  color:var(--muted)
}
.empty-rule-row b {
  font-family:var(--sans);
  font-weight:400;
  color:var(--muted);
  margin-left:5px
}
.signal-layout {
  display:grid;
  grid-template-columns:205px minmax(0,1fr) 310px;
  min-height:480px
}
.accounts-panel {
  border-right:1px solid var(--line);
  padding:21px 15px;
  background:var(--surface)
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:1.2px;
  color:var(--muted);
  margin:0 8px 15px
}
.account-button {
  text-align:left;
  background:none;
  border:1px solid transparent;
  width:100%;
  padding:13px 10px;
  border-radius:5px;
  margin-bottom:5px;
  display:flex;
  gap:10px;
  align-items:center
}
.account-button:hover {
  background:var(--paper)
}
.account-button.selected {
  background:var(--paper);
  border-color:var(--wash)
}
.avatar {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:29px;
  height:29px;
  background:var(--wash);
  border-radius:7px;
  font-size:10px;
  color:color-mix(in oklab,var(--accent) 80%,var(--paper));
  font-weight:600
}
.account-button strong {
  font-size:10px;
  font-weight:600;
  display:block
}
.account-button small {
  font-size:8px;
  color:var(--muted);
  display:block;
  margin-top:5px
}
.account-button .account-indicator {
  margin-left:auto;
  width:5px;
  height:5px;
  border-radius:50%;
  background:color-mix(in oklab,var(--accent) 65%,var(--paper))
}
.aside-note {
  font-size:9px;
  line-height:1.8;
  color:var(--muted);
  margin:28px 10px
}
.account-main {
  padding:23px 24px;
  min-width:0
}
.account-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.account-heading h3 {
  font-size:20px;
  font-weight:500;
  letter-spacing:-.7px;
  margin:0
}
.badge {
  display:inline-block;
  font-size:8px;
  letter-spacing:.6px;
  border-radius:3px;
  background:var(--paper);
  color:color-mix(in oklab,var(--accent) 80%,var(--paper));
  border:1px solid var(--wash);
  padding:4px 6px;
  white-space:nowrap
}
.badge.orange {
  color:color-mix(in oklab,var(--warn) 85%,var(--paper));
  border-color:var(--wash);
  background:var(--paper)
}
.badge.neutral {
  color:var(--muted);
  background:var(--surface);
  border-color:var(--wash)
}
.account-description {
  font-size:10px;
  line-height:1.6;
  color:var(--muted);
  margin:10px 0 22px
}
.account-metrics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px
}
.account-metrics span {
  display:block;
  color:var(--muted);
  font-size:8px;
  line-height:1.4
}
.account-metrics strong {
  display:block;
  font-weight:500;
  font-size:20px;
  letter-spacing:-.5px;
  margin:7px 0 0
}
.chart-box {
  margin:22px 0;
  border-bottom:1px solid var(--paper);
  padding-bottom:16px
}
.chart-heading {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  color:var(--muted)
}
.chart-legend {
  display:flex;
  gap:10px
}
.chart-legend i {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--wash);
  margin-right:3px;
  border-radius:1px
}
.chart-legend span:last-child i {
  background:color-mix(in oklab,var(--accent) 60%,var(--paper))
}
.token-chart {
  display:block;
  width:100%;
  height:92px;
  margin-top:9px;
  overflow:visible
}
.chart-labels {
  display:flex;
  justify-content:space-between;
  font-family:var(--sans);
  font-size:7px;
  color:var(--muted);
  margin-top:5px
}
.signals-title {
  display:flex;
  justify-content:space-between;
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:1px;
  color:var(--muted);
  margin:0 0 12px
}
.signal-card {
  display:block;
  text-align:left;
  width:100%;
  padding:15px;
  background:white;
  border:1px solid var(--wash);
  border-radius:5px;
  margin:9px 0
}
.signal-card:hover {
  border-color:color-mix(in oklab,var(--accent) 40%,var(--paper))
}
.signal-card.selected {
  border-color:color-mix(in oklab,var(--accent) 50%,var(--paper));
  background:var(--surface)
}
.signal-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.signal-card strong {
  font-size:11px;
  font-weight:500;
  line-height:1.4
}
.signal-card p {
  font-size:10px;
  line-height:1.7;
  color:var(--muted);
  margin:10px 0 0
}
.signal-card-foot {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  color:color-mix(in oklab,var(--accent) 60%,var(--paper));
  margin-top:12px
}
.no-signals {
  padding:20px;
  background:var(--surface);
  border:1px dashed var(--wash);
  border-radius:5px;
  font-size:11px;
  color:var(--muted);
  line-height:1.8
}
.brief-panel {
  background:var(--surface);
  border-left:1px solid var(--line);
  padding:23px 23px 20px;
  min-width:0
}
.brief-label {
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:1.2px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:10px
}
.brief-panel h3 {
  font-size:19px;
  line-height:1.35;
  letter-spacing:-.5px;
  font-weight:500;
  margin:17px 0 23px
}
.brief-section {
  margin-bottom:18px
}
.brief-section h4 {
  font-family:var(--sans);
  font-size:8px;
  font-weight:400;
  letter-spacing:1px;
  color:var(--muted);
  margin:0 0 7px
}
.brief-section p {
  font-size:10px;
  line-height:1.8;
  color:var(--muted);
  margin:0
}
.brief-caveat {
  border-left:2px solid var(--wash);
  padding:0 0 0 10px;
  margin:20px 0;
  font-size:9px;
  color:var(--muted);
  line-height:1.7
}
.evidence {
  border-top:1px solid var(--wash);
  margin-top:20px;
  padding-top:13px
}
.evidence summary {
  font-size:10px;
  color:var(--muted);
  cursor:pointer
}
.evidence ul {
  padding:0;
  list-style:none
}
.evidence li {
  font-size:9px;
  line-height:1.6;
  margin:10px 0;
  color:var(--muted)
}
.evidence li strong {
  font-weight:500;
  color:color-mix(in oklab,var(--accent) 85%,var(--paper))
}
.evidence .inline-button {
  font-size:9px;
  margin-top:5px
}
.threshold {
  font-size:9px;
  line-height:1.7;
  background:var(--paper);
  border-radius:4px;
  padding:10px;
  color:var(--muted);
  margin:12px 0
}
.data-view {
  padding:25px 28px;
  min-height:400px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-bottom:25px
}
.section-heading h3 {
  font-size:20px;
  font-weight:500;
  letter-spacing:-.5px;
  margin:0 0 8px
}
.section-heading p {
  font-size:11px;
  line-height:1.6;
  color:var(--muted);
  margin:0
}
.table-scroll {
  overflow-x:auto
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  white-space:nowrap
}
th {
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:.7px;
  color:var(--muted);
  font-weight:400;
  padding:12px 10px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--surface)
}
td {
  font-size:10px;
  padding:12px 10px;
  border-bottom:1px solid var(--paper);
  color:var(--muted)
}
td small {
  display:block;
  font-size:8px;
  margin-top:4px;
  color:var(--muted)
}
td code {
  font-family:var(--mono);
  font-size:8px
}
.table-note {
  font-size:9px;
  color:var(--muted);
  margin:17px 0
}
.crm-records {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px
}
.crm-card {
  border:1px solid var(--line);
  border-radius:6px;
  padding:19px
}
.crm-card h4 {
  font-size:15px;
  font-weight:500;
  margin:16px 0 12px
}
.crm-card p {
  font-size:10px;
  line-height:1.8;
  color:var(--muted)
}
.crm-meta {
  margin-top:20px;
  padding-top:15px;
  border-top:1px solid var(--line);
  font-size:9px;
  color:var(--muted);
  line-height:1.8
}
.crm-empty {
  grid-column:1/-1;
  padding:70px 20px;
  text-align:center;
  background:var(--surface);
  border-radius:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.8
}
.audit-panel {
  border-top:1px solid var(--line);
  padding:0 28px;
  background:var(--surface)
}
.audit-toggle {
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  background:transparent;
  border:0;
  font-size:9px;
  padding:14px 0;
  color:var(--muted)
}
.audit-panel ol {
  margin:0;
  padding:0 0 16px;
  list-style:none;
  max-height:200px;
  overflow:auto
}
.audit-panel li {
  font-family:var(--sans);
  font-size:8px;
  color:var(--muted);
  line-height:1.8;
  padding:4px 0
}
.audit-panel time {
  color:var(--muted);
  margin-right:13px
}
.method {
  padding:78px var(--gutter) 60px;
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:80px
}
.method-title h2 {
  font-size:32px;
  line-height:1.25;
  letter-spacing:-1px
}
.method-title>p:last-child {
  font-size:12px;
  line-height:1.8;
  color:var(--muted);
  max-width:290px;
  margin-top:20px
}
.method-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:32px 36px
}
.method article span {
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:1.2px;
  color:var(--muted)
}
.method article h3 {
  font-size:13px;
  font-weight:500;
  margin:12px 0
}
.method article p {
  font-size:10px;
  color:var(--muted);
  line-height:1.9;
  margin:0
}
.system-note {
  border-top:1px solid var(--wash);
  border-bottom:1px solid var(--wash);
  margin:0 var(--gutter);
  display:flex;
  align-items:center;
  gap:25px;
  padding:22px 0
}
.system-note>div {
  white-space:nowrap;
  font-size:10px;
  display:flex;
  gap:10px;
  align-items:center
}
.system-note strong {
  font-weight:500
}
.system-note p {
  font-size:9px;
  color:var(--muted);
  line-height:1.9;
  margin:0;
  flex:1
}
.system-note a {
  font-size:9px;
  white-space:nowrap
}
footer {
  display:flex;
  justify-content:space-between;
  padding:27px var(--gutter) 35px;
  font-size:9px;
  color:var(--muted)
}
.footer-separator {
  margin:0 10px;
  color:var(--line)
}
.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  background:var(--ink);
  color:var(--surface);
  padding:15px 24px;
  border-radius:6px;
  font-size:12px;
  box-shadow:0 5px 30px #0002;
  z-index:10;
  max-width:90vw;
  line-height:1.5
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
[hidden] {
  display:none!important
}
#error {
  margin:18px 28px 0;
  padding:12px 16px;
  background:var(--paper);
  color:color-mix(in oklab,var(--warn) 85%,var(--paper));
  border:1px solid var(--line);
  border-radius:4px;
  font-size:12px;
  line-height:1.6
}
.loading {
  animation:pulse 1s infinite
}
@keyframes pulse {
  50% {
    opacity:.55
  }
}
@media(min-width:1500px) {
  body {
    font-size:15px
  }
  .hero {
    padding-top:70px;
    padding-bottom:75px
  }
}
@media(max-width:1100px) {
  
  .hero {
    gap:40px;
    padding:40px var(--gutter) 50px
  }
  .workspace {
    margin:0 var(--gutter)
  }
  .signal-layout {
    grid-template-columns:170px minmax(0,1fr) 270px
  }
  .account-main {
    padding:20px 18px
  }
  .brief-panel {
    padding:20px 18px
  }
  .accounts-panel {
    padding:20px 9px
  }
  .method {
    padding:60px var(--gutter);
    gap:40px
  }
  .system-note {
    margin:0 var(--gutter)
  }
  footer {
    padding-left:var(--gutter);
    padding-right:var(--gutter)
  }
}
@media(max-width:900px) {
  .signal-layout {
    grid-template-columns:160px minmax(0,1fr)
  }
  .brief-panel {
    grid-column:2;
    border-left:0;
    border-top:1px solid var(--line)
  }
  .accounts-panel {
    grid-row:span 2
  }
  .crm-records {
    grid-template-columns:1fr
  }
  .hero {
    gap:30px
  }
  .flow-illustration {
    padding:20px
  }
  .hero-badges {
    gap:10px;
    font-size:9px
  }
  .method {
    grid-template-columns:1fr;
    gap:28px
  }
  .method-title>p:last-child {
    max-width:500px
  }
  .method-grid {
    gap:25px
  }
  .system-note {
    flex-wrap:wrap;
    gap:15px
  }
  .system-note p {
    flex-basis:70%
  }
}
@media(max-width:620px) {
  
  
  
  
  
  
  
  .hero {
    display:block;
    padding:30px var(--gutter) 35px
  }
  .hero .eyebrow {
    font-size:8px
  }
  h1 {
    font-size:46px;
    letter-spacing:-.04em
  }
  .hero-description {
    font-size:13px
  }
  .hero-badges {
    font-size:9px;
    gap:17px
  }
  .flow-illustration {
    max-width:none;
    margin-top:30px;
    padding:18px 22px
  }
  .flow-top {
    padding-bottom:12px
  }
  .flow-track {
    display:flex;
    padding-top:14px;
    gap:10px;
    justify-content:space-between
  }
  .flow-step {
    display:block;
    padding:0;
    flex:1
  }
  .flow-step>span {
    margin-bottom:8px;
    width:20px;
    height:20px;
    font-size:7px
  }
  .flow-step strong {
    font-size:9px
  }
  .flow-step small {
    font-size:8px;
    line-height:1.6
  }
  .flow-step i {
    display:none
  }
  .flow-caption {
    font-size:7px;
    margin-top:15px
  }
  .workspace {
    margin:0 10px;
    border-radius:7px
  }
  .workspace-header {
    padding:21px 17px;
    align-items:flex-start;
    gap:18px
  }
  .workspace-header .eyebrow {
    font-size:7px;
    letter-spacing:1.2px
  }
  h2 {
    font-size:20px
  }
  .controls {
    flex-direction:column;
    align-items:stretch;
    gap:5px
  }
  select {
    font-size:9px;
    padding:8px 22px 8px 8px
  }
  .button {
    font-size:10px;
    padding:10px 14px
  }
  .run-strip {
    padding:9px 17px;
    font-size:8px;
    gap:10px
  }
  .strip-right {
    font-size:0;
    gap:0
  }
  .strip-right .inline-button {
    font-size:8px
  }
  .stats {
    padding:20px 17px;
    grid-template-columns:repeat(2,1fr);
    gap:22px 0
  }
  .stats>div:nth-child(3) {
    padding-left:0
  }
  .stats>div:nth-child(2) {
    border:0
  }
  .stats>div {
    padding-left:20px
  }
  .stats span {
    font-size:7px
  }
  .stats strong {
    font-size:27px
  }
  .stats small {
    font-size:8px
  }
  .toolbar {
    padding:0 17px;
    flex-wrap:wrap;
    gap:0
  }
  .tabs {
    gap:19px;
    flex:1
  }
  .tab {
    font-size:10px;
    padding:13px 0
  }
  .toolbar-actions {
    width:100%;
    justify-content:flex-end;
    padding:9px 0;
    border-top:1px solid var(--paper);
    gap:20px
  }
  .toolbar-actions .inline-button {
    font-size:9px
  }
  .empty-state {
    padding:35px 18px
  }
  .empty-state h3 {
    font-size:20px;
    line-height:1.3
  }
  .empty-state p:not(.eyebrow) {
    font-size:10px
  }
  .empty-rule-row {
    gap:13px;
    font-size:7px;
    flex-wrap:wrap
  }
  .signal-layout {
    display:block
  }
  .accounts-panel {
    padding:12px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .panel-heading,.aside-note {
    display:none
  }
  #accounts {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px
  }
  .account-button {
    padding:8px;
    margin:0
  }
  .account-button strong {
    font-size:9px
  }
  .account-button small {
    font-size:7px
  }
  .avatar {
    width:24px;
    height:24px;
    font-size:8px
  }
  .account-main {
    padding:24px 19px
  }
  .brief-panel {
    padding:24px 23px
  }
  .brief-panel h3 {
    font-size:21px
  }
  .brief-section p {
    font-size:12px
  }
  .brief-section h4 {
    font-size:9px
  }
  .brief-caveat {
    font-size:10px
  }
  .evidence li {
    font-size:11px
  }
  .threshold {
    font-size:10px
  }
  .data-view {
    padding:25px 17px
  }
  .section-heading {
    flex-wrap:wrap
  }
  .section-heading h3 {
    font-size:19px
  }
  .section-heading p {
    font-size:10px
  }
  .method {
    padding:45px var(--gutter);
    gap:25px
  }
  .method-title h2 {
    font-size:28px
  }
  .method-grid {
    gap:25px 22px
  }
  .method article h3 {
    font-size:12px;
    line-height:1.5
  }
  .method article p {
    font-size:10px
  }
  .system-note {
    margin:0 var(--gutter);
    padding:22px 0;
    display:block
  }
  .system-note p {
    margin:15px 0;
    font-size:9px
  }
  .system-note a {
    display:inline-block
  }
  footer {
    padding:25px var(--gutter);
    gap:20px;
    flex-wrap:wrap;
    font-size:8px
  }
  footer span:nth-child(2) {
    order:3;
    width:100%
  }
  .toast {
    bottom:15px;
    padding:12px 18px;
    width:max-content;
    font-size:11px
  }
  .audit-panel {
    padding:0 17px
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important
  }
}
/* Editorial layer: surfaces carry structure, never decoration. */

body {
  font-family:var(--sans)}

.status-dot,.workspace-dot {
  background:var(--muted)
}
.hero {
  padding-top:68px;
  padding-bottom:70px;
  gap:90px;
  grid-template-columns:1.45fr 1fr
}
h1 {
  font-family:var(--sans);font-weight:600;
  font-size:clamp(42px,4.7vw,65px);
  letter-spacing:-.04em;
  line-height:1.07;
  margin-bottom:25px
}
.hero-description {
  color:var(--muted);
  font-size:13px;
  line-height:1.85;
  max-width:445px
}
.hero-footnote {
  font-family:var(--sans);
  font-size:8px;
  letter-spacing:.35px;
  color:var(--muted);
  margin-top:28px
}
.flow-illustration {
  background:none;
  box-shadow:none;
  border:0;
  border-radius:0;
  padding:0;
  max-width:340px
}
.flow-top {
  border-color:var(--line);
  padding:0 0 17px
}
.flow-top strong {
  font-size:12px;
  font-weight:400;
  letter-spacing:.1px
}
.flow-top small {
  font-size:9px;
  color:var(--muted)
}

.flow-step {
  padding:17px 0;
  border-bottom:1px solid var(--wash);
  gap:22px
}
.flow-step>span {
  border:0;
  border-radius:0;
  display:block;
  height:auto;
  width:auto;
  color:var(--muted);
  font-size:9px
}
.flow-step strong {
  font-weight:400;
  font-size:11px
}
.flow-step small {
  font-size:9px;
  color:var(--muted)
}
.flow-step i {
  display:none
}
.flow-caption {
  border:0;
  text-align:left;
  font-family:var(--sans);
  font-size:8px;
  line-height:1.8;
  margin-top:3px;
  color:var(--muted)
}
.workspace {
  border-radius:0;
  box-shadow:none;
  margin:0 var(--gutter);
  background:var(--surface)
}
.workspace-header {
  padding-top:25px;
  padding-bottom:24px
}
.workspace-header h2 {
  font-family:var(--sans);font-weight:600;
  font-size:27px;
  letter-spacing:-.7px
}
.workspace-dot {
  display:none
}
.button,select {
  border-radius:2px
}
.primary {
  background:var(--ink);
  border-color:var(--ink)
}
.primary:hover:not(:disabled) {
  background:var(--muted)
}
.run-strip {
  background:var(--paper)
}
.stats {
  padding-top:24px;
  padding-bottom:25px
}
.stats strong {
  font-family:var(--sans);font-weight:600;
  font-size:33px;
  letter-spacing:-.7px
}
.stats span {
  font-size:8px
}
.tab.active {
  border-color:var(--muted);
  color:var(--muted)
}
.tab span {
  border:0;
  background:none;
  color:var(--muted);
  padding:0;
  font-size:9px
}
.empty-state {
  background:none;
  padding:42px 20px 45px
}
.empty-state h3 {
  font-family:var(--sans);font-weight:600;
  font-size:25px;
  letter-spacing:-.5px
}
.empty-state .eyebrow {
  color:var(--muted)
}
.empty-rule-row {
  font-size:8px
}
.account-button {
  border-radius:1px;
  padding-top:14px;
  padding-bottom:14px;
  gap:12px
}
.account-button.selected {
  background:var(--paper);
  border-color:transparent;
  border-left:2px solid var(--muted);
  padding-left:8px
}
.account-button:hover {
  background:var(--paper)
}
.avatar {
  display:none
}
.account-button strong {
  font-weight:400;
  font-size:11px
}
.account-button small {
  color:var(--muted)
}
.account-button .account-indicator {
  height:3px;
  width:3px;
  background:var(--faint)
}
.accounts-panel {
  background:var(--surface)
}
.account-heading h3 {
  font-family:var(--sans);font-weight:600;
  font-size:23px
}
.badge {
  border:0;
  border-radius:0;
  background:var(--paper);
  color:var(--muted);
  font-family:var(--sans);
  font-size:7px;
  letter-spacing:.3px;
  padding:4px 5px
}
.badge.neutral {
  background:var(--paper);
  border:0;
  color:var(--muted)
}
.badge.orange {
  background:var(--paper);
  border:0;
  color:var(--muted)
}
.account-metrics strong {
  font-size:24px;
  font-family:var(--sans);font-weight:600}
.account-metrics .unit {
  font-size:10px;
  font-family:var(--sans);
  color:var(--muted)
}
.account-description {
  color:var(--muted)
}
.chart-legend i {
  background:var(--line)
}
.chart-legend span:last-child i {
  background:var(--muted)
}
.signal-card {
  border:0;
  border-top:1px solid var(--wash);
  border-bottom:1px solid var(--wash);
  border-radius:0;
  padding:17px 0;
  background:none
}
.signal-card.selected {
  border-color:var(--faint);
  background:none
}
.signal-card:hover {
  border-color:var(--faint)
}
.signal-card strong {
  font-weight:500;
  font-size:11px
}
.signal-card p {
  color:var(--muted)
}
.brief-panel {
  background:var(--paper);
  border-color:var(--wash)
}
.brief-panel h3 {
  font-family:var(--sans);font-weight:600;
  font-size:22px;
  line-height:1.3;
  letter-spacing:-.3px
}
.brief-section p {
  color:var(--muted);
  font-size:11px;
  line-height:1.8
}
.brief-section h4 {
  color:var(--muted)
}
.brief-caveat {
  color:var(--muted);
  font-size:9px
}
.threshold {
  border-radius:0;
  background:var(--wash)
}
.evidence li {
  color:var(--muted)
}
.event-ids summary {
  font-size:8px;
  margin-top:8px
}
.event-ids code {
  font-size:7px;
  overflow-wrap:anywhere;
  display:block;
  margin-top:7px;
  color:var(--muted)
}
.no-signals {
  border:0;
  border-top:1px solid var(--line);
  background:none;
  border-radius:0;
  padding:20px 0;
  color:var(--muted)
}
.method-title h2 {
  font-family:var(--sans);font-weight:600;
  font-size:34px;
  letter-spacing:-.6px
}
.method article h3 {
  font-size:13px;
  font-weight:400
}
.method article p {
  color:var(--muted)
}
.system-note {
  color:var(--muted)
}
.system-note p {
  color:var(--muted)
}
.crm-card {
  border-radius:0;
  border:0;
  border-top:1px solid var(--line);
  padding:20px 0
}
.crm-records {
  gap:30px
}
.crm-card h4 {
  font-family:var(--sans);font-weight:600;
  font-size:21px}
.record-id {
  font-family:var(--sans);
  font-size:8px;
  color:var(--muted)
}
.crm-empty {
  background:none;
  border-radius:0
}
.section-heading h3 {
  font-family:var(--sans);font-weight:600;
  font-size:24px}
.toast {
  border-radius:2px;
  background:var(--muted)
}
.text-link {
  border-color:var(--line)
}
.audit-toggle {
  font-family:var(--sans);
  font-size:8px
}
.loading {
  animation:none;
  opacity:.65
}
@media(max-width:1100px) {
  
  .hero {
    gap:40px
  }
  .account-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:7px
  }
  .account-heading .badge {
    padding-left:0;
    background:none
  }
}
@media(max-width:900px) {
  .brief-panel {
    background:var(--paper)
  }
  .account-heading {
    flex-direction:row
  }
  .account-heading .badge {
    font-size:6px;
    margin-top:7px
  }
}
@media(max-width:620px) {
  
  .hero {
    padding-top:35px;
    padding-bottom:40px
  }
  .hero h1 {
    font-size:46px;
    letter-spacing:-.04em
  }
  .hero-description {
    font-size:12px
  }
  .hero-footnote {
    font-size:7px;
    margin:22px 0 0
  }
  .flow-illustration {
    margin-top:32px;
    max-width:none
  }
  .flow-top {
    padding-bottom:13px
  }
  .flow-top strong {
    font-size:11px
  }
  .flow-track {
    gap:18px
  }
  .flow-step {
    border:0;
    padding:0;
    display:block
  }
  .flow-step>span {
    font-size:7px;
    margin-bottom:8px
  }
  .flow-step strong {
    font-size:9px
  }
  .flow-step small {
    font-size:8px
  }
  .flow-caption {
    border-top:1px solid var(--line);
    padding-top:12px;
    font-size:7px;
    margin-top:15px
  }
  .workspace {
    margin:0 10px
  }
  .workspace-header {
    padding:20px 17px
  }
  .workspace-header h2 {
    font-size:24px
  }
  .stats strong {
    font-size:30px
  }
  .empty-state h3 {
    font-size:23px
  }
  .empty-state {
    padding:35px 18px
  }
  .empty-rule-row {
    font-size:7px;
    gap:11px
  }
  .account-button.selected {
    padding-left:6px
  }
  .account-button {
    padding:10px 8px
  }
  .account-button strong {
    font-size:10px
  }
  .account-button small {
    font-size:8px
  }
  .account-metrics strong {
    font-size:25px
  }
  .brief-panel h3 {
    font-size:26px
  }
  .brief-section p {
    font-size:12px
  }
  .evidence li {
    font-size:11px
  }
  .event-ids code {
    font-size:9px
  }
  .method-title h2 {
    font-size:30px
  }
  .method article h3 {
    font-size:12px
  }
}
/* A quiet interface must still be readable. */
.eyebrow {
  font-size:10px
}
.hero-description {
  font-size:14px
}
.hero-footnote {
  font-size:10px;
  color:var(--muted)
}
.flow-top small,.flow-step small {
  font-size:11px;
  color:var(--muted)
}
.flow-step strong {
  font-size:12px
}
.flow-caption {
  font-size:9px;
  color:var(--muted)
}
.workspace-header .eyebrow {
  font-size:10px
}
.run-strip {
  font-size:10px;
  color:var(--muted)
}
.inline-button {
  font-size:11px;
  color:var(--muted)
}
.button {
  font-size:12px;
  min-height:40px
}
select {
  font-size:12px;
  min-height:40px
}
.stats span {
  font-size:9px;
  color:var(--muted)
}
.stats small {
  font-size:11px;
  color:var(--muted)
}
.tab {
  font-size:12px
}
.tab span {
  font-size:10px
}
.empty-state .eyebrow {
  font-size:10px
}
.empty-state p:not(.eyebrow) {
  font-size:13px;
  color:var(--muted)
}
.empty-rule-row {
  font-size:10px
}
.panel-heading {
  font-size:9px
}
.account-button strong {
  font-size:12px
}
.account-button small {
  font-size:10px;
  color:var(--muted)
}
.aside-note {
  font-size:10px;
  color:var(--muted)
}
.account-description {
  font-size:12px;
  color:var(--muted)
}
.account-metrics span {
  font-size:10px;
  color:var(--muted)
}
.chart-heading {
  font-size:10px;
  color:var(--muted)
}
.chart-labels {
  font-size:9px;
  color:var(--muted)
}
.signals-title {
  font-size:9px
}
.signal-card strong {
  font-size:13px
}
.signal-card p {
  font-size:12px;
  color:var(--muted)
}
.signal-card-foot {
  font-size:10px
}
.badge {
  font-size:8px
}
.brief-label {
  font-size:9px
}
.brief-section h4 {
  font-size:10px;
  color:var(--muted)
}
.brief-section p {
  font-size:12px;
  color:var(--muted)
}
.brief-caveat {
  font-size:10px;
  color:var(--muted)
}
.evidence summary {
  font-size:11px
}
.evidence li {
  font-size:11px
}
.threshold {
  font-size:10px
}
.no-signals {
  font-size:12px;
  color:var(--muted)
}
.section-heading p {
  font-size:12px
}
.table-note {
  font-size:11px
}
td {
  font-size:12px
}
td small,td code {
  font-size:10px
}
th {
  font-size:10px
}
.crm-card p {
  font-size:12px
}
.crm-meta {
  font-size:11px
}
.audit-toggle {
  font-size:10px;
  min-height:44px
}
.audit-panel li {
  font-size:10px
}
.method article span {
  font-size:10px
}
.method article h3 {
  font-size:15px
}
.method article p {
  font-size:12px;
  color:var(--muted)
}
.method-title>p:last-child {
  font-size:13px;
  color:var(--muted)
}
.system-note>div {
  font-size:12px
}
.system-note p,.system-note a {
  font-size:11px;
  color:var(--muted)
}
footer {
  font-size:10px;
  color:var(--muted)
}
.account-heading .badge {
  font-size:8px
}
@media(max-width:620px) {
  .hero .eyebrow {
    font-size:9px
  }
  .hero h1 {
    font-size:43px
  }
  .hero-description {
    font-size:13px
  }
  .hero-footnote {
    font-size:9px;
    line-height:1.8
  }
  .flow-step small {
    font-size:10px
  }
  .flow-step strong {
    font-size:11px
  }
  .flow-caption {
    font-size:9px
  }
  .flow-top small {
    font-size:10px
  }
  .workspace-header .eyebrow {
    font-size:8px
  }
  .run-strip {
    font-size:9px
  }
  .strip-right .inline-button {
    font-size:10px
  }
  .stats span {
    font-size:8px
  }
  .stats small {
    font-size:10px
  }
  .tab {
    font-size:12px
  }
  .toolbar-actions .inline-button {
    font-size:11px;
    min-height:30px
  }
  .button,select {
    font-size:11px;
    min-height:44px
  }
  .account-button {
    min-height:58px
  }
  .account-button strong {
    font-size:12px
  }
  .account-button small {
    font-size:10px
  }
  .account-heading .badge {
    font-size:7px
  }
  .empty-state p:not(.eyebrow) {
    font-size:12px
  }
  .empty-rule-row {
    font-size:9px;
    gap:12px
  }
  .method article h3 {
    font-size:14px
  }
  .method article p {
    font-size:12px
  }
  .method-grid {
    grid-template-columns:1fr;
    gap:25px
  }
  .method-title>p:last-child {
    font-size:13px
  }
  .system-note p,.system-note a {
    font-size:11px
  }
  .brief-section p {
    font-size:13px
  }
  .account-description {
    font-size:12px
  }
}
/* Contrast is structural too: secondary text remains readable. */
.eyebrow,.hero-footnote,.flow-top small,.flow-step small,.flow-caption,.run-strip,.stats span,.stats small,.panel-heading,.account-button small,.aside-note,.account-description,.account-metrics span,.chart-heading,.chart-labels,.signals-title,.signal-card p,.brief-label,.brief-section h4,.brief-caveat,.evidence li,.threshold,.no-signals,.section-heading p,.table-note,td,td small,th,.crm-card p,.crm-meta,.audit-toggle,.audit-panel li,.method article span,.method article p,.method-title>p:last-child,.system-note p,footer,.badge.neutral {
  color:var(--muted)
}
.empty-state .eyebrow,.empty-state p:not(.eyebrow) {
  color:var(--muted)
}
.flow-step>span,.record-id {
  color:var(--muted)
}
.event-ids code {
  color:var(--muted)
}
.badge {
  color:var(--muted)
}
.tab {
  color:var(--muted)
}
.table-scroll {
  max-height: 520px;
  overflow: auto;
}
th {
  position: sticky;
  top: 0;
  z-index: 1;
}
.table-scroll:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .table-scroll {
    max-height: 420px;
  }
}
/* Small-text palette checked against its actual light surface (WCAG AA). */

.hero-description,.flow-step > span,.record-id,.account-metrics .unit,.empty-rule-row b,.audit-panel time {
  color: var(--muted);
}
.signal-card-foot,.brief-section p,.evidence summary {
  color: var(--muted);
}
.evidence li strong {
  color: var(--muted);
}
.badge.orange {
  color: var(--warn);
}
#error {
  color: var(--warn);
}
