@import "./commons-ui.css";
.knowledge-app {
  --cu-bg: #f3efdf;
  --cu-card: #fffdf2;
  --cu-accent: #e0d597;
}
.knowledge-app .cu-head h1,
.knowledge-app :is(h2, h3) {
  font-family: Georgia, serif;
  font-weight: 500;
}
.pk-library {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 25px;
  border-block: 2px solid var(--cu-ink);
  padding: 16px 0;
}
.pk-library h2 {
  font-size: clamp(32px, 4.6vw, 57px);
}
.pk-map svg {
  display: block;
  width: 100%;
  max-height: 200px;
  background: #e1e4cf;
}
.pk-map span {
  font: 13px var(--cu-mono);
}
.pk-docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pk-docs article {
  border-top: 1px solid var(--cu-line);
  padding: 10px 0;
}
.pk-reading {
  padding: 22px;
  border-top: 3px solid var(--cu-ink);
  background: var(--cu-card);
}
.pk-reading > p {
  font:
    24px/1.5 Georgia,
    serif;
}
.pk-reading footer {
  border-top: 1px solid var(--cu-line);
  margin: 18px 0;
  padding-top: 12px;
}
.knowledge-app .cu-panel,
.knowledge-app .cu-form {
  margin-bottom: 12px;
}
@media (max-width: 660px) {
  .pk-library,
  .pk-docs {
    grid-template-columns: 1fr;
  }
}
.pk-connected {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px dashed var(--cu-line);
  padding-top: 12px;
  margin-top: 14px;
}
.knowledge-app .cu-head h1,
.knowledge-app :is(h2, h3) {
  font-family: system-ui, sans-serif;
}
.pk-library {
  background: var(--fx-sidebar);
  color: var(--fx-text);
}
.pk-library h2 {
  font:
    600 clamp(22px, 3vw, 35px)/1.15 system-ui,
    sans-serif;
}
.pk-evidence {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 8px;
  margin: 12px 0;
}
.pk-evidence article {
  background: var(--fx-sidebar);
  border: 1px solid var(--fx-border);
  border-top: 2px solid var(--fx-accent);
  padding: 12px;
  border-radius: 3px;
}
.pk-evidence h3 {
  font-size: 17px !important;
  margin-top: 5px;
}
.pk-evidence small {
  color: var(--fx-muted);
}
.pk-evidence button[aria-pressed="true"] {
  background: var(--fx-selected);
  color: var(--fx-selected-text);
}
.knowledge-app {
  --pk-blue: #244960;
  --pk-blueink: #e1e9df;
  --pk-sand: #f4edda;
  --pk-sandink: #332e29;
  --pk-rule: #b4ab90;
}
[data-theme="dark"] .knowledge-app {
  --pk-blue: #243e50;
  --pk-blueink: #e1e9df;
  --pk-sand: #383730;
  --pk-sandink: #f0e7d0;
  --pk-rule: #797361;
}
.knowledge-app .cu-head {
  border-bottom: 3px double var(--fx-border);
  padding-bottom: 8px;
}
.knowledge-app .cu-head h1 {
  font:
    500 clamp(24px, 3vw, 39px)/1.1 Georgia,
    serif;
  letter-spacing: -0.035em;
}
.knowledge-app .cu-head p {
  display: none;
}
.knowledge-app .cu-tabs {
  margin: 6px 0 15px;
  padding: 0;
  background: transparent;
  border: 0;
}
.pk-register {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(210px, 0.8fr);
  gap: 13px;
  align-items: stretch;
}
.pk-plan {
  background-color: var(--pk-blue);
  color: var(--pk-blueink);
  padding: 13px 16px;
  border: 4px double var(--pk-blueink);
}
.pk-plan header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 8px;
}
.pk-plan h2 {
  font:
    500 clamp(23px, 3vw, 38px)/1 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0;
}
.pk-plan :is(small, footer),
.pk-indexcard > small,
.pk-filingtab,
.pk-indexcard dt {
  font: 11px/1.4 var(--cu-mono);
}
.pk-plat {
  position: relative;
  height: clamp(240px, 24vw, 350px);
}
.pk-plat svg {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  color: var(--pk-blueink);
}
.pk-sitepin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--pk-blueink);
  font:
    600 11px system-ui,
    sans-serif;
}
.pk-sitepin i {
  width: 10px;
  height: 10px;
  outline: 1px solid var(--pk-blueink);
  background: var(--pk-blue);
  border: 2px solid var(--pk-blue);
  border-radius: 50%;
}
.pk-sitepin span {
  color: var(--pk-blueink);
  background: var(--pk-blue);
  padding: 1px 3px;
}
.pk-sitepin[aria-pressed="true"] i {
  background: #f8d467;
  outline: 2px solid #f8d467;
}
.pk-sitepin[aria-pressed="true"] span {
  color: #f8d467;
}
.pk-plan footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid currentColor;
  padding-top: 5px;
}
.pk-indexcard,
.pk-reading {
  color: var(--pk-sandink);
  background: var(--pk-sand);
  border: 1px solid var(--pk-rule);
  border-top: 4px double var(--pk-rule);
  padding: 20px;
  position: relative;
}
.pk-filingtab {
  font-weight: 650;
  background: var(--pk-sandink);
  color: var(--pk-sand);
  width: fit-content;
  padding: 4px 7px;
  margin-bottom: 18px;
}
.pk-indexcard h3,
.pk-reading h2 {
  font:
    500 clamp(24px, 3vw, 40px)/1.05 Georgia,
    serif;
  margin: 8px 0;
}
.pk-indexcard p {
  font:
    16px/1.45 Georgia,
    serif;
  margin: 10px 0;
}
.pk-indexcard dl {
  border-top: 1px solid var(--pk-rule);
  padding-top: 8px;
}
.pk-indexcard dd {
  margin: 0 0 5px;
  font-size: 13px;
}
.pk-shelf {
  margin-top: 16px;
}
.pk-shelf .cu-button {
  margin: 3px 4px 0 0;
}
.pk-bench > section {
  background: var(--pk-sand);
  color: var(--pk-sandink);
}
@media (max-width: 650px) {
  .pk-register {
    grid-template-columns: 1fr;
  }
  .pk-plan {
    padding: 10px;
  }
  .pk-plat {
    height: 240px;
  }
  .pk-indexcard {
    padding: 14px;
  }
  .pk-filingtab {
    margin-bottom: 6px;
  }
}
.knowledge-app .pk-plan header small {
  color: var(--pk-blueink);
}
