.pdf-toolbar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;padding:8px}.pdf-toolbar button,.pdf-toolbar select{min-height:40px;padding:6px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#18362e;font:inherit;cursor:pointer}.pdf-toolbar button:disabled{opacity:.45}.pdf-toolbar input[type=color]{width:40px;height:40px}.pdf-toolbar+span{display:block;font-size:12px;padding:4px 10px;color:#52655c}.pdf-dialog{width:94vw;max-width:1500px;height:94dvh;padding:0;border:0;border-radius:12px;background:#f8fafc;color:#182b29}.pdf-dialog::backdrop{background:#0009}.pdf-dialog[open]{display:flex;flex-direction:column}.pdf-dialog header{display:flex;justify-content:space-between;gap:12px;padding:12px}.pdf-dialog header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-dialog header button{min-height:40px}.pdf-content{flex:1;min-height:0;overflow:auto;background:#cbd5e1}.pdf-page canvas{display:block}#viewer-body:has(.pdf-page){display:block;overflow:auto;background:#cbd5e1;padding:0}@media(max-width:600px){.pdf-toolbar{gap:4px;padding:4px}.pdf-toolbar button,.pdf-toolbar select{font-size:12px;min-height:42px;padding:5px 7px}.pdf-toolbar+span{font-size:11px}.pdf-dialog{width:100vw;height:100dvh;max-height:100dvh;border-radius:0}}
