.invoice-preview{margin-top:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow:hidden}.invoice-preview header{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:16px;background:var(--accent-bg)}.invoice-preview header strong{flex:1;min-width:160px}.invoice-preview header a,.invoice-preview header button{min-height:44px}.invoice-preview-pages{padding:20px;max-height:80vh;overflow:auto;background:var(--panel-2)}.invoice-preview figure{margin:0 auto 20px;max-width:893px}.invoice-preview img{display:block;width:100%;height:auto;background:#fff;box-shadow:0 2px 12px #0002}.invoice-preview figcaption{text-align:center;margin-top:8px;font-size:13px;color:var(--muted)}@media(max-width:600px){.invoice-preview-pages{padding:8px}.invoice-preview header{padding:12px}.invoice-preview header strong{flex-basis:100%}.invoice-preview header a{flex:1}.invoice-preview figure{margin-bottom:14px}}

.invoice-preview-zoom{display:flex;gap:12px;align-items:center;padding:12px;flex-wrap:wrap}.invoice-preview-zoom button{min-width:44px;min-height:44px}.invoice-preview[data-zoom="150"] figure{width:150%;max-width:none}.invoice-preview[data-zoom="200"] figure{width:200%;max-width:none}.invoice-preview[data-zoom="250"] figure{width:250%;max-width:none}
