.brand-mark img,
.auth-brand > span img,
.admin-brand > span img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-mark:has(img),
.auth-brand > span:has(img),
.admin-brand > span:has(img) {
    background: transparent;
    clip-path: none;
}

.brand-mark:has(img) { width: 62px; height: 80px; }
.auth-brand > span:has(img) { width: 56px; height: 68px; }
.admin-brand > span:has(img) { width: 34px; height: 42px; }
.logo-settings { margin-bottom: 20px; }
.logo-settings-grid { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; margin-top: 18px; }
.logo-preview { height: 190px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #f7f9f9; }
.logo-preview img { max-width: 150px; max-height: 170px; object-fit: contain; }
.inline-danger-form { margin-top: 16px; }
.inline-danger-form .danger-link { padding: 7px 0; }

@media (max-width: 600px) {
    .brand-mark:has(img) { width: 48px; height: 62px; }
    .logo-settings-grid { grid-template-columns: 1fr; }
}
