:root {
  --pmv-ink: var(--pm-ink, #1d2424);
  --pmv-muted: var(--pm-ink-soft, #53605e);
  --pmv-paper: var(--pm-paper, #fbf6ec);
  --pmv-card: var(--pm-card, #fffdf8);
  --pmv-line: var(--pm-line, rgba(29, 36, 36, 0.14));
  --pmv-line-strong: var(--pm-line-strong, rgba(29, 36, 36, 0.24));
  --pmv-forest: var(--pm-forest, #244f3d);
  --pmv-ocean: var(--pm-ocean, #147d7a);
  --pmv-coral: var(--pm-coral, #cf6f5d);
  --pmv-amber: var(--pm-amber, #d69a43);
  --pmv-shadow: var(--pm-shadow, 0 18px 44px rgba(29, 36, 36, 0.12));
  --pmv-focus: 0 0 0 3px color-mix(in srgb, var(--pmv-ocean) 36%, transparent);
}

.pmv-vault,
.pmv-access-shell,
.pmv-login-gate,
.pmv-state {
  width: min(1280px, calc(100% - 40px));
  max-width: none !important;
  margin: 0 auto;
  color: var(--pmv-ink);
}

.pmv-eyebrow,
.pmv-kicker {
  margin: 0 0 12px;
  color: var(--pmv-ocean);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  line-height: 1.25;
  text-transform: uppercase;
}

.pmv-lede {
  color: var(--pmv-muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  line-height: 1.7;
}

.pmv-button,
.pmv-secondary-button,
.pmv-login-card input[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--pm-button-bg, linear-gradient(135deg, var(--pmv-forest), var(--pmv-ocean)));
  color: #fff !important;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  line-height: 1.2;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pmv-button:hover,
.pmv-login-card input[type="submit"]:hover {
  box-shadow: 0 11px 24px color-mix(in srgb, var(--pmv-ocean) 22%, transparent);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.pmv-button:focus-visible,
.pmv-secondary-button:focus-visible,
.pmv-login-card input:focus-visible,
.pmv-request-form input:focus-visible,
.pmv-request-form textarea:focus-visible,
.pmv-toolbar input:focus-visible,
.pmv-toolbar select:focus-visible,
.pmv-model-visual:focus-visible,
.pmv-text-button:focus-visible,
.pmv-clear:focus-visible {
  outline: none;
  box-shadow: var(--pmv-focus);
}

.pmv-secondary-button {
  border-color: color-mix(in srgb, #fff 55%, transparent);
  background: transparent;
}

.pmv-button--wide {
  width: 100%;
}

/* Access and sign-in */
.pmv-access-shell,
.pmv-login-gate {
  display: grid;
  min-height: min(760px, calc(100vh - 120px));
  grid-template-columns: minmax(0, 1.12fr) minmax(380px, 0.76fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
  padding: 72px 0 100px;
}

.pmv-access-story,
.pmv-login-story {
  position: relative;
  isolation: isolate;
  padding: clamp(24px, 4vw, 56px) 0;
}

.pmv-access-story::before,
.pmv-login-story::before {
  position: absolute;
  z-index: -1;
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  border: 1px solid color-mix(in srgb, var(--pmv-ocean) 24%, transparent);
  border-radius: 48% 52% 60% 40%;
  background:
    radial-gradient(circle at 28% 34%, color-mix(in srgb, var(--pmv-ocean) 18%, transparent), transparent 46%),
    radial-gradient(circle at 68% 62%, color-mix(in srgb, var(--pmv-coral) 14%, transparent), transparent 52%);
  content: "";
  inset: 50% auto auto -18%;
  opacity: 0.76;
  transform: translateY(-50%) rotate(-8deg);
}

.pmv-access-story h1,
.pmv-login-story h1,
.pmv-state h1 {
  max-width: 820px;
  margin: 0 0 22px;
  font-family: var(--pm-serif, Georgia, serif);
  font-size: clamp(3rem, 7.4vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.pmv-access-story > .pmv-lede,
.pmv-login-story > p:not(.pmv-eyebrow) {
  max-width: 660px;
}

.pmv-access-promises {
  display: grid;
  max-width: 690px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--pmv-line);
  border-bottom: 1px solid var(--pmv-line);
}

.pmv-access-promises > div {
  display: grid;
  gap: 7px;
  padding: 24px 20px 24px 0;
}

.pmv-access-promises > div + div {
  border-left: 1px solid var(--pmv-line);
  padding-left: 20px;
}

.pmv-access-promises span {
  color: var(--pmv-coral);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.pmv-access-promises strong {
  font-size: 1rem;
}

.pmv-access-promises small {
  color: var(--pmv-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.pmv-access-card,
.pmv-login-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--pmv-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--pmv-card) 94%, transparent);
  box-shadow: var(--pmv-shadow);
}

.pmv-access-card::before,
.pmv-login-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pmv-forest), var(--pmv-ocean), var(--pmv-coral), var(--pmv-amber));
  content: "";
}

.pmv-access-card h2,
.pmv-login-card h2 {
  margin: 0 0 26px;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.pmv-request-form label,
.pmv-login-card label {
  display: block;
  margin: 0 0 17px;
  color: var(--pmv-ink);
  font-size: 0.83rem;
  font-weight: 760;
}

.pmv-request-form label > span:not(.pmv-check span) {
  color: var(--pmv-muted);
  font-weight: 500;
}

.pmv-request-form input:not([type="checkbox"]),
.pmv-request-form textarea,
.pmv-login-card input[type="text"],
.pmv-login-card input[type="password"] {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  border: 1px solid var(--pmv-line-strong);
  border-radius: 6px;
  background: var(--pm-input-bg, #fff);
  color: var(--pmv-ink);
  font: inherit;
  padding: 11px 12px;
}

.pmv-request-form textarea {
  min-height: 120px;
  resize: vertical;
}

.pmv-request-form label small {
  display: block;
  margin-top: 5px;
  color: var(--pmv-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.pmv-request-form .pmv-check,
.pmv-login-card .login-remember label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--pmv-muted);
  font-weight: 520;
  line-height: 1.5;
}

.pmv-check input,
.pmv-login-card .login-remember input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--pmv-ocean);
}

.pmv-honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pmv-form-note,
.pmv-help-link {
  display: block;
  margin: 18px 0 0;
  color: var(--pmv-muted);
  font-size: 0.82rem;
  text-align: center;
}

.pmv-login-card .login-submit {
  margin-bottom: 0;
}

.pmv-login-card input[type="submit"] {
  width: 100%;
}

.pmv-notice {
  margin: 0 0 20px;
  border-left: 4px solid var(--pmv-coral);
  background: color-mix(in srgb, var(--pmv-coral) 10%, var(--pmv-card));
  padding: 12px 14px;
  font-size: 0.85rem;
}

.pmv-state {
  max-width: 880px;
  padding: clamp(90px, 12vw, 170px) 0;
  text-align: center;
}

.pmv-state h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.pmv-state > p:not(.pmv-eyebrow) {
  max-width: 620px;
  margin: 0 auto 26px;
  color: var(--pmv-muted);
  font-size: 1.1rem;
}

/* Member vault */
.pmv-vault {
  padding: 54px 0 100px;
}

.pmv-vault-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 42px;
  align-items: end;
  padding: 34px 0 44px;
  border-bottom: 1px solid var(--pmv-line);
}

.pmv-vault-heading h1 {
  margin: 0 0 18px;
  font-family: var(--pm-serif, Georgia, serif);
  font-size: clamp(3.6rem, 8vw, 8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.pmv-vault-heading .pmv-lede {
  max-width: 720px;
  margin: 0;
}

.pmv-member-card {
  display: grid;
  min-width: 190px;
  gap: 2px;
  border-left: 2px solid var(--pmv-ocean);
  padding: 3px 0 3px 17px;
}

.pmv-member-card span,
.pmv-member-card a {
  color: var(--pmv-muted);
  font-size: 0.74rem;
}

.pmv-member-card strong {
  font-size: 1rem;
}

.pmv-vault-stats {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, max-content);
  gap: 34px;
  padding-top: 4px;
}

.pmv-vault-stats div {
  display: grid;
  gap: 1px;
}

.pmv-vault-stats strong {
  font-size: 1rem;
  font-weight: 780;
}

.pmv-vault-stats span {
  color: var(--pmv-muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pmv-nerc-feature {
  display: grid;
  overflow: hidden;
  min-height: 410px;
  grid-template-columns: minmax(340px, 1.15fr) minmax(320px, 0.85fr);
  margin: 44px 0 74px;
  border: 1px solid color-mix(in srgb, var(--pmv-ocean) 36%, var(--pmv-line));
  border-radius: 12px;
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--pmv-ocean) 24%, transparent), transparent 35%),
    linear-gradient(135deg, color-mix(in srgb, var(--pmv-forest) 18%, var(--pmv-card)), var(--pmv-card));
  box-shadow: var(--pmv-shadow);
}

.pmv-nerc-image {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.pmv-nerc-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 72%, color-mix(in srgb, var(--pmv-card) 90%, transparent));
  content: "";
}

.pmv-nerc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmv-nerc-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 68px);
}

.pmv-nerc-copy h2,
.pmv-section-heading h2 {
  margin: 0 0 18px;
  font-family: var(--pm-serif, Georgia, serif);
  font-size: clamp(2.2rem, 4.2vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.pmv-nerc-copy > p:not(.pmv-eyebrow) {
  margin: 0;
  color: var(--pmv-muted);
  line-height: 1.7;
}

.pmv-text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--pmv-ocean);
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  padding: 4px 0;
}

.pmv-text-button--status {
  border-bottom-style: dotted;
  cursor: default;
}

.pmv-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.pmv-section-heading h2 {
  margin-bottom: 0;
}

.pmv-section-heading > p {
  margin: 0 0 7px;
  color: var(--pmv-muted);
  font-size: 0.82rem;
}

.pmv-toolbar {
  position: sticky;
  z-index: 8;
  top: 78px;
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(145px, 0.72fr)) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 28px;
  border-top: 1px solid var(--pmv-line);
  border-bottom: 1px solid var(--pmv-line);
  background: color-mix(in srgb, var(--pmv-paper) 92%, transparent);
  backdrop-filter: blur(18px);
  padding: 14px 0;
}

.pmv-toolbar label {
  display: grid;
  gap: 5px;
  color: var(--pmv-muted);
  font-size: 0.67rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pmv-toolbar input,
.pmv-toolbar select {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--pmv-line-strong);
  border-radius: 6px;
  background: var(--pm-input-bg, #fff);
  color: var(--pmv-ink);
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: normal;
  padding: 9px 11px;
  text-transform: none;
}

.pmv-clear {
  min-height: 43px;
  border: 0;
  background: transparent;
  color: var(--pmv-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  padding: 8px 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.pmv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 34px 20px;
}

.pmv-model-card {
  min-width: 0;
}

.pmv-model-card[hidden] {
  display: none;
}

.pmv-model-visual {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--pmv-line);
  border-radius: 9px;
  background: #dfe5df;
  cursor: pointer;
  padding: 0;
}

.pmv-model-visual::after {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  content: "";
  transition: border-color 170ms ease, background 170ms ease;
}

.pmv-model-visual:hover::after {
  border-color: color-mix(in srgb, var(--pmv-ocean) 54%, transparent);
  background: color-mix(in srgb, var(--pmv-ocean) 5%, transparent);
}

.pmv-model-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.pmv-model-card:hover .pmv-model-visual img {
  transform: scale(1.025);
}

.pmv-card-index,
.pmv-card-collection {
  position: absolute;
  z-index: 2;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pmv-card-index {
  right: 12px;
  bottom: 10px;
  opacity: 0.76;
}

.pmv-card-collection {
  top: 12px;
  left: 12px;
  border-left: 2px solid #80d8d1;
  background: rgba(9, 18, 25, 0.78);
  padding: 7px 9px;
}

.pmv-model-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-content: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pmv-forest) 72%, #16232a), color-mix(in srgb, var(--pmv-ocean) 55%, #182337));
  color: #fff;
  text-align: center;
}

.pmv-model-placeholder b {
  font-family: var(--pm-serif, Georgia, serif);
  font-size: 3rem;
}

.pmv-model-placeholder small {
  opacity: 0.75;
}

.pmv-model-body {
  padding: 16px 3px 0;
}

.pmv-model-overline,
.pmv-model-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--pmv-muted);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pmv-model-overline span:first-child {
  color: var(--pmv-ocean);
  font-weight: 800;
}

.pmv-model-body h3 {
  margin: 8px 0 7px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.pmv-model-body > p {
  min-height: 2.9em;
  margin: 0;
  color: var(--pmv-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.pmv-model-footer {
  margin-top: 15px;
  border-top: 1px solid var(--pmv-line);
  padding-top: 12px;
  letter-spacing: normal;
  text-transform: none;
}

.pmv-model-footer a {
  color: var(--pmv-ocean);
  font-weight: 800;
  text-decoration: none;
}

.pmv-review-status {
  color: var(--pmv-coral);
  font-weight: 720;
}

.pmv-empty {
  display: grid;
  min-height: 240px;
  place-content: center;
  gap: 7px;
  color: var(--pmv-muted);
  text-align: center;
}

.pmv-empty[hidden] {
  display: none;
}

.pmv-empty strong {
  color: var(--pmv-ink);
  font-size: 1.2rem;
}

.pmv-vault-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 78px;
  border-top: 1px solid var(--pmv-line);
  padding: 28px 0;
  color: var(--pmv-muted);
  font-size: 0.82rem;
}

.pmv-vault-footer strong {
  color: var(--pmv-ink);
}

/* Detail viewer */
.pmv-dialog {
  overflow: hidden;
  width: min(1040px, calc(100vw - 32px));
  max-height: min(860px, calc(100vh - 32px));
  border: 1px solid var(--pmv-line);
  border-radius: 13px;
  background: var(--pmv-card);
  color: var(--pmv-ink);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  padding: 0;
}

.pmv-dialog::backdrop {
  background: rgba(7, 10, 16, 0.76);
  backdrop-filter: blur(7px);
}

.pmv-dialog-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
}

.pmv-dialog-media {
  display: grid;
  min-height: 550px;
  grid-template-rows: 1fr auto;
  background: #101722;
}

.pmv-dialog-hero {
  width: 100%;
  height: 100%;
  max-height: 650px;
  object-fit: contain;
}

.pmv-dialog-thumbs {
  display: flex;
  overflow-x: auto;
  gap: 7px;
  padding: 10px;
}

.pmv-dialog-thumb {
  width: 74px;
  height: 55px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #1b2634;
  cursor: pointer;
  padding: 0;
}

.pmv-dialog-thumb.is-active {
  border-color: #80d8d1;
}

.pmv-dialog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pmv-dialog-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
}

.pmv-dialog-copy h2 {
  margin: 0 0 16px;
  font-family: var(--pm-serif, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.pmv-dialog-description {
  color: var(--pmv-muted);
  line-height: 1.7;
}

.pmv-dialog-facts {
  display: grid;
  gap: 0;
  margin: 24px 0;
  border-top: 1px solid var(--pmv-line);
}

.pmv-dialog-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--pmv-line);
  padding: 10px 0;
  font-size: 0.82rem;
}

.pmv-dialog-facts dt {
  color: var(--pmv-muted);
}

.pmv-dialog-facts dd {
  margin: 0;
  font-weight: 720;
}

.pmv-dialog-actions {
  margin-top: auto;
}

.pmv-dialog-close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(8, 13, 20, 0.8);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
}

:root[data-theme="dark"] .pmv-model-visual {
  background: #11172a;
}

@media (max-width: 1040px) {
  .pmv-toolbar {
    grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(145px, 1fr));
  }

  .pmv-toolbar label:nth-of-type(4) {
    grid-column: 1 / 2;
  }

  .pmv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .pmv-access-shell,
  .pmv-login-gate {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0 74px;
  }

  .pmv-access-story::before,
  .pmv-login-story::before {
    width: 430px;
    height: 430px;
    left: -34%;
  }

  .pmv-access-story h1,
  .pmv-login-story h1 {
    font-size: clamp(3.3rem, 15vw, 6rem);
  }

  .pmv-vault-hero {
    grid-template-columns: 1fr;
  }

  .pmv-member-card {
    min-width: 0;
  }

  .pmv-nerc-feature {
    grid-template-columns: 1fr;
  }

  .pmv-nerc-image {
    min-height: 320px;
  }

  .pmv-nerc-image::after {
    background: linear-gradient(180deg, transparent 70%, var(--pmv-card));
  }

  .pmv-nerc-copy {
    margin-top: -18px;
    padding-top: 22px;
  }

  .pmv-toolbar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .pmv-search {
    grid-column: 1 / -1;
  }

  .pmv-dialog-shell {
    display: block;
    overflow-y: auto;
    max-height: calc(100vh - 32px);
  }

  .pmv-dialog-media {
    min-height: 380px;
  }
}

@media (max-width: 580px) {
  .pmv-vault,
  .pmv-access-shell,
  .pmv-login-gate,
  .pmv-state {
    width: min(100% - 28px, 1280px);
  }

  .pmv-access-promises {
    grid-template-columns: 1fr;
  }

  .pmv-access-promises > div,
  .pmv-access-promises > div + div {
    border-left: 0;
    padding: 16px 0;
  }

  .pmv-access-promises > div + div {
    border-top: 1px solid var(--pmv-line);
  }

  .pmv-vault {
    padding-top: 28px;
  }

  .pmv-vault-heading h1 {
    font-size: clamp(3.6rem, 20vw, 5.6rem);
  }

  .pmv-vault-stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .pmv-vault-stats div:last-child {
    grid-column: 1 / -1;
  }

  .pmv-nerc-feature {
    margin: 28px 0 58px;
  }

  .pmv-nerc-image {
    min-height: 245px;
  }

  .pmv-section-heading {
    display: block;
  }

  .pmv-section-heading > p {
    margin-top: 8px;
  }

  .pmv-toolbar {
    grid-template-columns: 1fr;
  }

  .pmv-search,
  .pmv-toolbar label:nth-of-type(4) {
    grid-column: auto;
  }

  .pmv-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pmv-model-body > p {
    min-height: 0;
  }

  .pmv-vault-footer {
    display: grid;
  }

  .pmv-dialog-media {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pmv-button,
  .pmv-model-visual img {
    transition: none;
  }
}
