/* File/report actions only. Shared by the admin shell and the public voucher portal.
   Specificity matches the existing button standard and outranks legacy presentation.
   No rules target save/issue, table export thumbnails, layout containers or inputs. */
html body :is([data-app-button-output],[data-button-output]):not(#ef24-button-scope-0):not(#ef24-button-scope-1):not(#ef24-button-scope-2):not(#ef24-button-scope-3):not(#ef24-button-scope-4) {
    --app-button-bg:#fff;--app-button-fg:var(--app-shell-color,#233d50);--app-button-border:#ccd6e1;
    --app-button-hover-bg:#f0f6fa;--app-button-hover-fg:var(--app-shell-color,#233d50);
    display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
    min-height:var(--app-action-target,36px)!important;padding:7px 14px!important;
    background:#fff!important;color:var(--app-button-fg)!important;border:1px solid #ccd6e1!important;
    border-radius:5px!important;box-shadow:none!important;text-decoration:none!important;
    font-family:inherit;font-size:13px;font-weight:400!important;line-height:20px;
    max-width:100%;vertical-align:middle;white-space:normal;
    transition:background-color .16s ease,border-color .16s ease;
}
html body :is([data-app-button-output],[data-button-output]):not(#ef24-button-scope-0):not(#ef24-button-scope-1):not(#ef24-button-scope-2):not(#ef24-button-scope-3):not(#ef24-button-scope-4):hover:not(:disabled):not([aria-disabled=true]):not(.disabled) {background:#f0f6fa!important;border-color:#9dbfce!important}
html body :is([data-app-button-output],[data-button-output]):focus-visible {outline:3px solid var(--app-focus-color,#005a85);outline-offset:3px}
html body :is([data-app-button-output],[data-button-output]):is(:disabled,[aria-disabled=true],.disabled) {opacity:.55;cursor:not-allowed}
html body :is([data-app-button-output],[data-button-output])[hidden] {display:none!important}
html body :is([data-app-button-output],[data-button-output]) > :is(i,svg,img):not(.fa-caret-down):not(.fa-angle-down):not(.caret):not(.sr-only):not(.visually-hidden) {display:none!important}
html body :is([data-app-button-output],[data-button-output]):not(input)::before {
    content:"";display:inline-block;flex:0 0 20px;width:20px;height:20px;
    background:currentColor;mask:var(--app-output-icon) center/contain no-repeat;
    -webkit-mask:var(--app-output-icon) center/contain no-repeat;pointer-events:none;
}
:is([data-app-button-output=pdf],[data-button-output=pdf]) {--app-output-icon:url('../images/actions/output-pdf.svg')}
:is([data-app-button-output=xml],[data-button-output=xml]) {--app-output-icon:url('../images/actions/output-xml.svg')}
:is([data-app-button-output=zip],[data-button-output=zip]) {--app-output-icon:url('../images/actions/output-zip.svg')}
:is([data-app-button-output=excel],[data-button-output=excel]) {--app-output-icon:url('../images/actions/output-excel.svg')}
:is([data-app-button-output=report],[data-button-output=report]) {--app-output-icon:url('../images/actions/output-report.svg')}
:is([data-app-button-output=download],[data-button-output=download]) {--app-output-icon:url('../images/actions/output-download.svg')}
/* Native inputs cannot render pseudo-elements. Keep the original control and value. */
html body input:is([data-app-button-output],[data-button-output]):not(#ef24-button-scope-0):not(#ef24-button-scope-1):not(#ef24-button-scope-2):not(#ef24-button-scope-3):not(#ef24-button-scope-4) {background-image:var(--app-output-icon)!important;background-position:12px center!important;background-repeat:no-repeat!important;background-size:20px!important;padding-left:40px!important}
@media(prefers-reduced-motion:reduce) {html body :is([data-app-button-output],[data-button-output]) {transition:none}}
