.pdl {
  --ink: #213345;
  --accent: #126760;
  box-sizing: border-box;
  max-width: 40rem;
  margin: 1.5rem auto;
  padding: clamp(1rem, 4vw, 2rem);
  color: var(--ink);
  background: linear-gradient(155deg, #effaf7 0, #fff 42%);
  border: 1px solid #d4e3df;
  border-radius: 1.4rem;
  box-shadow: 0 12px 38px #21334512;
  font: inherit;
  line-height: 1.8;
  text-align: start;
}
.pdl *, .pdl *::before, .pdl *::after { box-sizing: border-box; }
.pdl [hidden] { display: none !important; }
.pdl h2 { margin: .55rem 0; font-size: clamp(1.35rem, 5vw, 1.9rem); }
.pdl header p { margin: 0 0 1.2rem; }
.pdl-tag {
  display: inline-block;
  padding: .1rem .8rem;
  border-radius: 2rem;
  color: #10554e;
  background: #d4f2e9;
  font-weight: 700;
}
.pdl-form, .pdl-form label:not(.pdl-check) { display: grid; gap: .45rem; }
.pdl-form { gap: 1rem; }
.pdl-upload {
  padding: 1rem;
  background: #f6fbfa;
  border: 2px dashed #79aaa2;
  border-radius: 1rem;
}
.pdl input:not([type="checkbox"]), .pdl select, .pdl button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  font: inherit;
  font-size: 1rem;
}
.pdl input[type="number"], .pdl select {
  padding: .4rem .75rem;
  border: 1px solid #a8bab8;
  border-radius: .65rem;
  background: white;
  color: var(--ink);
}
.pdl input[type="file"] { max-width: 100%; }
.pdl-preview {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: contain;
  border-radius: .8rem;
  background: #f5f7f8;
}
.pdl-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.pdl-check { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; }
.pdl-check input { flex: none; width: 20px; height: 20px; margin-top: .3rem; }
.pdl button {
  padding: .65rem 1rem;
  color: white;
  background: var(--accent);
  border: 0;
  border-radius: .8rem;
  cursor: pointer;
  font-weight: 700;
}
.pdl button:disabled { opacity: .65; cursor: wait; }
.pdl :focus-visible { outline: 3px solid #237ba5; outline-offset: 3px; }
.pdl-status { margin: 0; }
.pdl-status:empty { display: none; }
.pdl-result {
  margin-top: 1rem;
  padding: 1rem;
  background: #f2f8ff;
  border-radius: 1rem;
}
.pdl-result h3 { margin-top: 0; }
.pdl-result div { white-space: pre-wrap; overflow-wrap: anywhere; }
.pdl footer, .pdl small { color: #49605e; font-size: .88rem; }
.pdl footer { margin-top: 1.2rem; }
@media (max-width: 380px) {
  .pdl-row { grid-template-columns: 1fr; }
}