.vubs-invoice-modal[hidden]{display:none!important}.vubs-invoice-modal,.vubs-invoice-modal *{box-sizing:border-box}.vubs-invoice-modal{position:fixed;inset:0;z-index:1000001;display:flex;align-items:center;justify-content:center;padding:clamp(8px,3vw,24px);font-family:inherit}.vubs-invoice-modal__shade{position:absolute;inset:0;background:rgba(8,23,43,.62);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.vubs-invoice-modal__dialog{position:relative;display:flex;flex-direction:column;width:100%;max-width:860px;height:90vh;max-height:90vh;height:90dvh;max-height:90dvh;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.4)}.vubs-invoice-modal__head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:clamp(10px,2.5vw,13px) clamp(12px,3vw,16px);background:linear-gradient(135deg,#0a4a8f,#0c3a73);color:#fff;flex:none}.vubs-invoice-modal__title{font-size:clamp(16px,3.5vw,18px);font-weight:700;line-height:1.2}.vubs-invoice-modal__actions{display:flex;align-items:center;gap:10px}.vubs-invoice-modal__download{display:inline-flex;align-items:center;gap:5px;background:#b8860b;color:#fff!important;text-decoration:none!important;padding:7px 14px;border-radius:6px;font-size:clamp(12px,2.5vw,14px);font-weight:600;white-space:nowrap;border:0}.vubs-invoice-modal__download:hover{background:#9a7109}.vubs-invoice-modal__close{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;cursor:pointer}.vubs-invoice-modal__close:hover{background:rgba(255,255,255,.32)}.vubs-invoice-modal__close svg{display:block;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.vubs-invoice-modal__body{flex:1;min-height:0;background:#eef2f6;position:relative;overflow:hidden}.vubs-invoice-modal__frame{width:100%;height:100%;display:block;border:0;background:#fff}.vubs-invoice-modal__loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#eef2f6;color:#526578;font-size:14px;pointer-events:none}.vubs-invoice-modal__loading[hidden]{display:none!important}.vubs-invoice-modal__spinner{width:30px;height:30px;border:3px solid #d1deeb;border-top-color:#0a4a8f;border-radius:50%;animation:vubsInvoiceSpin .8s linear infinite}.vubs-invoice-modal__retry{pointer-events:auto;border:1px solid #bdccda;border-radius:6px;padding:6px 12px;color:#0a4a8f;background:#fff;cursor:pointer}.vubs-invoice-modal__head a:focus-visible,.vubs-invoice-modal__head button:focus-visible{outline:2px solid #fff;outline-offset:3px}@keyframes vubsInvoiceSpin{to{transform:rotate(360deg)}}@media(max-width:480px){.vubs-invoice-modal__dialog{height:94vh;max-height:94vh;height:94dvh;max-height:94dvh;border-radius:10px}.vubs-invoice-modal__download{padding:6px 10px}}@media(prefers-reduced-motion:reduce){.vubs-invoice-modal__spinner{animation-duration:1.8s}}
