@charset "UTF-8";
/* ---------- COLORS  ---------- */
/* Brand primary: black (replaces former blue #1864F2). */
/* ---------- FONTS  ---------- */
/* Linked-documents panel + "Link documents" modal.
   Loaded from index.html — Blazor .razor.css isolation is not included in this app.
   Cards follow core boxes: sharp corners, $border-color (same as tags / search filter card). */
.document-links {
  margin-top: 1.5rem;
}
.document-links__rule {
  border: 0;
  border-top: 1px solid #aaa;
  margin: 0 0 0.75rem;
}
.document-links__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.document-links__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.document-links__card {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 1px solid #DADEE5;
  border-radius: 0;
  background: #FFFFFF;
  padding: 0;
  color: #1B1B1E;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.document-links__card:hover {
  border-color: #1B1B1E;
  background: #F8F9FC;
}
.document-links__card.is-linked {
  background: #F8F9FC;
}
.document-links__card-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 10px 12px 12px;
}
.document-links__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #1B1B1E;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document-links__name:hover {
  text-decoration: underline;
}
.document-links__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #70777D;
}
.document-links__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #F8F9FC;
  border-radius: 0;
  background: #F8F9FC;
  color: #1B1B1E;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.16em;
}
.document-links__date {
  font-weight: 500;
}
.document-links__unlink {
  flex: none;
  align-self: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  padding: 0;
  border: 1px solid #1B1B1E;
  border-radius: 0;
  background: #FFFFFF;
  color: #1B1B1E;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.document-links__unlink:hover, .document-links__unlink:focus-visible {
  background: #6c757d;
  border-color: #6c757d;
  color: #FFFFFF;
}
.document-links__unlink.is-linked:hover, .document-links__unlink.is-linked:focus-visible {
  color: #E2224D;
  background: #FCF0F0;
  border-color: #E2224D;
}
.document-links__unlink:disabled {
  opacity: 0.5;
  cursor: default;
}
.document-links__unlink:hover, .document-links__unlink:focus-visible {
  color: #E2224D;
  background: #FCF0F0;
  border-color: #E2224D;
}

.modal-wrap--document-link {
  align-items: center;
  padding: 1.5rem 1rem;
}

.document-link-modal.modal {
  max-width: 36rem;
  width: calc(100% - 2rem);
  height: auto !important;
}
.document-link-modal .modal__content {
  padding-bottom: 0.5rem;
}
.document-link-modal .heading-h3 {
  margin-bottom: 0.75rem;
  padding-right: 1.75rem;
}
.document-link-modal__search, .document-link-modal__types, .document-link-modal__actions {
  margin-bottom: 0.75rem;
}
.document-link-modal__type-checks {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
}
.document-link-modal__type-checks .form-check {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  margin-bottom: 0;
  padding: 2px 0;
  box-sizing: border-box;
}
.document-link-modal__type-checks .form-check-input {
  width: 1.05em;
  height: 1.05em;
  min-width: 1.05em;
  min-height: 1.05em;
  max-width: 1.05em;
  max-height: 1.05em;
  margin: 0;
  margin-top: 0;
  margin-left: 0;
  margin-inline-end: 0.35rem;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  float: none;
  position: static;
}
.document-link-modal__type-checks .form-check-label {
  display: inline;
  width: auto;
  padding: 2px 0;
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 14px;
  color: #1B1B1E;
}
.document-link-modal__results {
  min-height: 6rem;
  max-height: 20rem;
  overflow-y: auto;
}
.document-link-modal__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.document-link-modal__card {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  border: 1px solid #DADEE5;
  border-radius: 0;
  background: #FFFFFF;
  padding: 0;
  color: #1B1B1E;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.document-link-modal__card:hover {
  border-color: #1B1B1E;
  background: #F8F9FC;
}
.document-link-modal__card.is-linked {
  background: #F8F9FC;
}
.document-link-modal__card-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 10px 12px 12px;
}
.document-link-modal__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #1B1B1E;
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.document-link-modal__name:hover {
  text-decoration: underline;
}
.document-link-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #70777D;
}
.document-link-modal__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #F8F9FC;
  border-radius: 0;
  background: #F8F9FC;
  color: #1B1B1E;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.16em;
}
.document-link-modal__date {
  font-weight: 500;
}
.document-link-modal__toggle {
  flex: none;
  align-self: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  padding: 0;
  border: 1px solid #1B1B1E;
  border-radius: 0;
  background: #FFFFFF;
  color: #1B1B1E;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
.document-link-modal__toggle:hover, .document-link-modal__toggle:focus-visible {
  background: #6c757d;
  border-color: #6c757d;
  color: #FFFFFF;
}
.document-link-modal__toggle.is-linked:hover, .document-link-modal__toggle.is-linked:focus-visible {
  color: #E2224D;
  background: #FCF0F0;
  border-color: #E2224D;
}
.document-link-modal__toggle:disabled {
  opacity: 0.5;
  cursor: default;
}

/*# sourceMappingURL=document-links.css.map */
