.mark{width:46px;height:46px;display:grid;place-items:center;flex:0 0 46px;border-radius:0;background:transparent;color:inherit}
.mark img,.loading-mark img,.logo img{display:block;width:100%;height:100%;object-fit:contain}
.brand .mark{width:var(--brand-header-size,69px);height:var(--brand-header-size,69px);flex:0 0 var(--brand-header-size,69px)}
.loading-mark{display:grid;place-items:center;width:var(--brand-loading-size,74px);height:var(--brand-loading-size,74px);margin-bottom:8px;border-radius:0;background:transparent;color:inherit;box-shadow:none;filter:drop-shadow(0 14px 20px rgba(0,0,0,.28))}
.canvas-wrap.is-error .loading-mark{background:transparent;opacity:.62}
.auth-shell>.logo{display:grid;place-items:center;width:var(--brand-login-size,96px);height:var(--brand-login-size,96px);margin:0 auto 25px;text-decoration:none;filter:drop-shadow(0 18px 24px #0007);font:inherit}
header{height:var(--brand-header-height,88px)}
img[data-brand-logo="dark"]{display:none}
html[data-theme="dark"] img[data-brand-logo="light"]{display:none}
html[data-theme="dark"] img[data-brand-logo="dark"]{display:block}
.brand-preview img[data-brand-logo]{display:block!important}
@media(max-width:700px){
  header{height:auto;min-height:0;padding:10px 14px 12px;flex-direction:column;align-items:stretch;gap:8px}
  .brand{align-self:center;max-width:100%;min-width:0;gap:10px;line-height:1.35;white-space:nowrap}
  .brand>span:last-child,.brand small{white-space:nowrap}
  .brand .mark{width:min(var(--brand-header-size,69px),69px);height:min(var(--brand-header-size,69px),69px);flex-basis:min(var(--brand-header-size,69px),69px)}
  .header-actions{width:100%;justify-content:center;flex-wrap:wrap}
  .loading-mark{width:min(var(--brand-loading-size,74px),74px);height:min(var(--brand-loading-size,74px),74px)}
  .auth-shell>.logo{width:min(var(--brand-login-size,96px),96px);height:min(var(--brand-login-size,96px),96px)}
  .brand-preview img{width:min(var(--brand-login-size,96px),96px);height:min(var(--brand-login-size,96px),96px)}
  .studio{margin-top:8px!important}
}
