.pd-sd,
.pd-sd-panel {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a202c;
}

.pd-sd h1,
.pd-sd-panel h2,
.pd-sd-name,
.pd-sd-name a {
  color: #0002AF;
}

.pd-sd h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

.pd-sd-disclaimer,
.pd-sd-panel-note,
.pd-sd-summary {
  max-width: 46rem;
  line-height: 1.5;
}

.pd-sd-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  align-items: end;
}

.pd-sd-filters label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.pd-sd-filters input,
.pd-sd-filters select,
.pd-sd-claim input,
.pd-sd-claim textarea,
.pd-sd-claim select {
  font: inherit;
  padding: 0.45rem 0.5rem;
  border: 1px solid #c5c9d6;
  border-radius: 4px;
}

.pd-sd-filters button,
.pd-sd-claim button,
.pd-sd-filters a {
  font: inherit;
}

.pd-sd-filters button,
.pd-sd-claim button {
  background: #0002AF;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.pd-sd-filters a {
  color: #0002AF;
  align-self: center;
}

.pd-sd-list {
  display: grid;
  gap: 1rem;
}

.pd-sd-card,
.pd-sd-profile {
  border: 1px solid #e2e6ef;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background: #fff;
}

.pd-sd-panel {
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border: 2px solid #0002AF;
  border-radius: 8px;
  background: #f7f8ff;
}

.pd-sd-panel h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.pd-sd-panel-note {
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
}

.pd-sd-panel-list {
  gap: 0.55rem;
}

.pd-sd-panel .pd-sd-card {
  padding: 0.55rem 0.7rem;
}

.pd-sd-panel .pd-sd-name {
  font-size: 1.05rem;
}

.pd-sd-panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
}

.pd-sd-panel-links a {
  color: #0002AF;
}

.entry-content .pd-sd-card h2.pd-sd-name,
.pd-sd .pd-sd-card h2.pd-sd-name {
  margin: 0 0 0.2rem;
}

.entry-content .pd-sd-card p,
.pd-sd .pd-sd-card p {
  margin: 0.15rem 0;
}

.entry-content .pd-sd-card > :first-child,
.pd-sd .pd-sd-card > :first-child {
  margin-top: 0;
}

.entry-content .pd-sd-card > :last-child,
.pd-sd .pd-sd-card > :last-child {
  margin-bottom: 0;
}

.entry-content .pd-sd-card .pd-sd-sponsored,
.pd-sd .pd-sd-card .pd-sd-sponsored {
  margin: 0 0 0.25rem;
}

.entry-content .pd-sd-profile h2,
.pd-sd .pd-sd-profile h2 {
  margin: 0.45rem 0 0.15rem;
  font-size: 1.05rem;
}

.entry-content .pd-sd-profile p,
.pd-sd .pd-sd-profile p {
  margin: 0.15rem 0;
}

.entry-content .pd-sd-profile > :first-child,
.pd-sd .pd-sd-profile > :first-child {
  margin-top: 0;
}

.entry-content .pd-sd-profile > :last-child,
.pd-sd .pd-sd-profile > :last-child {
  margin-bottom: 0;
}

.pd-sd-sponsored {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.1rem 0.45rem;
  border: 1px solid #8a6a12;
  border-radius: 999px;
  background: #fff4d6;
  color: #5c4508;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pd-sd-name {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.pd-sd-meta,
.pd-sd-location,
.pd-sd-status,
.pd-sd-links,
.pd-sd-kicker {
  margin: 0.25rem 0;
  line-height: 1.45;
}

.pd-sd-meta span,
.pd-sd-location span,
.pd-sd-tools span {
  font-weight: 700;
}

.pd-sd-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-sd-links a,
.pd-sd-resources a,
.pd-sd a {
  color: #0002AF;
}

.pd-sd-links a:focus,
.pd-sd-filters button:focus,
.pd-sd-filters a:focus,
.pd-sd-claim button:focus,
.pd-sd-claim input:focus,
.pd-sd-claim textarea:focus,
.pd-sd-claim select:focus {
  outline: 2px solid #565FFF;
  outline-offset: 2px;
}

.pd-sd-status span {
  display: inline-block;
  margin-right: 0.75rem;
}

.pd-sd-claim {
  margin-top: 1.5rem;
  padding: 1rem;
  border-top: 1px solid #e2e6ef;
}

.pd-sd-claim h2 {
  margin-top: 0;
  color: #0002AF;
  font-size: 1.2rem;
}

.pd-sd-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pd-sd-notice {
  padding: 0.6rem 0.75rem;
  background: #eef2ff;
  border-left: 4px solid #0002AF;
}

.pd-sd-logo img {
  max-width: 12rem;
  height: auto;
}

.pd-sd-admin-history {
  width: 100%;
  border-collapse: collapse;
}

.pd-sd-admin-history th,
.pd-sd-admin-history td {
  border-bottom: 1px solid #dcdcde;
  padding: 0.35rem 0.4rem;
  text-align: left;
  vertical-align: top;
}

@media (max-width: 640px) {
  .pd-sd-filters {
    grid-template-columns: 1fr;
  }
}
