/* Use the white-Q variant on dark app chrome; preserve the red S. */
.sq-brand-mark{display:block;width:40px;height:40px;max-width:none;object-fit:contain;flex:none;box-sizing:content-box}
#headerCompanyName{display:flex;align-items:center;gap:10px;max-width:none;overflow:visible;line-height:1}
body>header .sq-brand-mark{padding:5px;background:transparent;border-radius:0}
#headerCompanyName .sq-brand-context{order:1;font-size:13px;font-weight:650;letter-spacing:0}
#headerCompanyName .header-demo-badge{order:2;position:static;align-self:center;margin:0}
.auth-logo .sq-brand-mark{width:64px;height:64px;margin-bottom:12px}
.company-onboarding-topbar .auth-logo .sq-brand-mark{width:48px;height:48px;margin-bottom:0}
.sq-workspace-brand{display:flex;align-items:center;gap:12px}
.sq-report-brand{display:inline-flex;flex-direction:column;gap:5px}
.sq-report-brand .sq-brand-mark{padding:0;background:transparent}
@media(max-width:600px){body>header .sq-brand-mark{width:32px;height:32px;padding:4px}#headerCompanyName{max-width:none!important;gap:7px}#headerCompanyName .sq-brand-context{font-size:12px}.auth-logo .sq-brand-mark{width:56px;height:56px}}


/* Match My Work page gutters in both the app and Backoffice shell. */
body>header{padding-left:clamp(20px,2vw,36px)!important;padding-right:clamp(20px,2vw,36px)!important}
body>header .sq-brand-mark{padding:0}
@media(max-width:600px){body>header{padding-left:14px!important;padding-right:14px!important}}

.field-install #workspaceSwitch,.field-install .settings-nav-wrap,.field-install .field-sq-intelligence[hidden]{display:none!important}
@media(max-width:700px){.field-install body>header{display:flex!important;flex-flow:row nowrap!important;align-items:center;justify-content:space-between;gap:8px;padding-block:4px!important;min-height:0!important}.field-install body>header>.app-company-brand,.field-install body>header>.account-area{width:auto!important;flex:0 1 auto!important;margin:0!important}.field-install body>header>.account-area{margin-left:auto!important}}
.field-sq-intelligence[hidden],.property-sq-overview[hidden]{display:none!important}
