.tsd-resource-hub,
.tsd-single-resource-details,
.tsd-service-bridge,
.tsd-related-resources,
.tsd-single-collection-resources {
  --tsd-text: #17212b;
  --tsd-muted: #66717c;
  --tsd-line: #dfe4e8;
  --tsd-soft: #f5f7f8;
  --tsd-soft-2: #eef2f4;
  --tsd-accent: #162a3a;
  --tsd-accent-contrast: #ffffff;
  --tsd-radius: 16px;
  --tsd-shadow: 0 14px 38px rgba(16, 31, 43, .08);
  color: var(--tsd-text);
  font-family: inherit;
}

.tsd-resource-library-archive { width: 100%; }
.tsd-resource-hub { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.tsd-resource-hub *,
.tsd-resource-hub *::before,
.tsd-resource-hub *::after { box-sizing: border-box; }

.tsd-resource-hero {
  padding: 72px 0 46px;
  max-width: 920px;
}
.tsd-resource-hero h1 {
  margin: 4px 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.tsd-resource-intro {
  max-width: 760px;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--tsd-muted);
}
.tsd-eyebrow {
  margin: 0 0 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tsd-hero-search {
  position: relative;
  margin-top: 28px;
  max-width: 820px;
}
.tsd-hero-search input {
  width: 100%;
  min-height: 62px;
  padding: 15px 20px 15px 54px;
  border: 1px solid var(--tsd-line);
  border-radius: 14px;
  background: #fff;
  color: var(--tsd-text);
  font: inherit;
  font-size: 1rem;
  box-shadow: 0 8px 26px rgba(17, 31, 43, .06);
}
.tsd-hero-search input:focus,
.tsd-resource-filters input:focus,
.tsd-resource-filters select:focus {
  outline: 2px solid rgba(22, 42, 58, .16);
  outline-offset: 1px;
  border-color: var(--tsd-accent);
}
.tsd-search-icon {
  position: absolute;
  left: 21px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid var(--tsd-accent);
  border-radius: 999px;
  transform: translateY(-58%);
  opacity: .75;
}
.tsd-search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  background: var(--tsd-accent);
  transform: rotate(45deg);
  transform-origin: left center;
}

.tsd-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}
.tsd-section-heading h2,
.tsd-service-bridge h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.tsd-collection-section,
.tsd-featured-section,
.tsd-library-section,
.tsd-related-resources,
.tsd-single-collection-resources { padding: 30px 0 46px; }

.tsd-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tsd-collection-card {
  overflow: hidden;
  border: 1px solid var(--tsd-line);
  border-radius: var(--tsd-radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tsd-collection-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tsd-shadow);
  border-color: #cbd3d8;
}
.tsd-collection-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tsd-accent), #314b5d);
}
.tsd-collection-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsd-collection-placeholder { position:absolute; inset:0; }
.tsd-collection-placeholder::before,
.tsd-collection-placeholder::after {
  content:"";
  position:absolute;
  border:1px solid rgba(255,255,255,.28);
  border-radius:18px;
}
.tsd-collection-placeholder::before { width:58%; height:58%; left:12%; top:22%; transform:rotate(-5deg); }
.tsd-collection-placeholder::after { width:58%; height:58%; right:12%; top:17%; transform:rotate(7deg); }
.tsd-collection-body { padding: 22px; }
.tsd-collection-card h3 { margin: 0 0 9px; font-size: 1.26rem; line-height: 1.25; }
.tsd-collection-card h3 a { color: inherit; text-decoration: none; }
.tsd-collection-card p:not(.tsd-eyebrow) { margin: 0 0 18px; color: var(--tsd-muted); line-height: 1.55; }
.tsd-collection-footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  padding-top:14px;
  border-top:1px solid var(--tsd-line);
  font-size:.82rem;
  color:var(--tsd-muted);
}
.tsd-collection-footer a { color:var(--tsd-accent); font-weight:800; text-decoration:none; }

.tsd-resource-filters { margin: 0 0 16px; }
.tsd-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 16px;
}
.tsd-type-tab {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--tsd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--tsd-text);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tsd-type-tab:hover,
.tsd-type-tab.is-active {
  border-color: var(--tsd-accent);
  background: var(--tsd-accent);
  color: var(--tsd-accent-contrast);
}
.tsd-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(0, 2fr) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--tsd-line);
  border-radius: 14px;
  background: var(--tsd-soft);
}
.tsd-filter-drawer {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.tsd-resource-filters label {
  display: block;
  margin: 0 0 6px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.tsd-resource-filters input,
.tsd-resource-filters select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--tsd-line);
  border-radius: 9px;
  background: #fff;
  color: var(--tsd-text);
  font: inherit;
}
.tsd-clear-button,
.tsd-filter-apply,
.tsd-mobile-filter-toggle,
.tsd-pagination button {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid var(--tsd-accent);
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.tsd-clear-button,
.tsd-mobile-filter-toggle,
.tsd-pagination button { background: #fff; color: var(--tsd-accent); }
.tsd-filter-apply { background: var(--tsd-accent); color: var(--tsd-accent-contrast); }
.tsd-mobile-filter-toggle { display:none; }
.tsd-results-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:42px; }
.tsd-resource-status { color: var(--tsd-muted); font-size: .9rem; font-weight:700; }

.tsd-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tsd-resource-card {
  display:flex;
  flex-direction:column;
  overflow: hidden;
  min-width:0;
  border: 1px solid var(--tsd-line);
  border-radius: var(--tsd-radius);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tsd-resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tsd-shadow);
  border-color:#cbd3d8;
}
.tsd-resource-grid-featured .tsd-resource-card { border-color:#c8d1d7; }
.tsd-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--tsd-soft-2);
  text-decoration: none;
}
.tsd-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsd-image-placeholder {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 18px;
  background:
    radial-gradient(circle at 82% 24%, rgba(22,42,58,.09) 0 16%, transparent 17%),
    linear-gradient(135deg, #f4f6f7, #e9eef1);
}
.tsd-image-placeholder span {
  display:inline-flex;
  padding:7px 10px;
  background:#fff;
  border:1px solid var(--tsd-line);
  border-radius:999px;
  color:var(--tsd-accent);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.tsd-card-body { display:flex; flex-direction:column; flex:1; padding: 20px; }
.tsd-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; color: var(--tsd-muted); font-size: .76rem; }
.tsd-type-badge { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--tsd-soft); color: var(--tsd-text); font-weight: 800; }
.tsd-resource-card h3 { margin: 0 0 9px; font-size: 1.22rem; line-height: 1.28; }
.tsd-resource-card h3 a { color: inherit; text-decoration: none; }
.tsd-resource-card p { margin: 0 0 18px; color: var(--tsd-muted); line-height: 1.55; }
.tsd-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
  margin-top:auto;
  border-top: 1px solid var(--tsd-line);
  padding-top: 14px;
}
.tsd-card-detail-line { display:flex; flex-wrap:wrap; gap:7px 12px; color:var(--tsd-muted); font-size:.75rem; }
.tsd-card-detail-line span { position:relative; }
.tsd-card-detail-line span + span::before { content:"•"; position:absolute; left:-8px; }
.tsd-card-arrow {
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:999px;
  background:var(--tsd-soft);
  color:var(--tsd-accent);
  text-decoration:none;
  font-weight:900;
}

