/* The wordmark contains the owner's original A. Keep the pale backing on dark surfaces. */
.agusto-logo{display:inline-flex!important;width:66px!important;height:38px!important;flex:0 0 66px!important;align-items:center;justify-content:center;vertical-align:middle;background:#fff;border:0!important;border-radius:3px;padding:0!important;margin:0!important;line-height:0!important}
.agusto-logo>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;object-fit:contain;filter:none!important;transform:none!important}
header .brand,header .agusto-brand,header>a:has(>.agusto-logo){display:inline-flex;align-items:center;gap:12px;text-decoration:none}
header .brand-caption{font:500 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft JhengHei",sans-serif!important;letter-spacing:0!important;white-space:normal;border:0!important;padding:0!important}
header:has(>.agusto-brand){align-items:center;flex-wrap:wrap;background:#fff;color:#1d1d1f}
header:has(>.agusto-brand)>.brand-caption{margin-right:auto}
.salary-sheet-head .agusto-logo,.payroll-review-dialog .agusto-logo{margin-bottom:8px!important}
@media(max-width:800px){.agusto-logo{width:56px!important;height:32px!important;flex-basis:56px!important}header .brand,header>a:has(>.agusto-logo){gap:8px!important}header .brand-caption{max-width:145px}}
@media print{.agusto-logo{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
/* Align the Chinese title with the ink baseline of PEX; the taller A stays intact. */
.site-header .brand{--apex-width:66px}
.site-header .brand>.brand-caption{transform:translateY(calc(var(--apex-width) * .258 - .44em));white-space:nowrap}
@media(max-width:800px){.site-header .brand{--apex-width:56px}}
