/* syad-kit file-preview-express: the preview's own fp- classes. Only ui-kit's --ui- variables.
   1.0.3: heights use ui-kit-express 1.4.0's --ui-vh, 75 hundredths of the screen at every text
   size (a plain 75vh is zoomed with the page and ran past the window at Larger and Largest);
   without --ui-vh it falls back to 1vh, as in 1.0.2. */
.fp-image { margin: 0; display: grid; place-items: center; }
.fp-image img { max-width: 100%; max-height: calc(75 * var(--ui-vh, 1vh)); border-radius: var(--ui-radius); }
.fp-pdf, .fp-doc iframe { display: block; width: 100%; height: calc(75 * var(--ui-vh, 1vh)); border: 0; border-radius: var(--ui-radius); background: #fff; }
.fp-doc iframe { background: var(--ui-surface); }
.fp-video { display: block; width: 100%; max-height: calc(75 * var(--ui-vh, 1vh)); border-radius: var(--ui-radius); background: #000; }
.fp-audio { display: grid; justify-items: center; gap: 12px; padding: 24px 0; }
.fp-audio__art { width: 120px; height: 120px; border-radius: var(--ui-radius-lg); display: grid; place-items: center; font-size: 3rem; background: var(--ui-accent-dim); color: var(--ui-accent-link); }
.fp-audio__name { margin: 0; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.fp-audio audio { width: 100%; }
.fp-text { margin: 0; padding: 16px; border-radius: var(--ui-radius); background: var(--ui-surface); color: var(--ui-text); font-size: 0.9rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; max-height: calc(75 * var(--ui-vh, 1vh)); overflow: auto; }