.tsd-pagination { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 30px 0 0; }
.tsd-pagination span { color: var(--tsd-muted); font-size:.9rem; }
.tsd-empty-state { padding: 46px 24px; border: 1px dashed var(--tsd-line); border-radius: var(--tsd-radius); text-align: center; background: var(--tsd-soft); }
.tsd-empty-state h3 { margin: 0 0 6px; }
.tsd-empty-state p { margin: 0; color: var(--tsd-muted); }
[data-tsd-results].is-loading { opacity: .45; pointer-events: none; transition:opacity .15s ease; }

.tsd-service-bridge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 34px 0 58px;
  padding: 34px;
  border-radius: var(--tsd-radius);
  background: var(--tsd-soft);
}
.tsd-service-bridge > div { max-width: 740px; }
.tsd-service-bridge p:not(.tsd-eyebrow) { margin: 10px 0 0; line-height: 1.65; color: var(--tsd-muted); }
.tsd-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 9px;
  background: var(--tsd-accent);
  color: var(--tsd-accent-contrast) !important;
  text-decoration: none !important;
  font-weight: 800;
  white-space: nowrap;
}

.tsd-single-resource-details {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--tsd-line);
  border-radius: var(--tsd-radius);
  background:#fff;
}
.tsd-single-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-bottom: 20px; }
.tsd-single-meta-grid div { display: flex; flex-direction: column; gap: 4px; }
.tsd-single-meta-grid strong { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.tsd-single-meta-grid span { color: var(--tsd-muted); }
.tsd-source-line { margin: 16px 0 0; }
.tsd-resource-disclaimer { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--tsd-line); color: var(--tsd-muted); font-size: .86rem; line-height: 1.55; }
.tsd-service-bridge-single { margin-top: 32px; }

