/* Verbatim from signals/signal_generator.html — the canonical tool stylesheet. */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: auto;
}

.page {
  padding: 22px 24px 100px;
}


/* Controls */
.controls {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 36px;
  font-size: 16px;
}

.ctrl-box {
  border: 1.5px solid #000;
  font-family: inherit;
  font-size: 16px;
  color: #000;
  background: #fff;
  padding: 6px 10px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.thing-search {
  position: relative;
}

.thing-search input {
  width: 100px;
  border: 1.5px solid #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  background: #fff;
  outline: none;
  padding: 6px 10px;
}
.thing-search input::placeholder { color: #a9a9a9; }

.thing-search .suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1.5px solid #000;
  border-top: none;
  z-index: 20;
}
.thing-search .suggestions.open { display: block; }
.thing-search .suggestions div {
  padding: 6px 10px;
  cursor: pointer;
  font-size: 14px;
}
.thing-search .suggestions div:hover {
  background: #000;
  color: #fff;
}

.scene-select {
  border: 1.5px solid #000;
  font-family: inherit;
  font-size: 16px;
  color: #000;
  background: #fff;
  padding: 6px 10px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}


.search-btn {
  border: 1.5px solid #000;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 6px 18px;
  cursor: pointer;
}
.search-btn:hover { background: #333; }

.log-btn {
  border: 1.5px solid #000;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 6px 18px;
  cursor: pointer;
  margin-top: 12px;
}
.log-btn:hover { background: #000; color: #fff; }
.log-btn:disabled { background: #a9a9a9; color: #fff; border-color: #a9a9a9; cursor: default; }

/* Signal */
.signal {
  margin-bottom: 80px;
  max-width: 720px;
}


/* Prose — the work. Bigger, bolder than body. */
.signal-prose {
  margin-bottom: 6px;
}
.signal-prose {
  font-weight: 700;
  line-height: normal;
  color: #000;
}
.signal-prose .prose-line {
  /* inline so lines flow as continuous prose */
}

.pool-tag {
  font-size: 9px;
  font-weight: 400;
  color: #a9a9a9;
  margin-left: 3px;
  margin-right: 2px;
  vertical-align: super;
  letter-spacing: 0.02em;
}

/* Data grid */
.signal-data {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid #000;
  border-left: 1.5px solid #000;
}

.data-cell {
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  padding: 8px;
}

.data-cell-label {
  font-size: 16px;
  font-weight: 700;
  color: #a9a9a9;
  letter-spacing: 0;
  margin-bottom: 2px;
  cursor: help;
  position: relative;
}

.data-cell-label .tip {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 4px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 8px 12px;
  line-height: normal;
  width: 300px;
  z-index: 10;
  pointer-events: none;
  text-transform: none;
  letter-spacing: 0;
}
.data-cell-label:hover .tip { display: block; }

.data-cell-value {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  line-height: normal;
}

.data-cell-full {
  grid-column: 1 / -1;
}

.log-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.log-row .data-cell {
  border-left: none;
}
.log-row .data-cell:first-child {
  border-left: none;
}

.csw {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px 0 1px;
  vertical-align: middle;
  border: 1.5px solid #000;
}



.intro {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.5;
  color: #a9a9a9;
}

.empty-state {
  color: #000;
  font-size: 16px;
  margin-top: 50px;
}

/* trait dropdown format — from site pages/Detail.css (the Thing detail page) */
.trait-data { display: grid; grid-template-columns: 1fr; border-top: 1.5px solid #000; border-left: 1.5px solid #000; margin-top: 8px; max-width: 560px; }
.trait-data-cell { border-right: 1.5px solid #000; border-bottom: 1.5px solid #000; padding: 6px 8px; grid-column: 1 / -1; }
.trait-data-cell-label { font-size: 14.4px; font-weight: 700; color: #a9a9a9; margin-bottom: 1px; }
.trait-data-cell-value { font-size: 14.4px; font-weight: 400; color: #000; line-height: 1.5; }
.trait-link { color: #000; text-decoration: none; }
.trait-link:hover { color: #b52524; }
