.dialog {
  width: min(560px, calc(100% - 30px));
  border: 1px solid #dce5dc;
  border-radius: 12px;
  padding: 24px;
  color: #29332d;
  box-shadow: 0 20px 80px #17281e44;
}
.dialog::backdrop {
  background: #1d302777;
}
.dialog textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
}
.dialog label.check {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dialog label.check input {
  margin: 0;
}
.term-note {
  white-space: pre-line;
}
.term-chip .term-note {
  display: block;
  color: #66766a;
}
.dialog label {
  display: block;
  font-size: 12px;
  font-weight: 650;
  color: #66766a;
  margin: 14px 0;
}
.dialog label input {
  margin-top: 6px;
}
.formgroup {
  margin: 16px 0;
  font-size: 13px;
}
.input-row {
  display: flex;
  gap: 8px;
  margin: 8px 0;
}
.input-row input {
  flex: 1;
  min-width: 0;
}
.input-row button {
  color: #a34940;
}
.annotation-menu {
  position: fixed;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 220px;
  padding: 6px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 8px 24px #0003;
}
.annotation-menu button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 9px;
}
.annotation-menu button:hover {
  background: #f1f5f9;
}
@media (max-width: 850px) {
  .column-head {
    display: none;
  }
}
