#brief-form [hidden],
#brief-form[hidden] {
  display: none;
}

#brief-fields {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

#brief-case {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  align-items: center;
  font-size: 0.875rem;
}

.brief-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.brief-consent input {
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  margin: 0;
  accent-color: var(--ink);
}

.brief-consent a,
#brief-clear-case,
.brief-secondary {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#brief-clear-case,
.brief-secondary {
  background: transparent;
  border: 0;
  min-height: 2.75rem;
  padding: 0.4rem 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: start;
}

#brief-form .form-status {
  font-size: 0.9375rem;
  line-height: 1.55;
}

#brief-fields:disabled .form-submit {
  opacity: 0.75;
  cursor: progress;
}

#brief-form :user-invalid {
  outline: 2px solid #981e18;
  outline-offset: 2px;
}
