.pd-tools {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a202c;
  display: grid;
  gap: 1.75rem;
}

.pd-tools__group {
  display: grid;
  gap: 0.75rem;
}

.pd-tools__heading {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  color: #0002AF;
  font-weight: 700;
}

.pd-tools__intro,
.pd-tools__empty {
  margin: 0;
  max-width: 42rem;
  line-height: 1.45;
}

.pd-tools__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.pd-tools__grid > li {
  display: flex;
  margin: 0;
  padding: 0;
}

.pd-tools__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  width: 100%;
  min-height: 8.5rem;
  box-sizing: border-box;
  padding: 1rem 1rem 0.9rem;
  border: 2px solid #2B6CB0;
  border-radius: 10px;
  background: #fff;
  color: #1a202c;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0, 2, 175, 0.06);
}

a.pd-tools__tile:hover {
  background: #f4f8fc;
  border-color: #0002AF;
}

a.pd-tools__tile:focus-visible,
.pd-tools__action:focus-visible {
  outline: 3px solid #0002AF;
  outline-offset: 2px;
}

.pd-tools__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0002AF;
}

.pd-tools__icon {
  margin-right: 0.35rem;
}

.pd-tools__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #1a202c;
}

.pd-tools__tile--soon,
.pd-tools__tile--locked {
  border-color: #c5cad1;
  background: #f3f4f6;
  box-shadow: none;
}

.pd-tools__tile--soon .pd-tools__title,
.pd-tools__tile--locked .pd-tools__title,
.pd-tools__tile--soon .pd-tools__text,
.pd-tools__tile--locked .pd-tools__text {
  color: #3d4654;
}

.pd-tools__meta {
  margin: 0.2rem 0 0;
  margin-top: auto;
}

.pd-tools__badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #e4e7ec;
  color: #3d4654;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pd-tools__badge--open {
  background: #e7eefc;
  color: #0002AF;
}

.pd-tools__badge--members {
  background: #e5f2ea;
  color: #1b5e32;
}

.pd-tools__badge--beta {
  background: #fff3df;
  color: #8a4b08;
}

.pd-tools__badge--paid {
  background: #f6e9f6;
  color: #6b2d6b;
}

.pd-tools__action {
  margin-left: 0.45rem;
  color: #2B6CB0;
  font-weight: 700;
}

@media (min-width: 481px) {
  .pd-tools__grid {
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  }
}

.pd-tools-panel {
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  border: 2px solid #0002AF;
  border-radius: 8px;
  background: #f7f8ff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a202c;
}

.pd-tools-panel__title,
.entry-content .pd-tools-panel h2.pd-tools-panel__title {
  margin: 0 0 0.55rem;
  padding: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0002AF;
}

.pd-tools-panel__list,
.entry-content .pd-tools-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.pd-tools-panel__list > li,
.entry-content .pd-tools-panel__list > li {
  display: flex;
  margin: 0;
  padding: 0;
}

.pd-tools-panel__tile,
.entry-content a.pd-tools-panel__tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 2px solid #2B6CB0;
  border-radius: 10px;
  background: #fff;
  color: #1a202c;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(0, 2, 175, 0.06);
}

a.pd-tools-panel__tile:hover {
  background: #f4f8fc;
  border-color: #0002AF;
}

a.pd-tools-panel__tile:focus-visible {
  outline: 3px solid #0002AF;
  outline-offset: 2px;
}

.pd-tools-panel__name {
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0002AF;
}

.pd-tools-panel__text {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #1a202c;
}

@media (min-width: 481px) {
  .pd-tools-panel__list,
  .entry-content .pd-tools-panel__list {
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  }
}

.pd-tools__find {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
}

.pd-tools__find-label {
  font-weight: 700;
  color: #0002AF;
}

.pd-tools__find input[type="search"] {
  flex: 1 1 14rem;
  min-width: 12rem;
  padding: 0.45rem 0.6rem;
  border: 2px solid #2B6CB0;
  border-radius: 8px;
  font: inherit;
}

.pd-tools__find button,
.pd-tools__task {
  padding: 0.4rem 0.7rem;
  border: 2px solid #2B6CB0;
  border-radius: 999px;
  background: #fff;
  color: #0002AF;
  font: inherit;
  text-decoration: none;
}

.pd-tools__find button {
  cursor: pointer;
}

.pd-tools__tasks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pd-tools__task.is-current {
  background: #0002AF;
  color: #fff;
  border-color: #0002AF;
}

.pd-tools__view {
  margin: 0;
}

.pd-tools__task:focus-visible,
.pd-tools__find button:focus-visible,
.pd-tools__find input:focus-visible {
  outline: 3px solid #0002AF;
  outline-offset: 2px;
}
