/* A compact catalog library using the cabinet's existing surface and type scale. */
#set-ai.detail-mode #productKnowledgeCard { display: none; }
.pk-section { margin: 28px 0 24px; min-width: 0; font-family: var(--ds-font); }
.pk-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pk-section-head h2 { margin: 0; color: var(--ds-ink); font-size: var(--ds-text-section); font-weight: 750; letter-spacing: -.025em; line-height: 1.3; }
.pk-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ds-ink-secondary); font-size: 12px; white-space: nowrap; }
.pk-status[data-state="active"]::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ds-green); }
.pk-content { background: var(--ds-surface); border: 1px solid var(--ds-line); border-radius: var(--ds-radius-card); box-shadow: var(--ds-shadow-card); overflow: hidden; min-width: 0; }
.pk-tabs { display: flex; gap: 24px; padding: 0 24px; border-bottom: 1px solid var(--ds-line); }
.pk-tab { position: relative; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 2px; border: 0; background: transparent; color: var(--ds-ink-secondary); font: 600 14px var(--ds-font); cursor: pointer; }
.pk-tab span { font-size: 12px; font-weight: 500; color: var(--ds-ink-tertiary); }
.pk-tab[aria-selected="true"] { color: var(--ds-accent-strong); }
.pk-tab[aria-selected="true"]::after { content: ''; position: absolute; height: 2px; background: var(--ds-accent); bottom: -1px; left: 0; right: 0; border-radius: 2px; }
.pk-tab:hover { color: var(--ds-accent-strong); }
.pk-tab:focus-visible, .pk-product summary:focus-visible { outline: 2px solid var(--ds-accent); outline-offset: -4px; border-radius: 8px; }
.pk-panel { padding: 0 24px; }
.pk-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; padding: 4px 0; margin: 0; list-style: none; }
.pk-source { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 24px 0; border-bottom: 1px solid var(--ds-line); }
.pk-source:nth-last-child(-n+2) { border-bottom: 0; }
.pk-source-icon { display: grid; place-items: center; width: 40px; height: 44px; flex: 0 0 40px; border: 1px solid var(--ds-line); border-radius: 10px; color: var(--ds-accent-strong); background: var(--ds-accent-soft); }
.pk-source-icon svg { width: 24px; height: 24px; }
.pk-source-copy { min-width: 0; }
.pk-source-heading { display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; }
.pk-source h3 { margin: 0; color: var(--ds-ink); font-size: 14px; font-weight: 650; line-height: 1.5; }
.pk-edition { color: var(--ds-ink-tertiary); font-size: 12px; line-height: 1.5; }
.pk-source p { color: var(--ds-ink-secondary); font-size: 13px; line-height: 1.55; margin: 6px 0 0; }
.pk-source h3, .pk-source p { overflow-wrap: anywhere; }
.pk-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(160px, 220px); gap: 16px; padding-top: 24px; }
.pk-filters label { display: grid; gap: 8px; min-width: 0; }
.pk-label { font-size: 12px; color: var(--ds-ink-secondary); }
.pk-filters input, .pk-filters select { width: 100%; min-width: 0; height: var(--ds-control); font-family: var(--ds-font); font-size: 14px; }
.pk-result-count { font-size: 12px; color: var(--ds-ink-tertiary); margin: 20px 0 8px; }
.pk-product { border-bottom: 1px solid var(--ds-line); }
.pk-product:last-child { border-bottom: 0; }
.pk-product summary { display: flex; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 14px; line-height: 1.5; }
.pk-product summary::-webkit-details-marker { display: none; }
.pk-product-name { flex: 1; min-width: 0; font-weight: 550; color: var(--ds-ink); overflow-wrap: anywhere; }
.pk-brand { font-size: 12px; color: var(--ds-ink-secondary); }
.pk-chevron { width: 16px; height: 16px; flex: 0 0 16px; color: var(--ds-ink-tertiary); transition: transform var(--ds-duration-fast); }
.pk-product[open] .pk-chevron { transform: rotate(90deg); }
.pk-product-body { max-width: 760px; padding: 0 32px 20px 0; }
.pk-product-body p { font-size: 14px; line-height: 1.65; color: var(--ds-ink-secondary); margin: 0 0 16px; overflow-wrap: anywhere; }
.pk-product-body h4 { color: var(--ds-ink); font-size: 13px; font-weight: 650; margin: 20px 0 6px; }
.pk-product-body .pk-reference { font-size: 12px; color: var(--ds-ink-tertiary); margin: 0; }
.pk-more { display: flex; justify-content: center; padding: 8px 0 24px; }
.pk-content > .ui-state { padding: 32px 24px; }
.pk-content [hidden] { display: none !important; }
@media (max-width: 760px) {
  .pk-section-head { flex-wrap: wrap; gap: 8px; }
  .pk-section-head h2 { font-size: 20px; }
  .pk-tabs { padding: 0 16px; }
  .pk-panel { padding: 0 16px; }
  .pk-sources { grid-template-columns: minmax(0, 1fr); }
  .pk-source { padding: 20px 0; }
  .pk-source:nth-last-child(2) { border-bottom: 1px solid var(--ds-line); }
  .pk-filters { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 20px; }
  .pk-filters input, .pk-filters select { height: var(--ds-control-lg); }
  .pk-product summary { flex-wrap: wrap; gap: 4px 12px; position: relative; padding-right: 28px; min-height: 44px; }
  .pk-product-name { flex-basis: 100%; }
  .pk-chevron { position: absolute; right: 0; top: calc(50% - 8px); }
  .pk-product-body { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .pk-chevron { transition: none; } }
