.helionos-pdf-dialog{position:fixed;inset:0;margin:auto;width:min(calc(100vw - 2rem),90rem);height:min(92dvh,62rem);max-width:100vw;max-height:100dvh;padding:0;overflow:hidden;border:1px solid var(--border);border-radius:1rem;background:var(--background);color:var(--foreground);font-family:var(--font-sans)}.helionos-pdf-dialog[open]{display:flex;flex-direction:column}.helionos-pdf-dialog::backdrop{background:#0d203499}.helionos-pdf-dialog header{display:flex;align-items:center;gap:.7rem;padding:.75rem 1rem;background:var(--surface-tint);border-bottom:1px solid var(--border)}.helionos-pdf-icon{flex:none;width:2.5rem;height:2.5rem;padding:.55rem;border-radius:.65rem;color:var(--link);background:var(--background)}.helionos-pdf-dialog header strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1.15rem;letter-spacing:-.03em}.helionos-pdf-dialog header :is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.5rem;min-width:2.5rem;border-radius:2rem;cursor:pointer}.helionos-pdf-dialog header a{padding-inline:.85rem;color:var(--link);background:var(--background);font-weight:650}.helionos-pdf-dialog header :is(button,a):hover{background:var(--muted)}.helionos-pdf-dialog :focus-visible{outline:2px solid var(--link);outline-offset:2px}.helionos-pdf-body{overflow:auto;flex:1;min-height:0;background:var(--muted)}.helionos-pdf-body p{padding:1rem}.helionos-pdf-body iframe{width:100%;height:100%;border:0}.helionos-pdf-mobile{display:none}@media(max-width:640px){.helionos-pdf-dialog{width:100vw;height:100dvh;border:0;border-radius:0}.helionos-pdf-dialog header{gap:.45rem;padding:.6rem}.helionos-pdf-dialog header a{padding-inline:.6rem}.helionos-pdf-dialog header a span{display:none}.helionos-pdf-body .has-mobile-preview{display:none}.helionos-pdf-mobile{display:block;text-align:center;padding:.5rem;color:var(--link)}.helionos-pdf-mobile img{width:100%;margin:1rem 0}}
