/* BackTax 1.38.2 — the logo: mascot (transparent PNG) + « BackTax » as text in the brand font (Inter ExtraBold, only the
   letters of the name; SIL Open Font License, see brand/INTER-LICENSE.txt). Never a baked-in wordmark.
   Colours: dark text on light backgrounds, light text on dark ones. Contrast on the darkest / lightest surface used:
   #10243f on #ffffff 15.8:1, #1554c0 on #ffffff 6.6:1 (light theme); #f2f6fc on #070d1a 18.6:1, #ffd84a on #070d1a 13.7:1 (dark). */
@font-face{font-family:'BackTax Wordmark';src:url('brand/backtax-wordmark.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
.bt-logo{--bt-logo-ink:#10243f;--bt-logo-accent:#1554c0;--bt-logo-sub:#4b5d77;
 display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px calc(var(--bt-logo-size,40px) * .22);min-width:0;max-width:100%;
 color:var(--bt-logo-ink)!important;text-decoration:none!important;line-height:1;white-space:nowrap;vertical-align:middle}
.bt-logo-mark{flex:none;display:block;width:var(--bt-logo-size,40px)!important;height:var(--bt-logo-size,40px)!important;max-width:none!important;max-height:none!important;
 object-fit:contain!important;border-radius:0!important;background:transparent!important;margin:0!important;box-shadow:none!important}
.bt-logo-word{font-family:'BackTax Wordmark',Inter,'Segoe UI',Roboto,system-ui,sans-serif;font-weight:800;letter-spacing:-.02em;
 font-size:calc(var(--bt-logo-size,40px) * .62);color:var(--bt-logo-ink)!important}
.bt-logo-tax{color:var(--bt-logo-accent)!important}
.bt-logo-sub{font:500 calc(var(--bt-logo-size,40px) * .36)/1.2 system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;color:var(--bt-logo-sub)!important;letter-spacing:0}
/* dark theme: system preference (unless the person chose light) or explicit choice */
@media (prefers-color-scheme:dark){html:not([data-bt-theme="light"]) .bt-logo--auto{--bt-logo-ink:#f2f6fc;--bt-logo-accent:#ffd84a;--bt-logo-sub:#c4cee0}}
html[data-bt-theme="dark"] .bt-logo--auto{--bt-logo-ink:#f2f6fc;--bt-logo-accent:#ffd84a;--bt-logo-sub:#c4cee0}
/* fixed surfaces */
.bt-logo--dark{--bt-logo-ink:#f2f6fc;--bt-logo-accent:#ffd84a;--bt-logo-sub:#c8d3e4}
.bt-logo--light{--bt-logo-ink:#10243f;--bt-logo-accent:#1554c0;--bt-logo-sub:#4b5d77}
a.bt-logo:focus-visible{outline:3px solid currentColor;outline-offset:3px;border-radius:6px}
@media (max-width:420px){.bt-logo-sub{display:none}}
/* never wider than its box: when the name and the sub-label do not fit on one line, the sub-label goes to the next one */
@media print{.bt-logo{--bt-logo-ink:#10243f;--bt-logo-accent:#1554c0}}
