.tag.important {
  background: #fff0c7;
  color: #8a5900;
  font-weight: 700;
}

.tag.linked {
  background: #e6f2ff;
  color: #245f91;
  font-weight: 700;
}

.history-entry {
  margin-top: 10px;
}

.continuity-note {
  background: #eaf4ff;
  color: #315f86;
}

.carry-state {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff4df;
  color: #805c13;
  font-size: 13px;
  font-weight: 650;
}

.carry-state.linked-state {
  background: #e8f5ef;
  color: #176b50;
}

.field-help {
  color: #68768a;
  font-size: 12px;
  line-height: 1.45;
}

.attention-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  margin: 12px 0 18px;
  border: 1px solid #e5c876;
  border-radius: 12px;
  background: #fff9e8;
  cursor: pointer;
}

.attention-check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #b67600;
}

.attention-check span {
  display: grid;
  gap: 4px;
}

.attention-check strong {
  font-size: 14px;
}

.attention-check small {
  color: #766440;
  line-height: 1.45;
}

.focus-note {
  background: #eef4fa;
  color: #38536f;
}

.staff-grid {
  display: grid;
  gap: 10px;
}

.staff-view {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.staff-view span {
  display: grid;
  gap: 5px;
}

.staff-view small,
.staff-note {
  color: #6f7c8e;
}

.staff-view b {
  color: #15796e;
  white-space: nowrap;
  font-size: 13px;
}

.staff-dialog .section {
  margin-bottom: 24px;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.dialog-actions .btn.primary {
  flex: 1;
}

@media (min-width: 700px) {
  .staff-grid {
    grid-template-columns: 1fr 1fr;
  }
}
