.pd-panel { min-width: 0; }
.pd-header {
  gap: 8px 15px;
  padding: 13px 16px;
  border-left: 3px solid var(--brand-orange);
}
.pd-header div { min-width: 0; }
.pd-header p, .pd-load, .pd-empty p, .pd-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.pd-header p { margin-top: 3px; }
.pd-tools, .pd-editor-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.pd-tools .button svg, .pd-row .button svg { width: 15px; height: 15px; }
.pd-breadcrumbs {
  padding: 6px 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfe;
}
.pd-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pd-crumb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
}
.pd-crumb svg { width: 12px; height: 12px; }
.pd-current, .pd-crumb-link { min-width: 0; overflow-wrap: anywhere; }
.pd-current { color: var(--ink); font-weight: 730; }
.pd-crumb-link {
  min-height: 33px;
  padding: 1px 0;
  border: 0;
  background: transparent;
  color: var(--steel);
  font-weight: 650;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-load,
.pd-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 18px 16px;
}
.pd-empty h3 { margin: 0 0 2px; font-size: 15px; line-height: 1.3; }
.pd-empty-icon,
.pd-row-icon {
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #dae5ef;
  background: #eef4f9;
  color: var(--steel);
}
.pd-empty-icon { width: 42px; height: 42px; }
.pd-row-icon { width: 33px; height: 33px; }
.pd-row-icon svg { width: 17px; height: 17px; }

.pd-editor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: end;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #f7faff;
}
.pd-editor .field { flex: 1 1 220px; max-width: 410px; }
.pd-editor-actions .button { min-height: 42px; }
.pd-form-error { flex-basis: 100%; margin: 0; }
.pd-feedback:not(:empty) {
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.pd-group { padding: 13px 16px; }
.pd-group + .pd-group { border-top: 1px solid #e8edf3; }
.pd-group > h3 { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.pd-folders, .pd-files { margin: 0; padding: 0; list-style: none; }
.pd-folders {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
  gap: 8px;
}
.pd-folder {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 53px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #f6f9fd;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  font-weight: 720;
}
.pd-folder:hover:not(:disabled) { border-color: #9bb7d0; background: #edf5fc; }
.pd-folder span { overflow-wrap: anywhere; }
.pd-folder svg:first-child { width: 21px; height: 21px; color: #aa5b20; fill: #f8e3ca; }
.pd-folder svg:last-child { width: 14px; height: 14px; color: var(--muted); }
.pd-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 10px;
  min-width: 0;
  padding: 8px 0;
}
.pd-row + .pd-row { border-top: 1px solid #e8edf3; }
.pd-item-copy { min-width: 0; }
.pd-title { color: var(--ink); font-size: 14px; font-weight: 690; overflow-wrap: anywhere; }
.pd-meta { display: flex; flex-wrap: wrap; column-gap: 8px; }
.pd-meta time:not(:first-child)::before { content: "·"; padding-inline-end: 8px; }
.pd-row .button, .pd-load .button {
  min-height: 38px;
  padding: 5px 8px;
  font-size: 13px;
}
@media (max-width: 620px) {
  .pd-header, .pd-breadcrumbs, .pd-load, .pd-empty, .pd-editor, .pd-group, .pd-feedback:not(:empty) { padding-inline: 12px; }
  .pd-header .button, .pd-row .button { min-height: 42px; }
}
@media (max-width: 375px) {
  .pd-row { grid-template-columns: minmax(0, 1fr) auto; }
  .pd-row-icon { display: none; }
}
