/* Layout shared by both appearances: intrinsic image dimensions never size forms. */
.logo-editor5{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
.logo-editor5>*{min-width:0}.logo-editor5>form{display:grid;gap:10px}.logo-editor5>p{grid-column:1/-1;margin:0}
#company-logo-preview5{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;width:180px!important;height:116px!important;min-height:0!important;max-height:116px!important;overflow:hidden;padding:12px!important;border:1px solid var(--border);border-radius:12px;background:#fff;color:#536274;font-size:12px}
#company-logo-preview5 img{display:block!important;width:auto!important;height:auto!important;max-width:154px!important;max-height:90px!important;object-fit:contain!important}
.logo-editor5 input[type=file]{width:100%;max-width:100%;min-width:0}.logo-editor5 form button,.logo-editor5>button{justify-self:start;align-self:start}
.platform-shell .brand-assets-grid5{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.platform-shell .brand-assets-grid5>section{min-width:0}
.platform-shell .brand-image-preview5{height:110px!important;min-height:0!important;max-height:110px!important;padding:12px!important;overflow:hidden}
.platform-shell .brand-image-preview5 img{width:auto!important;height:auto!important;max-width:min(230px,100%)!important;max-height:84px!important;object-fit:contain!important}
.platform-shell .brand-mini5 .access-brand img{max-width:45%!important;max-height:45px!important;object-fit:contain}
.template-family-note97{align-self:center;margin:0;line-height:1.6}
.template-thumbnail84{height:290px!important;overflow:hidden!important;place-items:center!important}
.template-thumbnail84 canvas{max-height:260px!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain}
@media(max-width:680px){.logo-editor5{grid-template-columns:1fr!important;gap:14px!important}.logo-editor5>p{grid-column:auto}.platform-shell .brand-assets-grid5{grid-template-columns:1fr}.platform-shell .brand-preview-card5{position:static}}