.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 1050px) {
  .tsd-resource-grid,
  .tsd-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tsd-filter-bar { grid-template-columns: 1fr; }
  .tsd-filter-drawer { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .tsd-filter-apply { justify-self:start; }
  .tsd-single-meta-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .tsd-resource-hub { padding-left: 16px; padding-right: 16px; }
  .tsd-resource-hero { padding-top: 44px; }
  .tsd-resource-hero h1 { font-size:clamp(2.25rem,11vw,3.6rem); }
  .tsd-hero-search input { min-height:56px; }
  .tsd-resource-grid,
  .tsd-collection-grid,
  .tsd-single-meta-grid { grid-template-columns: 1fr; }
  .tsd-type-tabs { flex-wrap:nowrap; overflow-x:auto; padding-bottom:5px; scrollbar-width:thin; }
  .tsd-type-tab { flex:0 0 auto; }
  .tsd-filter-bar { display:grid; grid-template-columns:1fr auto; align-items:end; }
  .tsd-search-field { grid-column:1 / 2; }
  .tsd-mobile-filter-toggle { display:inline-flex; align-items:center; justify-content:center; grid-column:2 / 3; }
  .tsd-filter-drawer { display:none; grid-column:1 / -1; grid-template-columns:1fr; padding-top:4px; }
  .tsd-filter-drawer.is-open { display:grid; }
  .tsd-filter-apply { grid-column:1 / -1; width:100%; }
  .tsd-service-bridge { align-items: stretch; flex-direction: column; padding:26px; }
  .tsd-primary-button { width: 100%; }
  .tsd-card-footer { align-items:flex-end; }
  .tsd-collection-footer { align-items:flex-start; flex-direction:column; }
}


/* =========================================================
   V0.3 — catalogue-style resource library frontend
   ========================================================= */
.tsd-library-v3{
  --tsd-v3-ink:#151515;--tsd-v3-muted:#646a70;--tsd-v3-line:#d9dde1;
  --tsd-v3-soft:#f6f7f8;--tsd-v3-soft-accent:#e9f1f2;
  --tsd-v3-accent:#0f3942;--tsd-v3-accent-2:#154c57;
  max-width:1180px;padding:0 18px 72px;color:var(--tsd-v3-ink)
}
.tsd-library-v3 .tsd-library-breadcrumb{display:flex;align-items:center;gap:8px;margin:18px 0 22px;font-size:11px;color:#8a9095}
.tsd-library-v3 .tsd-resource-hero-v3{max-width:none;margin:0 0 16px;padding:38px 28px 36px;border-radius:10px;background:linear-gradient(100deg,#eef3f8 0%,#f6f8f9 48%,#faf4eb 100%);text-align:center}
.tsd-library-v3 .tsd-hero-copy{max-width:850px;margin:0 auto}
.tsd-library-v3 .tsd-resource-hero-v3 h1{margin:0 0 12px;font-size:clamp(28px,3vw,38px);line-height:1.1;letter-spacing:-.035em}
.tsd-library-v3 .tsd-resource-hero-v3 .tsd-resource-intro{max-width:780px;margin:0 auto;font-size:14px;line-height:1.55;color:#454b50}
.tsd-library-v3 .tsd-hero-search-v3,.tsd-library-v3 .tsd-focused-search{display:flex;align-items:stretch;gap:8px;max-width:520px;margin:20px auto 0;position:relative}
.tsd-library-v3 .tsd-hero-search-v3 input,.tsd-library-v3 .tsd-focused-search input{min-height:42px;padding:8px 12px;border:1px solid #d7dbdf;border-radius:7px;background:#fff;box-shadow:none;font-size:13px}
.tsd-library-v3 .tsd-search-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:86px;min-height:42px;padding:8px 14px;border:0;border-radius:7px;background:var(--tsd-v3-accent);color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.tsd-library-v3 .tsd-search-button:hover{background:var(--tsd-v3-accent-2)}
.tsd-library-v3 .tsd-search-button-icon{position:relative;width:12px;height:12px;border:1.7px solid currentColor;border-radius:50%}
.tsd-library-v3 .tsd-search-button-icon:after{content:"";position:absolute;width:5px;height:1.7px;background:currentColor;right:-4px;bottom:-2px;transform:rotate(45deg)}

.tsd-library-v3 .tsd-library-shell{display:grid;grid-template-columns:196px minmax(0,1fr);gap:18px;align-items:start}
.tsd-library-v3 .tsd-category-sidebar{position:sticky;top:24px;border:1px solid var(--tsd-v3-line);border-radius:10px;background:#fff;padding:12px 9px}
.tsd-library-v3 .tsd-category-sidebar h2{margin:2px 6px 8px;font-size:12px}
.tsd-library-v3 .tsd-category-link{display:block;width:100%;padding:8px 9px;border:0;border-radius:6px;background:transparent;color:#202428;text-align:left;font:inherit;font-size:11.5px;line-height:1.25;cursor:pointer}
.tsd-library-v3 .tsd-category-link:hover{background:#f3f5f5}
.tsd-library-v3 .tsd-category-link.is-active{background:var(--tsd-v3-soft-accent);color:var(--tsd-v3-accent);font-weight:800}
.tsd-library-v3 .tsd-library-main{min-width:0}

.tsd-library-v3 .tsd-library-type-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.tsd-library-v3 .tsd-library-type-card{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:78px;padding:14px 16px;border:1px solid var(--tsd-v3-line);border-radius:10px;background:#fff;color:inherit;text-decoration:none!important;text-align:left;font:inherit;cursor:pointer;overflow:hidden}
.tsd-library-v3 .tsd-library-type-card:hover{border-color:#bfc8cc;background:#fbfcfc}
.tsd-library-v3 .tsd-library-type-card>span:first-child{display:flex;flex-direction:column;gap:5px;z-index:2}
.tsd-library-v3 .tsd-library-type-card strong{font-size:15px}
.tsd-library-v3 .tsd-library-type-card small{font-size:11.5px;color:#383f44}
.tsd-library-v3 .tsd-type-card-illustration{position:relative;width:68px;height:54px;opacity:.8}
.tsd-library-v3 .tsd-type-card-illustration i,.tsd-library-v3 .tsd-type-card-illustration b{position:absolute;display:block;border-radius:5px;background:#e2ecee;border:1px solid #cadadd}
.tsd-library-v3 .tsd-type-card-template i{width:40px;height:48px;right:7px;top:1px;transform:rotate(10deg)}
.tsd-library-v3 .tsd-type-card-template b{width:34px;height:38px;right:28px;top:13px;background:#f1f5f6}
.tsd-library-v3 .tsd-type-card-training i{width:43px;height:50px;right:7px;top:2px;transform:rotate(7deg)}
.tsd-library-v3 .tsd-type-card-training b{width:28px;height:20px;right:28px;top:17px;background:#d4e7e9;border-radius:50%}
.tsd-library-v3 .tsd-type-card-collection:before{content:"";position:absolute;right:5px;bottom:4px;width:55px;height:34px;border-radius:5px;background:#dbe9eb;border:1px solid #c4d8dc;clip-path:polygon(0 16%,38% 16%,46% 0,100% 0,100% 100%,0 100%)}
.tsd-library-v3 .tsd-type-card-collection i{width:45px;height:32px;right:13px;top:7px;background:#edf4f5}
.tsd-library-v3 .tsd-type-card-collection b{display:none}

.tsd-library-v3 .tsd-preview-section{padding:0 0 22px;margin:0}
.tsd-library-v3 .tsd-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 10px}
.tsd-library-v3 .tsd-preview-heading h2{margin:0 0 3px;font-size:20px;line-height:1.15;letter-spacing:-.02em}
.tsd-library-v3 .tsd-preview-heading p{margin:0;color:var(--tsd-v3-muted);font-size:11.5px}
.tsd-library-v3 .tsd-see-all{padding:7px 10px;border:1px solid var(--tsd-v3-line);border-radius:7px;background:#fff;color:var(--tsd-v3-accent);font:inherit;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}
.tsd-library-v3 .tsd-preview-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}

.tsd-library-v3 .tsd-resource-card{border:1px solid var(--tsd-v3-line);border-radius:9px;box-shadow:none;transition:border-color .15s ease,transform .15s ease;background:#fff}
.tsd-library-v3 .tsd-resource-card:hover{transform:translateY(-1px);border-color:#bbc3c8;box-shadow:none}
.tsd-library-v3 .tsd-card-image{aspect-ratio:16/9;background:#eef1f2}
.tsd-library-v3 .tsd-card-image img{width:100%;height:100%;object-fit:cover}
.tsd-library-v3 .tsd-image-placeholder{background:linear-gradient(145deg,#eef3f4,#dfe9eb);color:var(--tsd-v3-accent)}
.tsd-library-v3 .tsd-image-placeholder span{font-size:11px}
.tsd-library-v3 .tsd-card-body{padding:10px 10px 9px;display:flex;flex-direction:column;flex:1}
.tsd-library-v3 .tsd-card-meta{margin-bottom:6px;min-height:15px;font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:var(--tsd-v3-accent)}
.tsd-library-v3 .tsd-card-meta>span:not(.tsd-type-badge){display:none}
.tsd-library-v3 .tsd-type-badge{padding:0;border:0;border-radius:0;background:transparent;color:var(--tsd-v3-accent);font-size:9px;font-weight:800}
.tsd-library-v3 .tsd-type-badge-label{color:#6a7479;font-weight:700;letter-spacing:.025em}
.tsd-library-v3 .tsd-type-badge.is-unset{color:#8a5a22}
.tsd-library-v3 .tsd-resource-card h3{margin:0 0 5px;font-size:13px;line-height:1.28;letter-spacing:-.01em}
.tsd-library-v3 .tsd-resource-card h3 a{color:#111;text-decoration:none}
.tsd-library-v3 .tsd-resource-card .tsd-card-body>p{margin:0 0 8px;color:#454b4f;font-size:10.5px;line-height:1.42;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.tsd-library-v3 .tsd-card-footer{margin-top:auto;padding-top:8px;border-top:0;align-items:flex-end}
.tsd-library-v3 .tsd-card-detail-line{display:flex;flex-direction:column;gap:3px;color:#72787d;font-size:9px;line-height:1.2}
.tsd-library-v3 .tsd-card-detail-line span:first-child{display:none}
.tsd-library-v3 .tsd-card-arrow{display:inline-flex;align-items:center;justify-content:center;width:auto;height:25px;padding:0 9px;border-radius:6px;background:var(--tsd-v3-accent);color:#fff!important;font-size:0;text-decoration:none!important}
.tsd-library-v3 .tsd-card-arrow:after{content:"Get";font-size:10px;font-weight:800}

.tsd-library-v3 .tsd-collection-grid-v3{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tsd-library-v3 .tsd-collection-card{border-radius:9px}
.tsd-library-v3 .tsd-collection-image{aspect-ratio:16/8}
.tsd-library-v3 .tsd-collection-body{padding:12px}
.tsd-library-v3 .tsd-collection-body .tsd-eyebrow{font-size:9px}
.tsd-library-v3 .tsd-collection-card h3{font-size:14px}
.tsd-library-v3 .tsd-collection-card p:not(.tsd-eyebrow){font-size:10.5px;margin-bottom:10px}
.tsd-library-v3 .tsd-collection-footer{font-size:9.5px;padding-top:8px}

.tsd-library-v3 .tsd-library-browse{padding:8px 0 30px}
.tsd-library-v3 .tsd-resource-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.tsd-library-v3 .tsd-resource-filters{margin:0 0 10px}
.tsd-library-v3 .tsd-type-tabs{gap:5px;margin-bottom:8px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
.tsd-library-v3 .tsd-type-tab{flex:0 0 auto;min-height:30px;padding:5px 9px;border-radius:6px;font-size:10px}
.tsd-library-v3 .tsd-filter-bar{grid-template-columns:minmax(170px,.9fr) minmax(0,2fr) auto;gap:7px;padding:8px;border-radius:8px;background:#fafbfb}
.tsd-library-v3 .tsd-filter-drawer{grid-template-columns:repeat(3,minmax(120px,1fr)) auto;gap:7px}
.tsd-library-v3 .tsd-resource-filters label{font-size:9.5px;margin-bottom:3px}
.tsd-library-v3 .tsd-resource-filters input,.tsd-library-v3 .tsd-resource-filters select{min-height:34px;padding:6px 8px;border-radius:6px;font-size:10.5px}
.tsd-library-v3 .tsd-clear-button,.tsd-library-v3 .tsd-filter-apply,.tsd-library-v3 .tsd-mobile-filter-toggle{min-height:34px;padding:6px 10px;border-radius:6px;font-size:10px}
.tsd-library-v3 .tsd-results-toolbar{min-height:30px;justify-content:flex-end}
.tsd-library-v3 .tsd-resource-status{font-size:10px;color:#60676c}

.tsd-library-v3 .tsd-focused-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:2px 0 14px}
.tsd-library-v3 .tsd-focused-heading>div:first-child{max-width:590px}
.tsd-library-v3 .tsd-focused-heading h1{margin:0 0 7px;font-size:27px;letter-spacing:-.035em}
.tsd-library-v3 .tsd-focused-heading p{margin:0;color:#333b40;font-size:12px;line-height:1.45}
.tsd-library-v3 .tsd-focused-search{width:330px;margin:0}
.tsd-library-v3 .is-focused-view .tsd-type-tabs{display:none}
.tsd-library-v3 .is-focused-view .tsd-filter-bar{padding:0;border:0;background:transparent;grid-template-columns:1fr}
.tsd-library-v3 .is-focused-view .tsd-search-field{display:none}
.tsd-library-v3 .is-focused-view .tsd-filter-drawer{grid-template-columns:minmax(120px,1fr) minmax(120px,1fr) 150px auto;justify-content:end}
.tsd-library-v3 .is-focused-view .tsd-filter-apply{display:none}
.tsd-library-v3 .is-focused-view .tsd-results-toolbar{margin-top:-4px}

.tsd-library-v3 .tsd-service-bridge{margin-top:20px;padding:22px 24px;border-radius:10px;background:#f4f7f7}
.tsd-library-v3 .tsd-service-bridge h2{font-size:22px}
.tsd-library-v3 .tsd-service-bridge p{font-size:12px}
.tsd-library-v3 .tsd-primary-button{border-radius:7px;background:var(--tsd-v3-accent)}

@media(max-width:1080px){
 .tsd-library-v3 .tsd-preview-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tsd-library-v3 .tsd-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
 .tsd-library-v3 .tsd-library-shell{grid-template-columns:1fr}
 .tsd-library-v3 .tsd-category-sidebar{position:static;display:flex;gap:5px;overflow-x:auto;padding:8px}
 .tsd-library-v3 .tsd-category-sidebar h2{display:none}
 .tsd-library-v3 .tsd-category-link{flex:0 0 auto;width:auto;white-space:nowrap}
 .tsd-library-v3 .tsd-library-type-cards{grid-template-columns:1fr}
 .tsd-library-v3 .tsd-preview-strip,.tsd-library-v3 .tsd-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tsd-library-v3 .tsd-focused-heading{flex-direction:column}
 .tsd-library-v3 .tsd-focused-search{width:100%;max-width:520px}
 .tsd-library-v3 .is-focused-view .tsd-filter-drawer{grid-template-columns:1fr 1fr}
 .tsd-library-v3 .tsd-collection-grid-v3{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
 .tsd-library-v3{padding-left:12px;padding-right:12px}
 .tsd-library-v3 .tsd-resource-hero-v3{padding:28px 16px}
 .tsd-library-v3 .tsd-hero-search-v3,.tsd-library-v3 .tsd-focused-search{flex-direction:column}
 .tsd-library-v3 .tsd-search-button{width:100%}
 .tsd-library-v3 .tsd-preview-strip,.tsd-library-v3 .tsd-resource-grid,.tsd-library-v3 .tsd-collection-grid-v3{grid-template-columns:1fr}
 .tsd-library-v3 .is-focused-view .tsd-filter-drawer{grid-template-columns:1fr}
}


/* =========================================================
   V0.3.1 — theme-width and focused-view layout fixes
   ========================================================= */
.tsd-library-v3{
  width:min(1160px,calc(100vw - 48px));
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.tsd-library-v3 .tsd-library-shell{grid-template-columns:200px minmax(0,1fr);gap:18px}
.tsd-library-v3 .tsd-focused-heading{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start;margin:4px 0 18px}
.tsd-library-v3 .tsd-focused-heading>div:first-child{max-width:620px;min-width:0}
.tsd-library-v3 .tsd-focused-heading h1{font-size:28px;line-height:1.08;margin:0 0 8px}
.tsd-library-v3 .tsd-focused-heading p{max-width:580px;font-size:12px;line-height:1.5}
.tsd-library-v3 .tsd-focused-search{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.tsd-library-v3 .tsd-focused-search input{min-width:0;width:100%}
.tsd-library-v3 .is-focused-view .tsd-filter-bar{display:block}
.tsd-library-v3 .is-focused-view .tsd-filter-drawer{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) 150px auto;gap:8px;align-items:end;justify-content:stretch}
.tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-field-industry{display:none}
.tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer{grid-template-columns:minmax(220px,1fr) 160px auto}
.tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 160px auto}
.tsd-library-v3 .is-focused-view .tsd-clear-button{height:34px;align-self:end;white-space:nowrap}
.tsd-library-v3 .is-focused-view .tsd-results-toolbar{min-height:24px;margin:2px 0 6px}
.tsd-library-v3 .tsd-empty-state{padding:50px 24px;background:#fff;border-color:#d9dfe3;border-radius:12px}
.tsd-library-v3 .tsd-empty-state h3{font-size:24px;line-height:1.2;margin-bottom:8px}
.tsd-library-v3 .tsd-empty-state p{font-size:14px}

@media(max-width:1180px){
 .tsd-library-v3{width:min(1080px,calc(100vw - 36px))}
 .tsd-library-v3 .tsd-focused-heading{grid-template-columns:minmax(0,1fr) 290px;gap:18px}
 .tsd-library-v3 .tsd-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .tsd-library-v3{width:100%;max-width:100%}
 .tsd-library-v3 .tsd-library-shell{grid-template-columns:180px minmax(0,1fr)}
 .tsd-library-v3 .tsd-focused-heading{grid-template-columns:1fr}
 .tsd-library-v3 .tsd-focused-search{width:min(100%,520px)}
 .tsd-library-v3 .is-focused-view .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer{grid-template-columns:1fr 160px auto}
 .tsd-library-v3 .is-focused-view:not(.focus-industry) .tsd-filter-drawer{grid-template-columns:1fr 1fr 150px auto}
}
@media(max-width:820px){
 .tsd-library-v3{width:100%}
 .tsd-library-v3 .is-focused-view .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view:not(.focus-industry) .tsd-filter-drawer{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
 .tsd-library-v3 .is-focused-view .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer,
 .tsd-library-v3 .is-focused-view:not(.focus-industry) .tsd-filter-drawer{grid-template-columns:1fr}
}

/* =========================================================
   V0.3.2 — sidebar overflow / long industry label fixes
   ========================================================= */
.tsd-library-v3,
.tsd-library-v3 *{
  box-sizing:border-box;
}

.tsd-library-v3 .tsd-library-shell{
  grid-template-columns:230px minmax(0,1fr);
  gap:20px;
}

.tsd-library-v3 .tsd-category-sidebar{
  min-width:0;
  width:100%;
  overflow:hidden;
  padding:12px 9px;
}

/* WordPress themes often force button labels to nowrap. Override that here. */
.tsd-library-v3 .tsd-category-link{
  display:flex;
  align-items:center;
  width:100%;
  min-width:0;
  max-width:100%;
  height:auto;
  min-height:34px;
  padding:8px 10px;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:normal;
  hyphens:auto;
  overflow:hidden;
  text-overflow:clip;
  line-height:1.3;
}

.tsd-library-v3 .tsd-category-link.is-active{
  white-space:normal !important;
}

/* Keep every main-column child contained inside the available grid track. */
.tsd-library-v3 .tsd-library-main,
.tsd-library-v3 .tsd-library-type-cards,
.tsd-library-v3 .tsd-library-section,
.tsd-library-v3 .tsd-filter-bar,
.tsd-library-v3 .tsd-filter-drawer,
.tsd-library-v3 .tsd-preview-strip,
.tsd-library-v3 .tsd-resource-grid{
  min-width:0;
  max-width:100%;
}

.tsd-library-v3 .tsd-library-type-card,
.tsd-library-v3 .tsd-library-type-card > span:first-child{
  min-width:0;
}

.tsd-library-v3 .tsd-library-type-card strong,
.tsd-library-v3 .tsd-library-type-card small{
  overflow-wrap:anywhere;
}

/* The full-library filter row should wrap before controls collide. */
.tsd-library-v3:not(.is-focused-view) .tsd-filter-drawer{
  min-width:0;
}

@media(max-width:1180px){
  .tsd-library-v3 .tsd-library-shell{
    grid-template-columns:215px minmax(0,1fr);
    gap:16px;
  }
  .tsd-library-v3 .tsd-category-link{
    font-size:11px;
  }
}

@media(max-width:980px){
  .tsd-library-v3 .tsd-library-shell{
    grid-template-columns:200px minmax(0,1fr);
  }
}

@media(max-width:820px){
  .tsd-library-v3 .tsd-library-shell{
    grid-template-columns:1fr;
  }
  .tsd-library-v3 .tsd-category-sidebar{
    overflow-x:auto;
    overflow-y:hidden;
  }
  .tsd-library-v3 .tsd-category-link{
    flex:0 0 auto;
    width:auto;
    max-width:240px;
    min-height:32px;
    white-space:nowrap !important;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}


/* V0.3.3 document download and gated resource UI */
.tsd-library-v3 .tsd-card-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.tsd-library-v3 .tsd-card-meta .tsd-file-badge,.tsd-library-v3 .tsd-card-meta .tsd-access-badge,.tsd-library-v3 .tsd-card-meta .tsd-editable-badge{display:inline-flex!important;align-items:center;padding:2px 5px;border-radius:4px;background:#f0f3f4;color:#425057;font-size:8.5px;font-weight:800;letter-spacing:.035em;text-transform:uppercase}
.tsd-library-v3 .tsd-card-meta .tsd-access-badge.is-free{background:#e9f4ef;color:#245b43}
.tsd-library-v3 .tsd-card-meta .tsd-access-badge.is-gated{background:#f5efe5;color:#76511e}
.tsd-single-resource-details .tsd-resource-download-panel,.tsd-single-resource-details .tsd-resource-gate{margin:24px 0;padding:22px;border:1px solid #d8dee1;border-radius:10px;background:#f7f9f9}
.tsd-single-resource-details .tsd-resource-download-panel h3,.tsd-single-resource-details .tsd-resource-gate h3{margin:0 0 7px;font-size:21px}
.tsd-download-files{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-top:12px}
.tsd-download-files .tsd-download-button{margin:0}
.tsd-download-file-meta{display:inline-flex;align-items:center;min-height:40px;padding:0 7px;color:#667078;font-size:11px;overflow-wrap:anywhere}
.tsd-gate-copy p{margin:0 0 16px;color:#566168}
.tsd-gate-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.tsd-gate-fields label{display:block}
.tsd-gate-fields label span{display:block;margin-bottom:4px;font-size:11px;font-weight:700;color:#303a40}
.tsd-gate-fields input{width:100%;min-height:42px;padding:8px 10px;border:1px solid #cfd6da;border-radius:7px;background:#fff;box-sizing:border-box}
.tsd-gate-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.tsd-gate-privacy{margin:10px 0 0!important;font-size:10.5px;color:#687278}
.tsd-gate-message{margin:8px 0 0!important;font-size:11px;color:#3f4a50}
.tsd-gate-success[hidden]{display:none!important}
.tsd-gate-success h3{margin-bottom:10px}
.tsd-resource-no-file{padding:14px 16px;border:1px dashed #d6dde0;border-radius:8px;color:#697278;background:#fafbfb}
@media(max-width:700px){.tsd-gate-fields{grid-template-columns:1fr}.tsd-download-files{flex-direction:column}.tsd-download-file-meta{min-height:0;padding:0 0 7px}}


/* V0.3.5 - high-risk industry hierarchy */
.tsd-library-v3 .tsd-subindustry-nav{margin:-2px 0 14px;padding:11px 12px;border:1px solid var(--tsd-v3-line);border-radius:9px;background:#fff}
.tsd-library-v3 .tsd-subindustry-label{display:block;margin-bottom:8px;font-size:10px;font-weight:800;color:#4b5358;text-transform:uppercase;letter-spacing:.045em}
.tsd-library-v3 .tsd-subindustry-chips{display:flex;flex-wrap:wrap;gap:6px}
.tsd-library-v3 .tsd-subindustry-chip{appearance:none;border:1px solid #d5dadd;border-radius:999px;background:#fff;color:#2c3337;padding:6px 10px;font:inherit;font-size:10.5px;line-height:1.2;cursor:pointer;white-space:normal;text-align:left}
.tsd-library-v3 .tsd-subindustry-chip:hover{border-color:#aebbc0;background:#f6f9f9}
.tsd-library-v3 .tsd-subindustry-chip.is-active{border-color:var(--tsd-v3-accent);background:var(--tsd-v3-accent);color:#fff;font-weight:800}
@media(max-width:560px){.tsd-library-v3 .tsd-subindustry-nav{padding:10px}.tsd-library-v3 .tsd-subindustry-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.tsd-library-v3 .tsd-subindustry-chip{flex:0 0 auto;white-space:nowrap}}


/* =========================================================
   V0.3.6 — hierarchical industries live in the sidebar
   ========================================================= */
.tsd-library-v3 .tsd-industry-accordion{display:block;overflow:visible}
.tsd-library-v3 .tsd-all-industries-link{margin-bottom:4px}
.tsd-library-v3 .tsd-industry-group{width:100%;border-top:1px solid #eef0f1}
.tsd-library-v3 .tsd-industry-group:first-of-type{border-top:0}
.tsd-library-v3 .tsd-industry-parent{appearance:none;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;min-height:38px;padding:9px;border:0;border-radius:6px;background:transparent;color:#202428;text-align:left;font:inherit;font-size:11.5px;font-weight:600;line-height:1.28;cursor:pointer}
.tsd-library-v3 .tsd-industry-parent span:first-child{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
.tsd-library-v3 .tsd-industry-parent:hover{background:#f3f5f5}
.tsd-library-v3 .tsd-industry-parent.is-active,.tsd-library-v3 .tsd-industry-group.is-open .tsd-industry-parent{background:var(--tsd-v3-soft-accent);color:var(--tsd-v3-accent)}
.tsd-library-v3 .tsd-industry-chevron{flex:0 0 7px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease}
.tsd-library-v3 .tsd-industry-group.is-open .tsd-industry-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.tsd-library-v3 .tsd-industry-children{padding:3px 4px 8px 11px}
.tsd-library-v3 .tsd-industry-children[hidden]{display:none!important}
.tsd-library-v3 .tsd-industry-child{appearance:none;display:block;position:relative;width:100%;min-width:0;min-height:30px;padding:6px 8px 6px 14px;border:0;border-radius:5px;background:transparent;color:#4c555a;text-align:left;font:inherit;font-size:10.5px;line-height:1.3;white-space:normal!important;overflow-wrap:anywhere;cursor:pointer}
.tsd-library-v3 .tsd-industry-child:before{content:"";position:absolute;left:3px;top:13px;width:4px;height:4px;border-radius:50%;background:#c2c9cc}
.tsd-library-v3 .tsd-industry-child:hover{background:#f5f7f7;color:#20292d}
.tsd-library-v3 .tsd-industry-child.is-active{background:#eef4f4;color:var(--tsd-v3-accent);font-weight:800}
.tsd-library-v3 .tsd-industry-child.is-active:before{background:var(--tsd-v3-accent)}
.tsd-library-v3 .tsd-industry-child-all{font-weight:700}
.tsd-library-v3 .tsd-subindustry-nav{display:none!important}
.tsd-library-v3 .tsd-filter-drawer,.tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer,.tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer,.tsd-library-v3 .is-focused-view:not(.focus-industry) .tsd-filter-drawer{grid-template-columns:minmax(180px,1fr) 160px auto}
@media(max-width:820px){.tsd-library-v3 .tsd-category-sidebar.tsd-industry-accordion{display:block;overflow:visible;padding:10px 9px}.tsd-library-v3 .tsd-category-sidebar.tsd-industry-accordion h2{display:block;margin:2px 6px 8px}.tsd-library-v3 .tsd-category-sidebar.tsd-industry-accordion .tsd-category-link,.tsd-library-v3 .tsd-category-sidebar.tsd-industry-accordion .tsd-industry-parent,.tsd-library-v3 .tsd-category-sidebar.tsd-industry-accordion .tsd-industry-child{width:100%;max-width:none;white-space:normal!important}.tsd-library-v3 .tsd-filter-drawer,.tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer,.tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer,.tsd-library-v3 .is-focused-view:not(.focus-industry) .tsd-filter-drawer{grid-template-columns:1fr 1fr}.tsd-library-v3 .tsd-clear-button{grid-column:1 / -1}}
@media(max-width:560px){.tsd-library-v3 .tsd-filter-drawer,.tsd-library-v3 .is-focused-view.focus-industry .tsd-filter-drawer,.tsd-library-v3 .is-focused-view.focus-type .tsd-filter-drawer,.tsd-library-v3 .is-focused-view:not(.focus-industry) .tsd-filter-drawer{grid-template-columns:1fr}}


/* =========================================================
   V0.3.7 — seamless industry switching
   Keep current content on screen while AJAX fetches the next
   industry and hide landing-only previews without a page reload.
   ========================================================= */
.tsd-library-v3.is-ajax-industry-focus > .tsd-resource-hero-v3{
  display:none;
}
.tsd-library-v3.is-ajax-industry-focus .tsd-library-main > .tsd-library-type-cards,
.tsd-library-v3.is-ajax-industry-focus .tsd-library-main > .tsd-preview-section{
  display:none;
}
.tsd-library-v3 [data-tsd-results]{
  min-height:120px;
  transition:opacity .16s ease;
}
.tsd-library-v3 [data-tsd-results].is-loading{
  opacity:.58;
  background:transparent;
}
@media (prefers-reduced-motion: reduce){
  .tsd-library-v3 [data-tsd-results]{transition:none}
}


/* =========================================================
   V0.3.8 — sidebar interaction polish + wider desktop layout
   ========================================================= */
/* Break out of narrow theme content containers on desktop while staying centred. */
@media (min-width: 1101px){
  .tsd-library-v3{
    width:min(1380px,calc(100vw - 48px));
    max-width:none;
    margin-left:50%;
    margin-right:0;
    transform:translateX(-50%);
    padding-left:22px;
    padding-right:22px;
  }
  .tsd-library-v3 .tsd-library-shell{
    grid-template-columns:260px minmax(0,1fr);
    gap:28px;
  }
  .tsd-library-v3 .tsd-category-sidebar{
    padding:15px 11px;
    border-radius:11px;
  }
  .tsd-library-v3 .tsd-category-sidebar h2{
    margin:3px 8px 11px;
    font-size:13px;
  }
  .tsd-library-v3 .tsd-industry-parent{
    min-height:44px;
    padding:10px 11px;
    font-size:12.5px;
  }
  .tsd-library-v3 .tsd-industry-child{
    min-height:34px;
    padding:7px 9px 7px 16px;
    font-size:11.25px;
  }
  .tsd-library-v3 .tsd-resource-hero-v3{
    padding:44px 34px 42px;
  }
  .tsd-library-v3 .tsd-resource-hero-v3 h1{
    font-size:clamp(32px,3vw,43px);
  }
  .tsd-library-v3 .tsd-resource-hero-v3 .tsd-resource-intro{
    font-size:15px;
  }
  .tsd-library-v3 .tsd-library-type-card{
    min-height:88px;
    padding:17px 18px;
  }
  .tsd-library-v3 .tsd-library-type-card strong{font-size:16px}
  .tsd-library-v3 .tsd-library-type-card small{font-size:12px}
  .tsd-library-v3 .tsd-preview-heading h2{font-size:22px}
  .tsd-library-v3 .tsd-preview-heading p{font-size:12px}
  .tsd-library-v3 .tsd-resource-card h3{font-size:14px}
  .tsd-library-v3 .tsd-resource-card .tsd-card-body>p{font-size:11px}
  .tsd-library-v3 .tsd-focused-heading h1{font-size:32px}
  .tsd-library-v3 .tsd-focused-heading p{font-size:13px}
}

/* Main industry hover: force theme button hover rules not to turn the label white. */
.tsd-library-v3 .tsd-industry-parent:hover,
.tsd-library-v3 .tsd-industry-parent:focus-visible,
.tsd-library-v3 .tsd-industry-group.is-open .tsd-industry-parent:hover,
.tsd-library-v3 .tsd-industry-parent.is-active:hover{
  background:#79b8bd !important;
  color:#111 !important;
}
.tsd-library-v3 .tsd-industry-parent:hover span,
.tsd-library-v3 .tsd-industry-parent:focus-visible span,
.tsd-library-v3 .tsd-industry-parent:hover .tsd-industry-chevron,
.tsd-library-v3 .tsd-industry-parent:focus-visible .tsd-industry-chevron{
  color:#111 !important;
  border-color:#111 !important;
}

/* Fluid accordion. Panels stay mounted and animate rather than snapping via display:none. */
.tsd-library-v3 .tsd-industry-children,
.tsd-library-v3 .tsd-industry-children[hidden]{
  display:block !important;
  max-height:0;
  opacity:0;
  overflow:hidden;
  visibility:hidden;
  padding:0 4px 0 11px;
  transform:translateY(-3px);
  pointer-events:none;
  transition:max-height .34s cubic-bezier(.22,.61,.36,1),
             opacity .20s ease,
             padding .34s cubic-bezier(.22,.61,.36,1),
             transform .28s ease,
             visibility 0s linear .34s;
}
.tsd-library-v3 .tsd-industry-group.is-open .tsd-industry-children{
  max-height:520px;
  opacity:1;
  visibility:visible;
  padding:4px 4px 9px 11px;
  transform:translateY(0);
  pointer-events:auto;
  transition:max-height .38s cubic-bezier(.22,.61,.36,1),
             opacity .24s ease .04s,
             padding .38s cubic-bezier(.22,.61,.36,1),
             transform .30s ease,
             visibility 0s;
}
.tsd-library-v3 .tsd-industry-chevron{
  transition:transform .28s cubic-bezier(.22,.61,.36,1),color .18s ease,border-color .18s ease;
}

@media(max-width:1100px){
  .tsd-library-v3{
    transform:none;
    margin-left:0;
  }
}
@media(prefers-reduced-motion:reduce){
  .tsd-library-v3 .tsd-industry-children,
  .tsd-library-v3 .tsd-industry-chevron{transition:none!important}
}


/* V0.4.9 - guarantee Resource card Get CTA remains above card/content overlays. */
.tsd-library-v3 .tsd-resource-card .tsd-card-body,
.tsd-library-v3 .tsd-resource-card .tsd-card-footer{
  position:relative;
  z-index:2;
}
.tsd-library-v3 .tsd-card-arrow[data-tsd-card-get]{
  position:relative;
  z-index:30;
  pointer-events:auto !important;
  cursor:pointer !important;
  touch-action:manipulation;
  isolation:isolate;
}

/* V0.4.10 - plugin-owned fail-safe single Resource page. */
.tsd-resource-single-shell{
  width:min(1180px,calc(100% - 32px));
  margin:42px auto 64px;
}
.tsd-plugin-single-resource{
  width:100%;
  max-width:980px;
  margin:0 auto;
}
.tsd-plugin-single-header{
  margin:14px 0 24px;
}
.tsd-plugin-single-header h1{
  margin:5px 0 0;
  font-size:clamp(32px,4vw,52px);
  line-height:1.08;
}
.tsd-single-back{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  text-decoration:none!important;
}
.tsd-plugin-single-image{
  margin:0 0 28px;
  overflow:hidden;
  border-radius:12px;
}
.tsd-plugin-single-image img{
  display:block;
  width:100%;
  height:auto;
}
.tsd-plugin-single-content{
  font-size:16px;
  line-height:1.65;
}
@media(max-width:700px){
  .tsd-resource-single-shell{width:min(100% - 22px,1180px);margin-top:28px}
}

/* V0.4.11 - Client Only resources, decoded-label release, and compact mobile cards. */
.tsd-library-v3 .tsd-card-meta .tsd-access-badge.is-client{
  background:#e8eef8;
  color:#274c86;
}
.tsd-single-resource-details .tsd-resource-client-panel{
  margin:24px 0;
  padding:22px;
  border:1px solid #d8dee1;
  border-radius:10px;
  background:#f5f8fc;
}
.tsd-single-resource-details .tsd-resource-client-panel h3{
  margin:0 0 7px;
  font-size:21px;
}
.tsd-single-resource-details .tsd-resource-client-panel p{
  margin:0 0 16px;
  color:#566168;
}

/* On phones, use a compact media-object card rather than a tall portrait card. */
@media(max-width:560px){
  .tsd-library-v3 .tsd-preview-strip,
  .tsd-library-v3 .tsd-resource-grid{
    grid-template-columns:1fr;
    gap:8px;
  }
  .tsd-library-v3 .tsd-resource-card{
    display:grid;
    grid-template-columns:minmax(104px,34%) minmax(0,1fr);
    min-height:122px;
    overflow:hidden;
  }
  .tsd-library-v3 .tsd-resource-card:hover{
    transform:none;
  }
  .tsd-library-v3 .tsd-card-image{
    width:100%;
    height:100%;
    min-height:122px;
    aspect-ratio:auto;
    align-self:stretch;
  }
  .tsd-library-v3 .tsd-card-image img,
  .tsd-library-v3 .tsd-image-placeholder{
    width:100%;
    height:100%;
    min-height:122px;
    object-fit:cover;
  }
  .tsd-library-v3 .tsd-image-placeholder{
    padding:9px;
  }
  .tsd-library-v3 .tsd-image-placeholder span{
    padding:4px 6px;
    font-size:8px;
  }
  .tsd-library-v3 .tsd-card-body{
    min-width:0;
    padding:8px 8px 7px;
  }
  .tsd-library-v3 .tsd-card-meta{
    gap:4px;
    margin-bottom:4px;
    min-height:0;
  }
  .tsd-library-v3 .tsd-type-badge,
  .tsd-library-v3 .tsd-card-meta .tsd-file-badge,
  .tsd-library-v3 .tsd-card-meta .tsd-access-badge,
  .tsd-library-v3 .tsd-card-meta .tsd-editable-badge{
    font-size:7.5px;
    line-height:1.15;
  }
  .tsd-library-v3 .tsd-resource-card h3{
    margin:0 0 4px;
    font-size:12px;
    line-height:1.22;
  }
  .tsd-library-v3 .tsd-resource-card .tsd-card-body>p{
    margin:0 0 5px;
    font-size:9.5px;
    line-height:1.32;
    -webkit-line-clamp:2;
  }
  .tsd-library-v3 .tsd-card-footer{
    padding-top:4px;
    gap:6px;
    align-items:flex-end;
  }
  .tsd-library-v3 .tsd-card-detail-line{
    font-size:8px;
    gap:2px;
  }
  .tsd-library-v3 .tsd-card-arrow{
    height:24px;
    min-width:34px;
    padding:0 8px;
  }
  .tsd-library-v3 .tsd-card-arrow:after{
    font-size:9px;
  }
}

@media(max-width:390px){
  .tsd-library-v3 .tsd-resource-card{
    grid-template-columns:96px minmax(0,1fr);
  }
  .tsd-library-v3 .tsd-card-image,
  .tsd-library-v3 .tsd-card-image img,
  .tsd-library-v3 .tsd-image-placeholder{
    min-height:118px;
  }
}

/* V0.4.12 - permanent All Industries affordance + scoped catalogue pagination. */
.tsd-library-v3 .tsd-all-industries-link{
  margin-bottom:7px;
  border:1px solid #aacdd0 !important;
  background:#eef6f6 !important;
  color:#0f4d55 !important;
  font-weight:800 !important;
  box-shadow:inset 3px 0 0 #79b8bd;
}
.tsd-library-v3 .tsd-all-industries-link:hover,
.tsd-library-v3 .tsd-all-industries-link:focus-visible{
  background:#dfeff0 !important;
  color:#102f35 !important;
}
.tsd-library-v3 .tsd-all-industries-link.is-active{
  border-color:#0f3942 !important;
  background:#0f3942 !important;
  color:#fff !important;
  box-shadow:inset 4px 0 0 #79b8bd;
}
.tsd-library-v3 .tsd-pagination{
  flex-wrap:wrap;
}
.tsd-library-v3 .tsd-pagination button{
  cursor:pointer;
}
