.brief-nda-option {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}
.brief-nda-option .brief-nda-option__choice {
  margin: 0;
  padding: 0;
  min-height: 2.75rem;
  align-items: center;
}
.brief-nda-option__choice .brief-consent__text {
  color: #111;
  font-size: 1rem;
  font-weight: 500;
}
.brief-nda-option__hint {
  margin: 0.375rem 0 0.875rem;
  max-width: 52ch;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.6;
}
.brief-nda-option__document {
  border-bottom: 0;
}
.brief-nda-option__document summary {
  min-height: 2.75rem;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.brief-nda-option__document summary:focus-visible {
  outline: 2px solid #bc3230;
  outline-offset: 3px;
}
.brief-nda-option__document h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.brief-nda-option__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3rem;
  align-items: start;
  gap: 1rem;
}
.brief-nda-option__eyebrow {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #666;
}
.brief-nda-option__copy h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}
.brief-nda-option__copy p {
  max-width: 45ch;
  margin: 0.5rem 0 0;
  color: #666;
  font-size: 0.875rem;
  line-height: 1.6;
}
.brief-nda-switch {
  display: grid;
  place-items: center;
  width: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.brief-nda-switch__track {
  display: flex;
  align-items: center;
  width: 2.75rem;
  height: 1.5rem;
  padding: 0.1875rem;
  border: 1px solid #bcbcbc;
  border-radius: 2rem;
  background: #e0e0e0;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}
.brief-nda-switch__track > span {
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
  transition: transform 180ms ease;
}
.brief-nda-switch[aria-checked="true"] .brief-nda-switch__track {
  background: #bc3230;
  border-color: #bc3230;
}
.brief-nda-switch[aria-checked="true"] .brief-nda-switch__track > span {
  transform: translateX(1.125rem);
}
.brief-nda-switch:hover .brief-nda-switch__track {
  border-color: #555;
}
.brief-nda-switch:focus-visible {
  outline: 2px solid #bc3230;
  outline-offset: 2px;
}
.brief-nda-switch:disabled {
  opacity: 0.5;
  cursor: wait;
}
.brief-nda-option .nda-fields {
  margin-top: 1.75rem;
}
.brief-form .brief-nda-option .brief-field__input {
  background: #fff;
}
.brief-required-note {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #666;
}
.nda-fields {
  display: grid;
  min-width: 0;
  gap: 1.5rem;
  margin: 0;
  padding: 1.75rem 0 0;
  border: 0;
  border-top: 1px solid #d8d8d8;
  color: #111;
  animation: nda-reveal 220ms ease-out both;
}
.nda-fields__legend {
  padding: 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
}
.nda-fields__demo {
  margin: 0;
  max-width: 60ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #666;
}
.nda-fields__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.nda-fields__step > span {
  color: #bc3230;
  font-size: 0.875rem;
}
.nda-fields__step h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}
.nda-party {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nda-party button,
.nda-preview-button {
  min-height: 2.75rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  cursor: pointer;
  transition:
    border-color 160ms,
    background-color 160ms;
}
.nda-party button[aria-pressed="true"] {
  background: #faf0f0;
  border-color: #bc3230;
  color: #a52828;
}
.nda-party button:hover,
.nda-preview-button:hover:not(:disabled) {
  border-color: #bc3230;
}
.nda-fields button:focus-visible,
.nda-document summary:focus-visible {
  outline: 2px solid #bc3230;
  outline-offset: 3px;
}
.nda-fields button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.nda-fields__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.nda-document {
  border-block: 1px solid #d8d8d8;
}
.nda-document summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.75rem 0;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.5;
  list-style: none;
}
.nda-document summary::-webkit-details-marker {
  display: none;
}
.nda-document summary > span {
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 160ms;
}
.nda-document[open] summary > span {
  transform: rotate(45deg);
}
.nda-document__body {
  max-height: 24rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  margin: 0 0 1rem;
  background: #fafafa;
  border: 1px solid #e5e5e5;
}
.nda-document__body p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.nda-document__body p:last-child {
  margin-bottom: 0;
}
.nda-signature {
  min-width: 0;
}
.nda-signature__instruction {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.nda-signature__surface {
  position: relative;
  border: 1px solid #aaa;
  background: #fff;
}
.nda-signature__surface::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  left: 1.25rem;
  bottom: 2.25rem;
  border-top: 1px solid #e3e3e3;
  pointer-events: none;
}
.nda-signature canvas {
  display: block;
  width: 100%;
  height: 11rem;
  touch-action: none;
  cursor: crosshair;
}
.nda-signature__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  color: #888;
  font-size: 1.125rem;
}
.nda-signature__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1rem;
  padding-top: 0.5rem;
}
.nda-signature__tools > span {
  flex: 1 1 100%;
  color: #666;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.nda-signature__tools button {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font: inherit;
  font-size: 0.8125rem;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}
.brief-form .nda-fields__accept .brief-consent__text {
  color: #333;
  font-size: 0.875rem;
  line-height: 1.6;
}
.nda-fields .nda-note {
  margin: -0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #666;
}
.nda-fields__preview-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.nda-preview-link {
  font-size: 0.875rem;
  text-underline-offset: 0.25em;
}
.nda-success {
  display: grid;
  gap: 1.25rem;
}
.nda-success p {
  margin: 0;
}
.nda-success .btn {
  justify-self: start;
}
@keyframes nda-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 768px) {
  .nda-fields__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nda-signature__tools > span {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nda-fields {
    animation: none;
  }
}
