.r40-ticket-invoice{padding:14px 0 4px;margin-top:16px;border-top:1px solid #e0e5eb;color:#203045}
.r40-ticket-invoice h2{font-size:16px!important;line-height:1.3;margin:0 0 6px!important}
.r40-ticket-invoice>strong{display:block;font-size:13px;overflow-wrap:anywhere}
.r40-ticket-invoice p{font-size:13px;line-height:1.45;margin:6px 0 10px}
.r40-ticket-invoice p[data-error=true]{color:#8b3541}
.r40-invoice-actions{display:flex;flex-wrap:wrap;gap:8px}
.r40-invoice-actions button{min-height:42px;padding:8px 14px;border:1px solid #cdd7e2;border-radius:12px;background:#fff;color:var(--triq-nav-accent,#073779);font:inherit;font-size:14px;font-weight:600}
.r40-invoice-actions button:disabled{opacity:.6}
.r40-invoice-actions button[hidden]{display:none!important}
dialog.r40-invoice-preview{width:calc(100% - 24px);max-width:850px;height:calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:18px;background:#fff}
.r40-invoice-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #dde3eb}
.r40-invoice-preview header strong{font-size:14px;overflow-wrap:anywhere}
.r40-invoice-preview header button{padding:10px;border:0;border-radius:10px;background:#eef2f7;color:#173654;font-size:14px;min-height:42px}
.r40-invoice-preview iframe{display:block;width:100%;height:calc(100% - 68px);border:0;background:#f3f5f8}
