.pd-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 24px;
}
.pd-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.pd-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0;
}
.pd-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.pd-create-btn:hover { background: #1557b0; }
.pd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.pd-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow .2s, border-color .2s;
  cursor: pointer;
  position: relative;
}
.pd-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-color: #cbd5e1;
}
.pd-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f1f1f;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pd-card-meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  gap: 16px;
}
.pd-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pd-card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity .2s;
}
.pd-card:hover .pd-card-actions { opacity: 1; }
.pd-card-actions button {
  background: #f1f5f9;
  border: none;
  border-radius: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  font-size: 16px;
  transition: background .2s;
}
.pd-card-actions button:hover { background: #e2e8f0; }
.pd-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}
.pd-empty .material-symbols-outlined {
  font-size: 48px;
  margin-bottom: 12px;
}
.pd-empty p { margin: 0 0 20px; font-size: 15px; }

/* Modal */
.pd-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
}
.pd-modal {
  background: #fff; border-radius: 16px; width: 400px; max-width: 90vw;
  box-shadow: 0 25px 50px rgba(0,0,0,.2);
  animation: pdModalIn .2s ease-out;
}
@keyframes pdModalIn { from { transform: scale(.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pd-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 0;
}
.pd-modal-header h2 { margin: 0; font-size: 18px; font-weight: 600; }
.pd-modal-close {
  background: none; border: none; cursor: pointer; color: #64748b; padding: 4px;
  border-radius: 6px;
}
.pd-modal-close:hover { background: #f1f5f9; }
.pd-modal-body { padding: 20px 24px; }
.pd-modal-body label {
  display: block; font-size: 13px; font-weight: 500; color: #475569; margin-bottom: 6px;
}
.pd-modal-body input {
  width: 100%; padding: 10px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: 14px; font-family: inherit; box-sizing: border-box;
  outline: none; transition: border-color .2s;
}
.pd-modal-body input:focus { border-color: #1a73e8; box-shadow: 0 0 0 3px rgba(26,115,232,.1); }
.pd-modal-footer {
  display: flex; justify-content: flex-end; gap: 8px; padding: 0 24px 20px;
}
.pd-btn-cancel, .pd-btn-confirm {
  padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit;
}
.pd-btn-cancel {
  background: #f1f5f9; border: none; color: #475569;
}
.pd-btn-cancel:hover { background: #e2e8f0; }
.pd-btn-confirm {
  background: #1a73e8; border: none; color: #fff;
}
.pd-btn-confirm:hover { background: #1557b0; }
