.pzst-public {
  width: 100%;
}

.pzst-folder-grid,
.pzst-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}

.pzst-folder-card,
.pzst-file-card {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line, #dbe6f2);
  border-radius: 8px;
  color: inherit;
  background: #fff;
  box-shadow: 0 7px 18px rgba(9, 35, 68, 0.06);
  text-align: left;
  text-decoration: none;
}

.pzst-file-card {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.pzst-folder-card strong,
.pzst-file-card strong {
  overflow-wrap: anywhere;
}

.pzst-folder-card span,
.pzst-file-card strong {
  color: #63718a;
}

.pzst-folder-icon {
  display: block;
  width: 48px;
  height: 38px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, #ffd667 0 30%, #f3b329 31%),
    linear-gradient(90deg, #f6c54c 0 45%, transparent 46%);
}

.pzst-thumb {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1.25;
  place-items: center;
  border-radius: 8px;
  background: #eef3f8;
}

.pzst-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pzst-document-icon {
  width: 58px;
  height: 72px;
  border: 2px solid #8ca6bf;
  border-radius: 6px;
  background: linear-gradient(135deg, #fff 0 74%, #dbe8f5 75%);
}

.pzst-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #63718a;
  font-weight: 750;
}

.pzst-breadcrumb a {
  color: var(--blue-dark, #098ee7);
}

.pzst-subfolders {
  margin-bottom: 18px;
}

.pzst-empty {
  padding: 18px;
  border: 1px dashed #cdd8e3;
  border-radius: 8px;
  background: #fff;
}

body.pzst-lightbox-open {
  overflow: hidden;
}

.pzst-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pzst-lightbox.is-open {
  display: flex;
}

.pzst-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 8, 18, 0.78);
}

.pzst-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: min(92vh, 900px);
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.pzst-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #071d3c;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.pzst-lightbox-stage {
  display: grid;
  min-height: 300px;
  place-items: center;
}

.pzst-lightbox-stage img,
.pzst-lightbox-stage iframe {
  max-width: 100%;
  max-height: 78vh;
}

.pzst-lightbox-stage iframe {
  width: 100%;
  height: 78vh;
  border: 0;
}

.pzst-lightbox-dialog p {
  margin: 12px 0 0;
  color: #344b68;
  font-weight: 800;
}
