.td-list-empty[hidden] { display: none !important; }

.technical-library-page,
.technical-library-page button,
.technical-library-page input,
.technical-library-page select,
.technical-library-page code,
.technical-library-page h1,
.technical-library-page h2,
.technical-library-page h3,
.technical-library-page p,
.technical-library-page span,
.technical-library-page strong,
.technical-library-page small,
.technical-library-page dt,
.technical-library-page dd {
  font-family: "Sora", sans-serif !important;
}

.td-search-field input {
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: -.01em;
}

.td-select span {
  font-size: 10px !important;
  line-height: 1.3;
}

.td-select select {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.td-clear {
  font-size: 10px !important;
}

/* Search + live admin taxonomies: Categories, Solutions and Document Types. */
.td-search-bar {
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(145px, .55fr)) auto;
}

.td-select { min-width: 0; }
.td-select select {
  width: 100%;
  min-height: 34px;
  padding: 4px 30px 4px 0;
  border: 0 !important;
  border-radius: 0;
  background-color: #fff !important;
  color: #111 !important;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

.td-select select:hover,
.td-select select:focus {
  color: #000 !important;
  outline: none;
}

.td-select select option {
  padding: 10px 12px;
  background: #fff !important;
  color: #111 !important;
  font-size: 13px;
  font-weight: 500;
}

.td-select:focus-within {
  background: #f8f6f2;
}

.td-solution-tabs button {
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .075em !important;
}

.td-panel-head h2 {
  font-size: 11px !important;
  font-weight: 700 !important;
}

.td-panel-head span {
  font-size: 10px !important;
  font-weight: 500 !important;
}

.td-result {
  padding: 28px 24px !important;
}

.td-result code,
.td-document-detail code,
.td-document-visual span {
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: .1em !important;
}

.td-result strong {
  margin: 12px 0 10px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: -.025em;
  line-height: 1.4;
}

.td-result small {
  color: #606368;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55;
}

.td-result.is-selected strong,
.td-result.is-selected small {
  color: #fff !important;
}

.td-preview-document {
  display: grid;
  min-height: calc(100% - 58px);
  padding: 52px;
  grid-template-columns: minmax(220px, .72fr) minmax(300px, 1.28fr);
  align-items: center;
  gap: 52px;
}

.td-document-visual {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #d7d4ce;
  background: #fff;
  box-shadow: 18px 22px 0 rgba(214, 180, 149, .3);
}

.td-document-visual::before,
.td-document-visual::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 50%;
  content: "";
}

.td-document-visual::after {
  right: -20px;
  bottom: -160px;
}

.td-document-visual span {
  position: relative;
  z-index: 1;
  font: 600 10px/1.4 monospace;
  letter-spacing: .1em;
}

.td-document-visual i {
  width: 44px;
  height: 2px;
  margin-top: 32px;
  background: #d6b495;
}

.td-document-visual b {
  position: relative;
  z-index: 1;
  max-width: 220px;
  margin-top: auto;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.td-document-detail code {
  color: #606368;
  font-size: 10px;
  letter-spacing: .12em;
}

.td-document-detail h3 {
  margin: 20px 0 12px;
  color: #000;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500 !important;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.td-document-detail > p {
  margin: 0 0 32px;
  color: #606368;
  font-size: 15px;
  line-height: 1.6;
}

.td-document-detail dl {
  margin: 0;
  border-top: 1px solid #d7d4ce;
}

.td-document-detail dl > div {
  display: grid;
  padding: 13px 0;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  border-bottom: 1px solid #d7d4ce;
}

.td-document-detail dt {
  color: #606368;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.td-document-detail dd {
  margin: 0;
  color: #000;
  font-size: 13px;
  line-height: 1.5;
}

.td-demo-notice {
  display: flex;
  margin-top: 28px;
  padding: 16px 18px;
  flex-direction: column;
  gap: 5px;
  border-left: 3px solid #d6b495;
  background: #fff;
}

.td-preview-actions {
  display: flex;
  margin-top: 28px;
  gap: 12px;
  flex-wrap: wrap;
}

.td-preview-actions a {
  display: inline-flex;
  min-width: 185px;
  min-height: 54px;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #000;
  background: #000;
  color: #fff !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.td-preview-actions a:last-child {
  border-color: #d6b495;
  background: #d6b495;
  color: #000 !important;
}

.td-preview-actions a:hover {
  border-color: #606368;
  background: #606368;
}

.td-preview-actions a:last-child:hover {
  border-color: #000;
  background: #000;
  color: #fff !important;
}

.td-demo-notice strong {
  font-size: 10px;
  letter-spacing: .13em;
}

.td-demo-notice span {
  color: #606368;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .td-search-bar { grid-template-columns: 1fr 1fr; }
  .td-search-field { grid-column: 1 / -1; }
  .td-clear { min-height: 66px; }
  .td-preview-document { grid-template-columns: 1fr; }
  .td-document-visual { min-height: 300px; }
}

@media (max-width: 640px) {
  .td-search-bar { grid-template-columns: 1fr; }
  .td-search-field,
  .td-select,
  .td-clear { grid-column: 1; }
  .td-preview-document { padding: 28px 20px; gap: 36px; }
  .td-document-detail dl > div { grid-template-columns: 105px 1fr; }
  .td-preview-actions a { width: 100%; }
}
